[Python-Dev] Python profiler and other tools

Guido van Rossum guido at python.org
Mon Jul 26 03:53:04 CEST 2010


On Sun, Jul 25, 2010 at 11:53 AM, Raymond Hettinger
<raymond.hettinger at gmail.com> wrote:
> On Jul 25, 2010, at 11:38 AM, Michael Foord wrote:
>> Antonio Cuni demoed some *great* improvements to the pdb module at EuroPython. A project called pdb++
>>
>> http://codespeak.net/svn/user/antocuni/hack/pdb.py
>>
>> Among its improvements it includes the ability to debug through generator frames, which pdb can't. It would be great to see some of these fixes folded back into the standard library version.
>>
>
> +1

+1 on adding tracing through generators. Not so much about the other
pdb++ features that were demoed.

While I liked the demo at EuroPython (and applauded), in general I am
wary of adding this kind of UI cleverness to the stdlib -- things like
the (seemingly curses-based) updating of the listing in-line are
usually pretty fragile. Also the development cycle of a tool like this
is likely 1-2 orders of magnitude over that of the stdlib. (For this
reason I also think it's right that ipython is still a 3rd party
tool).

-- 
--Guido van Rossum (python.org/~guido)


More information about the Python-Dev mailing list