[issue15295] Import machinery documentation

Barry A. Warsaw report at bugs.python.org
Tue Jul 31 22:43:25 CEST 2012


Barry A. Warsaw added the comment:

On Jul 31, 2012, at 08:30 PM, Brett Cannon wrote:

>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.

Do you think the glossary entry needs to be so precise?  It may be difficult
to explain all that in a concise definition.  Maybe it's best to just remove
the "During import...attribute" bit?

----------

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


More information about the Python-bugs-list mailing list