Evgeny Kapun added the comment:

1. Yes, it's possible to emulate dir_fd this way, so this is just for 
convenience.
2. If follow_symlinks is False, O_NOFOLLOW is passed to the underlying open(2) 
syscall. Of course, this doesn't make sense if a file descriptor is passed 
already.

----------

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

Reply via email to