[issue15295] Import machinery documentation

Brett Cannon report at bugs.python.org
Tue Jul 31 22:30:13 CEST 2012


Brett Cannon added the comment:

The import path definition is a little misleading as sys.path is only inferred when 'path' has None passed in. Otherwise 'path' is what __path__ in a package is set to, so technically sys.path never even comes into play except by choice from PathFinder as it just chooses to treat None to mean sys.path.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15295>
_______________________________________


More information about the Python-bugs-list mailing list