Message234614
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:28 | ncoghlan | set | recipients:
+ ncoghlan, georg.brandl, amaury.forgeotdarc, pitrou, gennad, berker.peksag, rock, oquanox |
2015-01-24 13:22:28 | ncoghlan | set | messageid: <1422105748.04.0.647909673204.issue21862@psf.upfronthosting.co.za> |
2015-01-24 13:22:28 | ncoghlan | link | issue21862 messages |
2015-01-24 13:22:27 | ncoghlan | create | |
|