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 <1451809409.62.0.362631356509.issue25596@psf.upfronthosting.co.za>
In-reply-to
Content
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).
History
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: <1451809409.62.0.362631356509.issue25596@psf.upfronthosting.co.za>
2016-01-03 08:23:29serhiy.storchakalinkissue25596 messages
2016-01-03 08:23:29serhiy.storchakacreate