[issue32699] pythonXY._pth : unclear how .pth files are handled

Thomas Kluyver report at bugs.python.org
Sun Jan 28 17:08:09 EST 2018


Thomas Kluyver <thomas at kluyver.me.uk> added the comment:

I'd reword the second sentence like this:

> Note that .pth files (without leading underscore) will be processed only if this file specifies ``import site``.

The current wording sounds (to me) like a guarantee that .pth files will still be handled, despite the other things that this mechanism switches off.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32699>
_______________________________________


More information about the Python-bugs-list mailing list