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 ot
Recipients amaury.forgeotdarc, benjamin.peterson, ot
Date 2008-11-20.19:08:31
SpamBayes Score 5.913589e-09
Marked as misclassified No
Message-id <1227208113.54.0.0224885751405.issue4367@psf.upfronthosting.co.za>
In-reply-to
Content
@amaury: Yes, this is exactly what I noticed. I didn't know how to create 
an instance of a PyUnicodeErrorObject. BTW, isn't PyErr_SetString used 
throughout the code? Should all those calls replaced with PyErr_SetObject?

@benjamin: The bug can be easily reproduced:
brian:tmp ot$ echo 'raise Exception()' > unicodedata.py
brian:tmp ot$ python2.6 -c "print u'\N{SOFT HYPHEN}'"
Segmentation fault

I don't know if this can be used as an unit test.
History
Date User Action Args
2008-11-20 19:08:33otsetrecipients: + ot, amaury.forgeotdarc, benjamin.peterson
2008-11-20 19:08:33otsetmessageid: <1227208113.54.0.0224885751405.issue4367@psf.upfronthosting.co.za>
2008-11-20 19:08:32otlinkissue4367 messages
2008-11-20 19:08:31otcreate