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.

Unsupported provider

classification
Title: Add a pointer on where to find a better description of PyFile_FromFd arguments
Type: enhancement Stage: patch review
Components: Documentation Versions: Python 3.2, Python 3.3
process
Status: closed Resolution: fixed
Dependencies: 9001 Superseder:
Assigned To: docs@python Nosy List: docs@python, pitrou, renatolfc
Priority: normal Keywords: patch

Created on 2010-06-15 16:46 by renatolfc, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
py3k-pyfile-from-fd-io-module.diff renatolfc, 2010-06-15 16:46 Patch that implements the aforementioned suggestion
Messages (2)
msg107881 - (view) Author: Renato Cunha (renatolfc) * Date: 2010-06-15 16:46
Even though the "File Objects" section in py3k documentation makes it clear that the functions there listed are just wrappers over the io module, it took me a bit to find which function PyFile_FromFd was wrapping.

So, what about making it clear that PyFile_FromFd wraps io.open? The attached patch tries to do that. (It assumes that my previous patch, from issue #9001, will get accepted, as it builds on it.)
msg107888 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2010-06-15 17:33
Same resolution as in #9001. Thanks again.
History
Date User Action Args
2022-04-11 14:57:02adminsetgithub: 53248
2010-06-15 17:33:16pitrousetstatus: open -> closed

nosy: + pitrou
messages: + msg107888

resolution: fixed
2010-06-15 16:48:39ezio.melottisetdependencies: + PyFile_FromFd wrong documentation
stage: patch review
2010-06-15 16:46:55renatolfccreate