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 benhoyt, r.david.murray, serhiy.storchaka, vstinner, xdegaye
Date 2016-01-03.08:23:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I think so too. I just wanted someone to confirmed that it is not overcautiousness. For now glob1() is used only in one place in the stdlib (issue16620).

But there was other problem with previous patch, the same as with current implementation of os.walk() (issue25995). It makes glob to use a lot of file descriptors.

Updated patch lefts deprecated glob1() and glob2() and makes glob to consume all scandir iterator before starting to yield values (but the problem with fd leaks on non-refcounted implementations is still left, issue25994). This doesn't affect performance, but lefts the issue with delaying (issue22167).
Date User Action Args
2016-01-03 08:23:29serhiy.storchakasetrecipients: + serhiy.storchaka, vstinner, r.david.murray, benhoyt, xdegaye
2016-01-03 08:23:29serhiy.storchakasetmessageid: <>
2016-01-03 08:23:29serhiy.storchakalinkissue25596 messages
2016-01-03 08:23:29serhiy.storchakacreate