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 eric.snow
Recipients Arfrever, eric.snow, skrah, yselivanov
Date 2015-06-02.01:08:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1433207300.9.0.343771493526.issue24347@psf.upfronthosting.co.za>
In-reply-to
Content
Using PyDict_GetItemWithError() is a good idea.  Also, raising KeyError when the value is NULL (and no errors set) eliminates the crash.  Here's a patch that fixes the problem.  Unless there are any objections, I'll commit it in a couple hours.
History
Date User Action Args
2015-06-02 01:08:20eric.snowsetrecipients: + eric.snow, Arfrever, skrah, yselivanov
2015-06-02 01:08:20eric.snowsetmessageid: <1433207300.9.0.343771493526.issue24347@psf.upfronthosting.co.za>
2015-06-02 01:08:20eric.snowlinkissue24347 messages
2015-06-02 01:08:20eric.snowcreate