(original) (raw)


On 4/4/06, Thomas Wouters <thomas@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@python.org>

Hi! I'm a .signature virus! copy me into your .signature file to help me spread!