Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:
There are two ways of supporting an open file descriptor to a directory: 1. Accept a file descriptor as the dir argument. 2. Add a new parameter dir_fd; dir will then be a path relative to dir_fd. The original proposition is option 2. PR 31785 implements option 1. I am going to play with the code, implement option 2, and see what is simpler and what is more convenient. Any thoughts or suggestions? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue25927> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com