[issue5258] addpackage in site.py fails hard on badly formed .pth files

James Wheare report at bugs.python.org
Sat Feb 14 13:41:01 CET 2009


James Wheare <james at wheare.org> added the comment:

To clarify, the exception doesn't interrupt the interpreter, but the 
only indication of a problem is the following message:

'import site' failed; use -v for traceback

And you're then unable to import modules from site-packages.

Also, here's a clickable link to the blog post with more details:

http://tinyurl.com/dnlepc

(rather aggressive line length enforcement going on here...)

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


More information about the Python-bugs-list mailing list