This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author chuck
Recipients barry, chuck, exarkun, georg.brandl, gregory.p.smith, ivank, loewis, pitrou
Date 2009-09-29.19:28:44
SpamBayes Score 3.398783e-06
Marked as misclassified No
Message-id <>
I fixed the array_ass_slice for python 2.7 in the attached patch.

The problem should apply to python 3k as well: firstly the above which 
might stay unnoticed and secondly the function moves to much memory if the 
array size is increased: (Py_SIZE(a)-d-ihigh) items should be moved, 
because Py_SIZE(a) was already modified by array_resize, but the function 
moves (Py_SIZE(a)-ihigh) items.

The attached patch for python 2.7 passes all unit tests for me.
Date User Action Args
2009-09-29 19:28:50chucksetrecipients: + chuck, loewis, barry, georg.brandl, gregory.p.smith, exarkun, pitrou, ivank
2009-09-29 19:28:50chucksetmessageid: <>
2009-09-29 19:28:47chucklinkissue6071 messages
2009-09-29 19:28:47chuckcreate