[Python-Dev] Remaining decisions on PEP 471 -- os.scandir()

Ben Hoyt benhoyt at gmail.com
Sun Jul 20 23:34:19 CEST 2014


> Have you tried modifying importlib's _bootstrap.py to use scandir() instead
> of listdir() + stat()?

No, I haven't -- I'm not familiar with that code. What does
_bootstrap.py do -- does it do a lot of listdir calls and stat-ing of
many files?

-Ben


More information about the Python-Dev mailing list