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.

classification
Title: Docs for PyDict_GetItemWithError() should say it returns a borrowed reference.
Type: Stage: resolved
Components: Documentation Versions: Python 3.7
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: eric.snow Nosy List: eric.snow
Priority: normal Keywords:

Created on 2017-05-25 18:34 by eric.snow, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 1818 merged eric.snow, 2017-05-25 19:31
Messages (1)
msg294506 - (view) Author: Eric Snow (eric.snow) * (Python committer) Date: 2017-05-25 18:34
Per Object/dictobject.c, PyDict_GetItemWithError() returns a borrowed reference.  However, the documentation does not say so.  That should be fixed.
History
Date User Action Args
2022-04-11 14:58:46adminsetgithub: 74660
2017-06-01 18:29:34eric.snowsetstatus: open -> closed
resolution: fixed
stage: needs patch -> resolved
2017-05-25 19:31:18eric.snowsetpull_requests: + pull_request1904
2017-05-25 18:35:57eric.snowsetassignee: eric.snow
stage: needs patch
components: + Documentation
versions: + Python 3.7
2017-05-25 18:34:57eric.snowcreate