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 Paul Pinterits
Recipients Paul Pinterits
Date 2018-08-29.17:06:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1535562399.4.0.56676864532.issue34541@psf.upfronthosting.co.za>
In-reply-to
Content
As an afterthought, I'd like to suggest an alternative solution: If changing the `iterdir` behavior is not possible or not desirable for some reason, please add a `Path.listdir` method that returns a list instead of an iterator. Lazy file system operations can often introduce unnecessary race conditions in the code, so I believe it would be very useful if every lazy method had an eager equivalent.
History
Date User Action Args
2018-08-29 17:06:39Paul Pinteritssetrecipients: + Paul Pinterits
2018-08-29 17:06:39Paul Pinteritssetmessageid: <1535562399.4.0.56676864532.issue34541@psf.upfronthosting.co.za>
2018-08-29 17:06:39Paul Pinteritslinkissue34541 messages
2018-08-29 17:06:39Paul Pinteritscreate