Larry Hastings <la...@hastings.org> added the comment:

> Is there anything you want to do on a "directory fd"
> except listing its contents?

In the first message in this bug, I wrote: "With the recent spate of POSIX 
*at() functions added to os, we now have a bunch of places in the API that take 
directory fds."  To be specific:  faccessat, fchmodat, fchownat, fstatat, 
futimesat, linkat, mkdirat, mknodat, openat, readlinkat, renameat, symlinkat, 
unlinkat, utimensat, mkfifoat.

At the time I created this ticket I didn't realize you could just call open() 
on a directory.  It seem that works fine and is supported everywhere that these 
*at functions exist, so perhaps it's best if we just close this ticket.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue12898>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to