[issue10755] Add posix.fdlistdir

2011-02-25 Thread Antoine Pitrou
Antoine Pitrou added the comment: Committed in r88625. Thank you! -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker ___ __

[issue10755] Add posix.fdlistdir

2010-12-22 Thread Ross Lagerwall
Ross Lagerwall 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 tracker

[issue10755] Add posix.fdlistdir

2010-12-22 Thread Ross Lagerwall
Ross Lagerwall 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 externally while perfor

[issue10755] Add posix.fdlistdir

2010-12-22 Thread Martin v . Löwis
Martin v. Löwis added the comment: What's the use case for this function? -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue10755] Add posix.fdlistdir

2010-12-21 Thread Ross Lagerwall
New submission from Ross Lagerwall : 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 keywords: patch messages: