Author Jim.Jewett
Recipients Jim.Jewett
Date 2015-05-24.04:49:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1432442952.38.0.376658937682.issue24274@psf.upfronthosting.co.za>
In-reply-to
Content
https://hg.python.org/cpython/file/2df7c958974e/Objects/dictobject.c#l451

The comments near lookdict suggest that specialized versions such as lookdict_unicode and lookdict_unicode_nodummy cannot return NULL, as that would indicate an Exception was raised during comparison.

They can return NULL, because if the *search* key is not unicode, they replace themselves with the generic lookdict and then return its result, which may be NULL.
History
Date User Action Args
2015-05-24 04:49:12Jim.Jewettsetrecipients: + Jim.Jewett
2015-05-24 04:49:12Jim.Jewettsetmessageid: <1432442952.38.0.376658937682.issue24274@psf.upfronthosting.co.za>
2015-05-24 04:49:12Jim.Jewettlinkissue24274 messages
2015-05-24 04:49:11Jim.Jewettcreate