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

2008-12-18 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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 rep...@bugs.python.org

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

2008-12-16 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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 rep...@bugs.python.org

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

2008-12-16 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +teoliphant ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4583 ___ ___ Python-bugs-list mailing

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

2008-12-13 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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

[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 array import array a