[Python-Dev] Remaining decisions on PEP 471 -- os.scandir() (original) (raw)
Brett Cannon brett at python.org
Mon Jul 21 00:35:48 CEST 2014
- Previous message: [Python-Dev] Remaining decisions on PEP 471 -- os.scandir()
- Next message: [Python-Dev] Remaining decisions on PEP 471 -- os.scandir()
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Oh yes. :) The file Antoine is referring to is the implementation of import.
On Sun, Jul 20, 2014, 17:34 Ben Hoyt <benhoyt at gmail.com> wrote:
> 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
Python-Dev mailing list Python-Dev at python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/ brett%40python.org -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20140720/a0c819dc/attachment.html>
- Previous message: [Python-Dev] Remaining decisions on PEP 471 -- os.scandir()
- Next message: [Python-Dev] Remaining decisions on PEP 471 -- os.scandir()
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]