[docs] [issue31871] Support for file descriptor params in os.path
Éric Araujo
report at bugs.python.org
Fri Oct 27 13:52:42 EDT 2017
Éric Araujo <merwok at netwok.org> added the comment:
> 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.
----------
nosy: +eric.araujo
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31871>
_______________________________________
More information about the docs
mailing list