New submission from Markus F.X.J. Oberhumer :
Python 3.2b2 does not properly support accessing bytearrays from
ctypes, which makes dealing with large buffers somewhat unpleasant.
A very first fix - a simple patch for the z_set() function - is given here.
build/Python-3.2b2 $ quilt diff
Index
New submission from Markus F.X.J. Oberhumer :
Please note that the correct answer is 25, and the last element is missing !
This bug does not show on 64-bit versions (but 46337**2 is near 2**31).
~Markus
C:\Python31>python
Python 3.1rc2 (r31rc2:73414, Jun 13 2009, 16:43:15) [MSC v.1500 32
Markus F.X.J. Oberhumer added the comment:
Many thanks for your quick fix! ~Markus
--
___
Python tracker
<http://bugs.python.org/issue6334>
___
___
Python-bug