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 ajaksu2
Recipients ajaksu2
Date 2008-08-27.04:29:46
SpamBayes Score 1.7388338e-08
Marked as misclassified No
Message-id <>
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: 

>>> _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

>>> _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:53ajaksu2setrecipients: + ajaksu2
2008-08-27 04:29:52ajaksu2setmessageid: <>
2008-08-27 04:29:50ajaksu2linkissue3694 messages
2008-08-27 04:29:48ajaksu2create