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.

classification
Title: cProfile.runctx doesn't allow sort argument
Type: enhancement Stage:
Components: Library (Lib) Versions: Python 3.2, Python 3.3, Python 2.7
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: amaury.forgeotdarc, cool-RR
Priority: normal Keywords: patch

Created on 2010-09-19 18:55 by cool-RR, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
cProfile.patch cool-RR, 2010-09-19 18:55 Patch for allowing `sort` argument to `cProfile.runctx`
Messages (4)
msg116880 - (view) Author: Ram Rachum (cool-RR) * Date: 2010-09-19 18:55
The `cProfile.runctx` function currently doesn't allow using the `sort` argument. For some reason the `sort` argument is allowed in `run` but not in `runctx`. Attached is a patch that allows using `sort` in `runctx`.
msg116912 - (view) Author: Amaury Forgeot d'Arc (amaury.forgeotdarc) * (Python committer) Date: 2010-09-20 06:35
This has already been done as part of issue9428 in r83524.
msg116923 - (view) Author: Ram Rachum (cool-RR) * Date: 2010-09-20 10:19
Is this going into 3.2?
msg116956 - (view) Author: Amaury Forgeot d'Arc (amaury.forgeotdarc) * (Python committer) Date: 2010-09-20 17:41
yes, as you can see in the diffs, it's already in 3.2alpha2.
History
Date User Action Args
2022-04-11 14:57:06adminsetgithub: 54107
2010-09-20 17:41:31amaury.forgeotdarcsetmessages: + msg116956
2010-09-20 10:19:10cool-RRsetmessages: + msg116923
2010-09-20 06:35:13amaury.forgeotdarcsetstatus: open -> closed

nosy: + amaury.forgeotdarc
messages: + msg116912

resolution: out of date
2010-09-19 18:55:39cool-RRcreate