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 eric.araujo
Recipients Mateusz Kurek, docs@python, eric.araujo
Date 2017-10-27.17:52:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1509126761.99.0.213398074469.issue31871@psf.upfronthosting.co.za>
In-reply-to
Content
> support passing file descriptor instead of a path. os.path functions

Are you sure about that?  The docs for os.stat show the dir_fd parameter, used to avoid directory renaming issues or attacks, but it doesn’t say that the *path* argument can be an int file descriptor instead of a str file path.
History
Date User Action Args
2017-10-27 17:52:42eric.araujosetrecipients: + eric.araujo, docs@python, Mateusz Kurek
2017-10-27 17:52:41eric.araujosetmessageid: <1509126761.99.0.213398074469.issue31871@psf.upfronthosting.co.za>
2017-10-27 17:52:41eric.araujolinkissue31871 messages
2017-10-27 17:52:41eric.araujocreate