[New-bugs-announce] [issue9898] cProfile.runctx doesn't allow sort argument

Ram Rachum report at bugs.python.org
Sun Sep 19 20:55:41 CEST 2010

New submission from Ram Rachum <cool-rr at cool-rr.com>:

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`.

components: Library (Lib)
files: cProfile.patch
keywords: patch
messages: 116880
nosy: cool-RR
priority: normal
severity: normal
status: open
title: cProfile.runctx doesn't allow sort argument
type: feature request
versions: Python 2.7, Python 3.2, Python 3.3
Added file: http://bugs.python.org/file18932/cProfile.patch

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list