This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients ncoghlan, serhiy.storchaka, socketpair, ukarroum
Date 2022-03-09.14:28:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1646836085.69.0.479924370471.issue25927@roundup.psfhosted.org>
In-reply-to
Content
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?
History
Date User Action Args
2022-03-09 14:28:05serhiy.storchakasetrecipients: + serhiy.storchaka, ncoghlan, socketpair, ukarroum
2022-03-09 14:28:05serhiy.storchakasetmessageid: <1646836085.69.0.479924370471.issue25927@roundup.psfhosted.org>
2022-03-09 14:28:05serhiy.storchakalinkissue25927 messages
2022-03-09 14:28:05serhiy.storchakacreate