gumpy <[EMAIL PROTECTED]> added the comment:

I've found that arrays from the array module have similar issues:

>>> a = array.array('i', range(2))
>>> m = memoryview(a)
>>> bytes(m)
b'\x00\x00\x00\x00\x01\x00\x00\x00'
>>> a.pop(0)
0
>>> bytes(m)
b'\x01\x00\x00\x00\x01\x00\x00\x00'

_______________________________________
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue4509>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to