Antoine Pitrou pit...@free.fr added the comment:
Committed in r88625. Thank you!
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10755
Martin v. Löwis mar...@v.loewis.de added the comment:
What's the use case for this function?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10755
___
Ross Lagerwall rosslagerw...@gmail.com added the comment:
When maintaining an fd to implement a per thread current directory, you can use
it to get a list of files in the directory.
For security reasons, instead of a named path, you can keep an fd to a
directory so that if the path is changed
Ross Lagerwall rosslagerw...@gmail.com added the comment:
Hi,
Attached is a slightly updated patch that improves doc and changes fdlistdir to
always return strings, not bytes.
--
Added file: http://bugs.python.org/file20145/i10755.patch
___
Python
New submission from Ross Lagerwall rosslagerw...@gmail.com:
Along with #4761, the *at wrappers, it would be nice to have a patch adding the
use of fdopendir.
This patch adds a function fdlistdir, a unittest and documentation.
--
components: Extension Modules
files: i_fdlistdir.patch