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 Greg.Slodkowicz, Segev Finer, belopolsky, eric.araujo, eric.snow, georg.brandl, giampaolo.rodola, ncoghlan, piotr.dobrogost, terry.reedy
Date 2017-11-07.07:55:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Issue 21862 is a related issue specifically for the cProfile module.

In that case, cProfile's command line invocation *doesn't* use the main module, so the patch is able to just create a synthetic call to runpy.run_module as a string and compile that as the code to be profiled.
Date User Action Args
2017-11-07 07:55:02ncoghlansetrecipients: + ncoghlan, georg.brandl, terry.reedy, belopolsky, giampaolo.rodola, eric.araujo, Greg.Slodkowicz, eric.snow, piotr.dobrogost, Segev Finer
2017-11-07 07:55:02ncoghlansetmessageid: <>
2017-11-07 07:55:02ncoghlanlinkissue9325 messages
2017-11-07 07:55:02ncoghlancreate