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 gregory.p.smith
Recipients gregory.p.smith, larry, njs, vstinner
Date 2016-01-19.23:25:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1453245935.06.0.871979691941.issue26154@psf.upfronthosting.co.za>
In-reply-to
Content
Overall +1 to this private API.  I like the UncheckedGet name better than FastGet but don't really care what the name is so long as it keeps this property: It must be non-blocking and safe to call from a signal handler.  Returning NULL in the event the value could not be obtained in such a manner is fine (unlikely to happen from the looks of the 3.5 code).

They are private and this fixes the regression in 3.5.1.  people (ab)using these private APIs should be fine writing conditional compilation code to deal with that.

We've got a similar patch on our CPython 2.7 interpreter at work (more complicated as it must do a non-blocking lock acquire in the old 2.7 code).
History
Date User Action Args
2016-01-19 23:25:35gregory.p.smithsetrecipients: + gregory.p.smith, vstinner, larry, njs
2016-01-19 23:25:35gregory.p.smithsetmessageid: <1453245935.06.0.871979691941.issue26154@psf.upfronthosting.co.za>
2016-01-19 23:25:34gregory.p.smithlinkissue26154 messages
2016-01-19 23:25:34gregory.p.smithcreate