[Patches] [ python-Patches-684944 ] extend readline functionality in pdb

SourceForge.net noreply at sourceforge.net
Sun Jan 9 16:11:03 CET 2005


Patches item #684944, was opened at 2003-02-11 23:09
Message generated for change (Comment added) made by jlgijsbers
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=684944&group_id=5470

Category: Library (Lib)
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Michael Stone (mbrierst)
>Assigned to: Johannes Gijsbers (jlgijsbers)
Summary: extend readline functionality in pdb

Initial Comment:

This patch allows readline completion of
global and local variables while running code
under pdb.

Currently completion only works
with the builtin pdb commands when in pdb.
This patch uses the default pdb completer (in cmd.Cmd)
to preserve the old completions, but adds completions
in the current pdb execution frame.

Patch is against current cvs.

Let me know what you think.

----------------------------------------------------------------------

>Comment By: Johannes Gijsbers (jlgijsbers)
Date: 2005-01-09 16:11

Message:
Logged In: YES 
user_id=469548

I like the idea, but the implementation is currently too
inclusive. It does completion the same for all commands,
even for those where that doesn't make sense, such as
enable, disable and quit. I'd accept a patch that used
'complete_*' functions for the individual commands where the
completion makes sense. Let me know if you're still
interested on working on this.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=684944&group_id=5470


More information about the Patches mailing list