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: The docs falsely state that PyImport_ImportFrozenModuleObject() returns a new reference
Type: Stage: patch review
Components: Documentation Versions: Python 3.10, Python 3.9, Python 3.8
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: docs@python Nosy List: ZackerySpytz, docs@python
Priority: normal Keywords: patch

Created on 2021-02-26 09:39 by ZackerySpytz, last changed 2022-04-11 14:59 by admin.

Pull Requests
URL Status Linked Edit
PR 24659 open ZackerySpytz, 2021-02-26 09:42
Messages (1)
msg387716 - (view) Author: Zackery Spytz (ZackerySpytz) * (Python triager) Date: 2021-02-26 09:39
The docs state that PyImport_ImportFrozenModuleObject() returns a new reference,
but it actually returns an int.

https://docs.python.org/3.10/c-api/import.html#c.PyImport_ImportFrozenModuleObject
History
Date User Action Args
2022-04-11 14:59:42adminsetgithub: 87493
2021-02-26 09:42:23ZackerySpytzsetkeywords: + patch
stage: patch review
pull_requests: + pull_request23444
2021-02-26 09:39:06ZackerySpytzcreate