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

Ammar Askar report at bugs.python.org
Fri Jan 20 20:48:11 EST 2017


Ammar Askar added the comment:

I've attached a patch that makes the site package ignore empty lines in .pth files. Along with a test for this behavior. I'm not really familiar with the site machinery so I hope the test and code are fine.

----------
keywords: +patch
nosy: +ammar2
Added file: http://bugs.python.org/file46365/empty_path.diff

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


More information about the Python-bugs-list mailing list