[issue4583] segfault when mutating memoryview to array.array when array is resized

2008-12-18 Thread Antoine Pitrou
Antoine Pitrou added the comment: Fixed in r67840. No need to backport to 2.x since the array object there doesn't support the new buffer protocol. -- resolution: -> fixed status: open -> closed ___ Python tracker

[issue4583] segfault when mutating memoryview to array.array when array is resized

2008-12-16 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +teoliphant ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue4583] segfault when mutating memoryview to array.array when array is resized

2008-12-16 Thread Antoine Pitrou
Antoine Pitrou added the comment: Nothing new in this patch except that it fixes the bogus indentation of the previous patch. Added file: http://bugs.python.org/file12367/arraybuf2.patch ___ Python tracker

[issue4583] segfault when mutating memoryview to array.array when array is resized

2008-12-13 Thread Antoine Pitrou
Antoine Pitrou added the comment: Here is a patch for the array module. -- keywords: +needs review, patch nosy: +pitrou priority: -> critical stage: -> patch review Added file: http://bugs.python.org/file12347/arraybuf.patch ___ Python tracker

[issue4583] segfault when mutating memoryview to array.array when array is resized

2008-12-07 Thread gumpy
New submission from gumpy <[EMAIL PROTECTED]>: This is with r67651 and related to #4569, #4509 and possibly #4580. >>> from array import array >>> a = array('i', range(16)) >>> m = memoryview(a) >>> a.extend(array('i', range(48))) >>> m[:] = array('i', range(64)) Segmentation fault >>> from arr