[Python-Dev] Twisted and Python 2.5a0r43587 (original) (raw)

Thomas Wouters thomas at python.org
Tue Apr 4 19:45:17 CEST 2006


On 4/4/06, Thomas Wouters <thomas at python.org> wrote:

Oh, goodie, a segmentation fault. Let's see if I can reproduce it ;P

And so I could. test_banana.CananaTestCase.testCrashNegativeLong crashes, because it calls PyString_AsStringAndSize() with an int-ptr as second argument (an adjacent ptr variable becomes garbage.) That's certainly a problem with the Py_ssize_t change. Martin, aren't all output variables (or ptr-variables, rather) supposed to be controlled by the 'PY_SSIZE_T_CLEAN' #define? People aren't going to notice their compiler warnings; I know I didn't :)

-- Thomas Wouters <thomas at python.org>

Hi! I'm a .signature virus! copy me into your .signature file to help me spread! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/python-dev/attachments/20060404/5aa8df81/attachment.htm



More information about the Python-Dev mailing list