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 ncoghlan
Recipients amaury.forgeotdarc, berker.peksag, gennad, georg.brandl, ncoghlan, oquanox, pitrou, rock
Date 2015-01-24.13:22:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I haven't looked into the details of how cProfile handles command line arguments, but potentially relevant is issue #19982, which proposes adding a "target" parameter that lets runpy run in the context of an existing module object, rather than always creating its own.

However, if this can be implemented without that, go ahead - it can always be refactored later.
Date User Action Args
2015-01-24 13:22:28ncoghlansetrecipients: + ncoghlan, georg.brandl, amaury.forgeotdarc, pitrou, gennad, berker.peksag, rock, oquanox
2015-01-24 13:22:28ncoghlansetmessageid: <>
2015-01-24 13:22:28ncoghlanlinkissue21862 messages
2015-01-24 13:22:27ncoghlancreate