Message111952
The error happens when Null is passed to strlen in (unicodeobject.c, line 860)
Passing NULL to a string format function is probably in the category of don't do that.
Stefans solution of checking for NULL before calling PyErr_Format looks to me to be correct. As he notes, the same technique is used in another place.
It might be good to add a note somewhere not to pass NULL to C string format functions. |
|
Date |
User |
Action |
Args |
2010-07-29 15:37:11 | ron_adam | set | recipients:
+ ron_adam, pitrou, benjamin.peterson, skrah |
2010-07-29 15:37:11 | ron_adam | set | messageid: <1280417831.58.0.237064631971.issue9319@psf.upfronthosting.co.za> |
2010-07-29 15:37:00 | ron_adam | link | issue9319 messages |
2010-07-29 15:37:00 | ron_adam | create | |
|