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 zseil
Recipients
Date 2007-04-15.18:39:32
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Wouldn't it be better for trace.main() to call
Tracer.runctx() instead of Tracer.run()?  That
way you could use a copy of __main__.__dict__
for locals and globals and overwrite the filename
there.  Note that your solution would still report
the wrong filename if someone called tracer.main()
from his own main script.
History
Date User Action Args
2007-08-23 14:52:48adminlinkissue1690103 messages
2007-08-23 14:52:48admincreate