[issue14210] add filename completion to pdb

2012-03-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 01a25f638c83 by Georg Brandl in branch 'default': Close #14210: add command argument completion to pdb: complete file names, global/local variables, aliases http://hg.python.org/cpython/rev/01a25f638c83 -- nosy: +python-dev resolution: ->

[issue14210] add filename completion to pdb

2012-03-09 Thread Georg Brandl
Georg Brandl added the comment: Nope, don't think so. They are accepted and handled (albeit strangely) after all. -- ___ Python tracker ___

[issue14210] add filename completion to pdb

2012-03-09 Thread Tshepang Lekhonkhobe
Tshepang Lekhonkhobe added the comment: > But that has to do with how relative paths are handled, not with how they are > entered: they are taken relative to sys.path[0]. I don't know why, and if > that is the useful thing to do, but it's for another issue. Perhaps refuse to complete all rela

[issue14210] add filename completion to pdb

2012-03-09 Thread Georg Brandl
Georg Brandl added the comment: >>> * using relative path completes, but I get something like "'../prog.py' not >>> found from sys.path" >> That has nothing to do with the completion. > If I give it an absolute path it works, hence the complaint. But that has to do with how relative paths are

[issue14210] add filename completion to pdb

2012-03-09 Thread Tshepang Lekhonkhobe
Tshepang Lekhonkhobe added the comment: > Georg Brandl added the comment: >> * using relative path completes, but I get something like "'../prog.py' not >> found from sys.path" > That has nothing to do with the completion. If I give it an absolute path it works, hence the complaint. >> * usi

[issue14210] add filename completion to pdb

2012-03-09 Thread Georg Brandl
Georg Brandl added the comment: > * using relative path completes, but I get something like "'../prog.py' not > found from sys.path" That has nothing to do with the completion. > * using "~/" to try to complete the HOME directory doesn't work... it > completes the root directory Since break

[issue14210] add filename completion to pdb

2012-03-09 Thread Tshepang Lekhonkhobe
Tshepang Lekhonkhobe added the comment: Works much better, but there are still some issues: * using relative path completes, but I get something like "'../prog.py' not found from sys.path" * using "~/" to try to complete the HOME directory doesn't work... it completes the root directory

[issue14210] add filename completion to pdb

2012-03-09 Thread Georg Brandl
Georg Brandl added the comment: > I see that completion now works for user-defined variables, but: > * completing with 'b' doesn't work at all Right, that needs to be added for every shortcut. > * completing with 'break' only completes the first directory that gets the > TAB key > * also, 'b

[issue14210] add filename completion to pdb

2012-03-09 Thread Tshepang Lekhonkhobe
Tshepang Lekhonkhobe added the comment: Thanks for the work. I see that completion now works for user-defined variables, but: * completing with 'b' doesn't work at all * completing with 'break' only completes the first directory that gets the TAB key * also, 'break' doesn't complete when I do

[issue14210] add filename completion to pdb

2012-03-09 Thread Georg Brandl
Georg Brandl added the comment: Here's a patch for 3.3, adding completion to most commands (either completes locations, breakpoint numbers or expressions). Please test! -- assignee: -> georg.brandl keywords: +patch Added file: http://bugs.python.org/file24767/pdb-completion.diff ___

[issue14210] add filename completion to pdb

2012-03-09 Thread Georg Brandl
Georg Brandl added the comment: I agree. It should not be too hard to add complete_break() and other similar methods that do this to Pdb. -- nosy: +georg.brandl ___ Python tracker

[issue14210] add filename completion to pdb

2012-03-06 Thread Tshepang Lekhonkhobe
New submission from Tshepang Lekhonkhobe : This would be extra nice because I would not have to fill in the entire path manually when I'm setting a b(reak). -- components: Library (Lib) messages: 155020 nosy: tshepang priority: normal severity: normal status: open title: add filename co