Title: cProfile command-line should accept "-m module_name" as an alternative to script path · Issue #66061 · python/cpython · GitHub
Open Graph Title: cProfile command-line should accept "-m module_name" as an alternative to script path · Issue #66061 · python/cpython
X Title: cProfile command-line should accept "-m module_name" as an alternative to script path · Issue #66061 · python/cpython
Description: BPO 21862 Nosy @birkenfeld, @amauryfa, @ncoghlan, @pitrou, @berkerpeksag, @CuriousLearner PRs #4297 Files cProfile-add-new-option-module.patch: patch21862.patchcProfile_module_option.patch: patchcProfile_module_option_2.patch: patch Note...
Open Graph Description: BPO 21862 Nosy @birkenfeld, @amauryfa, @ncoghlan, @pitrou, @berkerpeksag, @CuriousLearner PRs #4297 Files cProfile-add-new-option-module.patch: patch21862.patchcProfile_module_option.patch: patchcP...
X Description: BPO 21862 Nosy @birkenfeld, @amauryfa, @ncoghlan, @pitrou, @berkerpeksag, @CuriousLearner PRs #4297 Files cProfile-add-new-option-module.patch: patch21862.patchcProfile_module_option.patch: patchcP...
Opengraph URL: https://github.com/python/cpython/issues/66061
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"cProfile command-line should accept \"-m module_name\" as an alternative to script path","articleBody":"BPO | [21862](https://bugs.python.org/issue21862)\n--- | :---\nNosy | @birkenfeld, @amauryfa, @ncoghlan, @pitrou, @berkerpeksag, @CuriousLearner\nPRs | \u003cli\u003epython/cpython#4297\u003c/li\u003e\nFiles | \u003cli\u003e[cProfile-add-new-option-module.patch](https://bugs.python.org/file35775/cProfile-add-new-option-module.patch \"Uploaded as text/plain at 2014-06-24.21:30:21 by rock\"): patch\u003c/li\u003e\u003cli\u003e[21862.patch](https://bugs.python.org/file36094/21862.patch \"Uploaded as text/plain at 2014-07-25.22:08:08 by gennad\")\u003c/li\u003e\u003cli\u003e[cProfile_module_option.patch](https://bugs.python.org/file37749/cProfile_module_option.patch \"Uploaded as text/plain at 2015-01-17.20:00:28 by oquanox\"): patch\u003c/li\u003e\u003cli\u003e[cProfile_module_option_2.patch](https://bugs.python.org/file37885/cProfile_module_option_2.patch \"Uploaded as text/plain at 2015-01-27.23:21:11 by oquanox\"): patch\u003c/li\u003e\n\n\u003csup\u003e*Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.*\u003c/sup\u003e\n\n\u003cdetails\u003e\u003csummary\u003eShow more details\u003c/summary\u003e\u003cp\u003e\n\nGitHub fields:\n```python\nassignee = None\nclosed_at = \u003cDate 2017-11-08.10:51:30.237\u003e\ncreated_at = \u003cDate 2014-06-24.20:06:54.143\u003e\nlabels = ['3.7', 'easy', 'type-feature', 'library']\ntitle = 'cProfile command-line should accept \"-m module_name\" as an alternative to script path'\nupdated_at = \u003cDate 2017-11-08.11:21:16.579\u003e\nuser = 'https://github.com/pitrou'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2017-11-08.11:21:16.579\u003e\nactor = 'CuriousLearner'\nassignee = 'none'\nclosed = True\nclosed_date = \u003cDate 2017-11-08.10:51:30.237\u003e\ncloser = 'pitrou'\ncomponents = ['Library (Lib)']\ncreation = \u003cDate 2014-06-24.20:06:54.143\u003e\ncreator = 'pitrou'\ndependencies = []\nfiles = ['35775', '36094', '37749', '37885']\nhgrepos = []\nissue_num = 21862\nkeywords = ['patch', 'easy']\nmessage_count = 20.0\nmessages = ['221488', '221502', '221546', '224008', '232932', '234195', '234560', '234614', '234863', '238195', '305666', '305667', '305668', '305714', '305720', '305741', '305742', '305819', '305820', '305822']\nnosy_count = 9.0\nnosy_names = ['georg.brandl', 'amaury.forgeotdarc', 'ncoghlan', 'pitrou', 'gennad', 'berker.peksag', 'rock', 'oquanox', 'CuriousLearner']\npr_nums = ['4297']\npriority = 'normal'\nresolution = 'fixed'\nstage = 'resolved'\nstatus = 'closed'\nsuperseder = None\ntype = 'enhancement'\nurl = 'https://bugs.python.org/issue21862'\nversions = ['Python 3.7']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/pitrou","@type":"Person","name":"pitrou"},"datePublished":"2014-06-24T20:06:54.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":20},"url":"https://github.com/66061/cpython/issues/66061"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:7fd930c3-69a3-2473-296e-6fd69f07c686 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 942E:1B445F:6399EFC:8C3B6B7:6A504A90 |
| html-safe-nonce | 888ed9ef426ae9ad92c0f721aa00d25d9084246e91ec737d4e45a0ffded574ac |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NDJFOjFCNDQ1Rjo2Mzk5RUZDOjhDM0I2Qjc6NkE1MDRBOTAiLCJ2aXNpdG9yX2lkIjoiMjU1NDc2NTQ0NzAyNDEwMjAzMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 3fecfd2ff27dead6aac39a6098bde795ee9b312b9d3743f9bfeb3524053d667a |
| hovercard-subject-tag | issue:1198922738 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/66061/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1d2af162bda258f24223ed9423ee8d8f6aaac19f7239bd498d3fdd720f32b678/python/cpython/issues/66061 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1d2af162bda258f24223ed9423ee8d8f6aaac19f7239bd498d3fdd720f32b678/python/cpython/issues/66061 |
| og:image:alt | BPO 21862 Nosy @birkenfeld, @amauryfa, @ncoghlan, @pitrou, @berkerpeksag, @CuriousLearner PRs #4297 Files cProfile-add-new-option-module.patch: patch21862.patchcProfile_module_option.patch: patchcP... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | pitrou |
| hostname | github.com |
| expected-hostname | github.com |
| None | d6dc8294eb500fa36bbc57472d61fe87c522f9c3c1d64f70f4926f66a66a7efb |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 5741a45fe07e5f377d0d4c524a92e3056acc51bb |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width