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 Mateusz Kurek
Recipients Mateusz Kurek, docs@python
Date 2017-10-26.05:33:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1508995993.41.0.213398074469.issue31871@psf.upfronthosting.co.za>
In-reply-to
Content
Since Python 3.3, some os module functions, like os.stat (https://docs.python.org/3/library/os.html#os.stat), support passing file descriptor instead of a path. os.path functions, on the other hand (like os.path.exists - https://docs.python.org/3/library/os.path.html#os.path.exists - or os.path.samefile - https://docs.python.org/3/library/os.path.html#os.path.samefile) mention using os.stat underneath, but according to documentation, does not support passing file descriptor instead of a path (at least it's not mentioned in the docs that this feature is supported). Is this intentional (os.path functions should not take file descriptor params) or this feature is officialy supported, but it's ommited in the docs?
History
Date User Action Args
2017-10-26 05:33:13Mateusz Kureksetrecipients: + Mateusz Kurek, docs@python
2017-10-26 05:33:13Mateusz Kureksetmessageid: <1508995993.41.0.213398074469.issue31871@psf.upfronthosting.co.za>
2017-10-26 05:33:13Mateusz Kureklinkissue31871 messages
2017-10-26 05:33:13Mateusz Kurekcreate