New submission from Alexander Belopolsky <belopol...@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.

----------
assignee: belopolsky
components: Library (Lib)
messages: 117309
nosy: belopolsky
priority: normal
severity: normal
stage: needs patch
status: open
title: Unify trace and profile interfaces
type: feature request
versions: Python 3.2

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue9941>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to