New submission from Antoine Pitrou: As the title says. You should be able to type:
$ python -m cProfile -m my.module.name to profile execution of my.module.name. ---------- components: Library (Lib) keywords: easy messages: 221488 nosy: georg.brandl, ncoghlan, pitrou priority: normal severity: normal stage: needs patch status: open title: cProfile command-line should accept "-m module_name" as an alternative to script path type: enhancement versions: Python 3.5 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue21862> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com