[issue29326] Blank lines in ._pth file are not ignored

Steve Dower report at bugs.python.org
Wed May 30 12:05:22 EDT 2018


Steve Dower <steve.dower at python.org> added the comment:

The python._pth file generated for the embeddable distribution includes ".", which allows you to import from the dist directory. The blank line should be ignored.

If you want to misuse the embeddable distribution by not restricting its search paths, delete the ._pth file.

----------

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


More information about the Python-bugs-list mailing list