Message76130
@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. |
|
Date |
User |
Action |
Args |
2008-11-20 19:08:33 | ot | set | recipients:
+ ot, amaury.forgeotdarc, benjamin.peterson |
2008-11-20 19:08:33 | ot | set | messageid: <1227208113.54.0.0224885751405.issue4367@psf.upfronthosting.co.za> |
2008-11-20 19:08:32 | ot | link | issue4367 messages |
2008-11-20 19:08:31 | ot | create | |
|