Steve Dower added the comment:

The ._pth file is certainly not meant to cover beginner scenarios. But with 
that list of paths you should get almost exactly the same sys.path by default.

Modifying a module's __path__ will only affect that module (and imports via 
that module), whereas sys.path affects your entire program. Adding an empty 
string to either should give you the default behavior back, but this is 
specifically not supported by ._pth.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue29578>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to