[New-bugs-announce] [issue9941] Unify trace and profile interfaces
report at bugs.python.org
Fri Sep 24 18:57:48 CEST 2010
New submission from Alexander Belopolsky <belopolsky at users.sourceforge.net>:
The trace and profile modules provide similar functionality, but have some gratuitous differences in their APIs and command line interfaces.
For example, the method to trace a single call is Trace.runfunc, but almost identical Profile method is called "runcall".
The CLIs provided by the two modules are vastly different: profile splits out formatting of the results into a separate module, pstats, while trace module includes many options to control the output of traced runs.
This situation leeds to an unnecessary burden on users who need to learn two different ways to do very similar things.
components: Library (Lib)
stage: needs patch
title: Unify trace and profile interfaces
type: feature request
versions: Python 3.2
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce