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 belopolsky
Recipients belopolsky, eli.bendersky, georg.brandl, ncoghlan, terry.reedy
Date 2010-10-05.16:59:16
SpamBayes Score 0.018163448
Marked as misclassified No
Message-id <1286297959.57.0.773916544612.issue9325@psf.upfronthosting.co.za>
In-reply-to
Content
I am afraid, for ordinary scripts these modules effectively use option 3.  I think these modules should remove its own scaffolding from "real" __main__ before loading any traced code.  I am not sure how this can be achieved, though.
History
Date User Action Args
2010-10-05 16:59:19belopolskysetrecipients: + belopolsky, georg.brandl, terry.reedy, ncoghlan, eli.bendersky
2010-10-05 16:59:19belopolskysetmessageid: <1286297959.57.0.773916544612.issue9325@psf.upfronthosting.co.za>
2010-10-05 16:59:17belopolskylinkissue9325 messages
2010-10-05 16:59:16belopolskycreate