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 nnorwitz
Recipients
Date 2007-04-18.07:37:17
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Thanks for the bug report Sebastien.

This bug occurs in 2.5 and in the trunk, so it's not a regression.  Thomas, could you take a look?  Integers are specifically allowed here (floats are not).  The problem is when trying to print the repr:

#0  PyString_FromString (str=0x2a <Address 0x2a out of bounds>) at Objects/stringobject.c:108
#1  z_get (ptr=0x2ae1aa9d6450, size=8) at Modules/_ctypes/cfield.c:1373
#2  Simple_get_value (self=0x2ae1aa9d63f8) at Modules/_ctypes/_ctypes.c:4007
#3  Simple_repr (self=0x2ae1aa9d63f8) at Modules/_ctypes/_ctypes.c:4095
#4  PyObject_Repr (v=0x2ae1aa9d63f8) at Objects/object.c:361
History
Date User Action Args
2007-08-23 14:53:10adminlinkissue1701409 messages
2007-08-23 14:53:10admincreate