Re: [Python-Dev] Change PEP 399 import recommendation

2013年10月12日 14:38:22 -0700

Am 12.10.2013 19:02, schrieb Antoine Pitrou:
> If you grow sys.path, imports get slower.
> (IMHO it also makes the source tree more cumbersome to navigate)
It shouldn't slow down successful imports. The module finder stops at
first hit.
A directory with pure Python modules is less cumbersome than a couple of
facade modules or intended code in try/except ImportError blocks.
_______________________________________________
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to