[issue12797] io.FileIO and io.open should support openat

Antoine Pitrou report at bugs.python.org
Sat Aug 20 23:21:17 CEST 2011

Antoine Pitrou <pitrou at free.fr> added the comment:

> A third idea is to find a way to override the low-level open()
> function (the one that returns a fd).

Why not. It would e.g. allow to use CreateFile under Windows (the hg
guys do this in order to change the "sharing" mode to something more

> openat() seems to exist only on Linux, so I'm -1 on adding new
> parameters to support this function only.

openat() is POSIX:


Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list