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
Python-Dev@python.org
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