New submission from Daniel Diniz <[EMAIL PROTECTED]>: 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. ---------- components: Extension Modules messages: 72005 nosy: ajaksu2 severity: normal status: open title: Undetected error in _struct.pack_into versions: Python 2.6, Python 3.0 _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3694> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com