[issue9898] cProfile.runctx doesn't allow sort argument

Ram Rachum report at bugs.python.org
Sun Sep 19 20:55:43 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>
<http://bugs.python.org/issue9898>
_______________________________________


More information about the Python-bugs-list mailing list