On Mon, Nov 28, 2016 at 9:14 AM, Nathaniel Smith <n...@pobox.com> wrote:

> Also note that in Guido's option 2, we only incur the extra fstat calls if
> the import would otherwise fail. In option 1, there are extra fstat calls
> (and thus disk seeks etc.) adding some overhead to every import.


Oh, that's an important consideration! Yes, adding .missing.py to the list
of extensions would cause extra stat() calls and potentially slow down
every import.

-- 
--Guido van Rossum (python.org/~guido)
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to