This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author doughellmann
Recipients doughellmann, eric.araujo, ncoghlan, ned.deily, ronaldoussoren
Date 2010-11-01.16:53:18
SpamBayes Score 3.6547943e-05
Marked as misclassified No
Message-id <1288630400.32.0.289364647183.issue10263@psf.upfronthosting.co.za>
In-reply-to
Content
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?
History
Date User Action Args
2010-11-01 16:53:20doughellmannsetrecipients: + doughellmann, ronaldoussoren, ncoghlan, ned.deily, eric.araujo
2010-11-01 16:53:20doughellmannsetmessageid: <1288630400.32.0.289364647183.issue10263@psf.upfronthosting.co.za>
2010-11-01 16:53:19doughellmannlinkissue10263 messages
2010-11-01 16:53:18doughellmanncreate