[issue4509] bugs in bytearray with exports (buffer protocol)

2008-12-05 Thread gumpy
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' __

[issue4509] bugs in bytearray with exports (buffer protocol)

2008-12-05 Thread gumpy
gumpy <[EMAIL PROTECTED]> added the comment: Sorry, forgot to give this issue a more accurate title earlier. -- title: possible memoryview bug -> bugs in bytearray with exports (buffer protocol) ___ Python tracker <[EMAIL PROTECTED]>