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.
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.
Logged In: YES user_id=259388 jlgijsbers, do you mean that if a user typed (Pdb) help d only help topics that started with 'd' would autocomplete? And similarly for other pdb commands?
ajaksu2, I think you just changed the status of this to "test needed". I don't think a unit test for this functionality is possible if that's what you mean, as it is an interactive feature involving readline completion at the interactive prompt only. It's been a long time since I posted this patch, and I don't really mind if you just close the issue. There obviously hasn't been a lot of interest since 2003.