Doug Hellmann <doug.hellm...@gmail.com> added the comment:

Adding a print to the site.py in Distribute's egg shows it is being run when I 
use 'python -m site'.  However, when I run 'python -c "import site; print 
site.__file__"' I get the version from the stdlib, as expected.

I guess the module finding mechanism for -m is different from the import code?

----------

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

Reply via email to