Message358686
PR in attachment adds a new dirfd() method to the scandir() object (POSIX only). This can be be passed to os.* functions supporting the "dir_fd" parameter, and avoid opening a new fd as in:
>>> dirfd = os.open("basename", os.O_RDONLY, dir_fd=topfd)
At the moment I am not sure if it's possible to also support Windows. |
|
Date |
User |
Action |
Args |
2019-12-19 18:29:01 | giampaolo.rodola | set | recipients:
+ giampaolo.rodola |
2019-12-19 18:29:01 | giampaolo.rodola | set | messageid: <1576780141.57.0.935904677179.issue39099@roundup.psfhosted.org> |
2019-12-19 18:29:01 | giampaolo.rodola | link | issue39099 messages |
2019-12-19 18:29:01 | giampaolo.rodola | create | |
|