Message257403
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:29 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, vstinner, r.david.murray, benhoyt, xdegaye |
2016-01-03 08:23:29 | serhiy.storchaka | set | messageid: <1451809409.62.0.362631356509.issue25596@psf.upfronthosting.co.za> |
2016-01-03 08:23:29 | serhiy.storchaka | link | issue25596 messages |
2016-01-03 08:23:29 | serhiy.storchaka | create | |
|