[Python-ideas] PEP: Distributing a Subset of the Standard Library

Guido van Rossum guido at python.org
Mon Nov 28 12:28:55 EST 2016


On Mon, Nov 28, 2016 at 9:14 AM, Nathaniel Smith <njs at 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)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20161128/c9491907/attachment-0001.html>


More information about the Python-ideas mailing list