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 mark.dickinson
Recipients benjamin.peterson, doerwalter, mark.dickinson
Date 2010-02-24.21:57:54
SpamBayes Score 9.85936e-06
Marked as misclassified No
Message-id <1267048676.27.0.813909013479.issue8014@psf.upfronthosting.co.za>
In-reply-to
Content
Here's a patch that raises TypeError if either PyLongAs_Size_t or PyLong_As_Ssize_t gets called with a valid non-integer PyObject *.

I'm not sure where the most appropriate place for a test is.
History
Date User Action Args
2010-02-24 21:57:56mark.dickinsonsetrecipients: + mark.dickinson, doerwalter, benjamin.peterson
2010-02-24 21:57:56mark.dickinsonsetmessageid: <1267048676.27.0.813909013479.issue8014@psf.upfronthosting.co.za>
2010-02-24 21:57:54mark.dickinsonlinkissue8014 messages
2010-02-24 21:57:54mark.dickinsoncreate