homepage

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
Date 2010年10月31日.13:18:41
SpamBayes Score 0.00026545554
Marked as misclassified No
Message-id <1288531123.45.0.881083161674.issue10263@psf.upfronthosting.co.za>
In-reply-to
Content
Running "python -m site" is supposed to print a report about the current import path and its components (like USER_BASE and USER_SITE).
This works under 2.6 and 3.1, but not 2.7. No output is produced under 2.7 at all. 
When I add a print statement to the end of the module, I see that __name__ is set to "site" instead of "__main__", so the _script() function isn't being invoked at all.
History
Date User Action Args
2010年10月31日 13:18:43doughellmannsetrecipients: + doughellmann
2010年10月31日 13:18:43doughellmannsetmessageid: <1288531123.45.0.881083161674.issue10263@psf.upfronthosting.co.za>
2010年10月31日 13:18:42doughellmannlinkissue10263 messages
2010年10月31日 13:18:41doughellmanncreate

AltStyle によって変換されたページ (->オリジナル) /