Skip to content

Commit 1fabfcd

Browse files
committed
Add a comment so the non-obvious work around doesn't get housecleaned.
1 parent 9d4909a commit 1fabfcd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

msgpack/fallback.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,7 @@ def feed(self, next_bytes):
297297
self._buff_i -= self._buf_checkpoint
298298
self._buf_checkpoint = 0
299299

300+
# Use extend here: INPLACE_ADD += doesn't reliably typecast memoryview in jython
300301
self._buffer.extend(view)
301302

302303
def _consume(self):

0 commit comments

Comments
 (0)