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 belopolsky
Recipients Arfrever, amaury.forgeotdarc, belopolsky, ezio.melotti, lemburg, loewis, ronaldoussoren, vstinner
Date 2010-12-06.18:15:59
SpamBayes Score 3.5661407e-07
Marked as misclassified No
Message-id <1291659362.73.0.867203438619.issue6697@psf.upfronthosting.co.za>
In-reply-to
Content
I am attaching a patch that fixes several instances of unchecked _PyUnicode_AsString() result.  Not all fixes are completely trivial, so I would appreciate a review.

I did not attempt to fix Modules/_gestalt.c because I would like to hear from Ronald first.  (See my previous comment.)

The patch doe not have the unit tests yet, but I reported some test cases above and these should be easy to convert to unit tests.
History
Date User Action Args
2010-12-06 18:16:02belopolskysetrecipients: + belopolsky, lemburg, loewis, ronaldoussoren, amaury.forgeotdarc, vstinner, ezio.melotti, Arfrever
2010-12-06 18:16:02belopolskysetmessageid: <1291659362.73.0.867203438619.issue6697@psf.upfronthosting.co.za>
2010-12-06 18:16:00belopolskylinkissue6697 messages
2010-12-06 18:16:00belopolskycreate