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, brett.cannon, dalcinl
Date 2008-08-22.15:03:09
SpamBayes Score 1.7829694e-06
Marked as misclassified No
Message-id <1219417392.2.0.366920074146.issue3639@psf.upfronthosting.co.za>
In-reply-to
Content
Brett,
I don't think I know C (and CPython) enough to fix this. I was able to
get rid of this specific segfault with this:

-            const char *text_char = _PyUnicode_AsString(text);
+            const char *text_char =
_PyUnicode_AsString(PyObject_Str(text));

But I have no idea whether I should also incref/decref the PyObject_Str.
History
Date User Action Args
2008-08-22 15:03:12ajaksu2setrecipients: + ajaksu2, brett.cannon, dalcinl
2008-08-22 15:03:12ajaksu2setmessageid: <1219417392.2.0.366920074146.issue3639@psf.upfronthosting.co.za>
2008-08-22 15:03:11ajaksu2linkissue3639 messages
2008-08-22 15:03:11ajaksu2create