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 jankratochvil
Recipients docs@python, jankratochvil
Date 2010-10-09.18:01:58
SpamBayes Score 0.021970116
Marked as misclassified No
Message-id <1286647320.48.0.566967627744.issue10057@psf.upfronthosting.co.za>
In-reply-to
Content
http://docs.python.org/py3k/c-api/object.html
PyObject_GetItem
Return element [...] or NULL on failure.

Found element => return its pointer.
Found no element => return NULL (with no exception set).

But it is unclear whether the function can also:
Error happened => return NULL with an exception set.

It affects multiple versions of the doc, did not check which all.
History
Date User Action Args
2010-10-09 18:02:00jankratochvilsetrecipients: + jankratochvil, docs@python
2010-10-09 18:02:00jankratochvilsetmessageid: <1286647320.48.0.566967627744.issue10057@psf.upfronthosting.co.za>
2010-10-09 18:01:58jankratochvillinkissue10057 messages
2010-10-09 18:01:58jankratochvilcreate