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

Malcolm Smith report at bugs.python.org
Tue May 29 10:08:54 EDT 2018


Malcolm Smith <malcolm.smith at gmail.com> added the comment:

> I'm not aware of any such issue with .pth files - the underscore in ._pth is deliberate.

An identical issue *does* exist for .pth files. As you can see from examining site.addpackage, it does not ignore blank lines as the documentation says. Ammar's patch should also be applied.

----------
nosy: +Malcolm Smith

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


More information about the Python-bugs-list mailing list