Message72005
The following code leads to XXX Undetected errors in debug builds of
trunk and 3.0:
import _struct
_struct.pack_into(b"8", bytearray(1), None)
Besides that, there's something fishy happening in non-debug builds:
2.6:
>>> _struct.pack_into(b"8", bytearray(1), None);
>>> _struct.pack_into(b"8", bytearray(1), None);
>>> import sys
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: an integer is required
3.0:
>>> _struct.pack_into(b"8", bytearray(1), None)
>>> _struct.pack_into(b"8", bytearray(1), None)
SystemError: Objects/longobject.c:433: bad argument to internal function
Found with Fusil. |
|
Date |
User |
Action |
Args |
2008-08-27 04:29:53 | ajaksu2 | set | recipients:
+ ajaksu2 |
2008-08-27 04:29:52 | ajaksu2 | set | messageid: <1219811392.29.0.37826020023.issue3694@psf.upfronthosting.co.za> |
2008-08-27 04:29:50 | ajaksu2 | link | issue3694 messages |
2008-08-27 04:29:48 | ajaksu2 | create | |
|