[issue14210] add filename completion to pdb

Georg Brandl report at bugs.python.org
Fri Mar 9 18:50:02 CET 2012


Georg Brandl <georg at python.org> 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 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.

>>> * using "~/" to try to complete the HOME directory doesn't work... it completes the root directory
>> Since break doesn't accept "~", I don't see why it should complete it.  Keep in mind it's not a shell :)
> Fair enough. Perhaps the completion should not be when encountering
that character?

That should be easy to do, yes.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14210>
_______________________________________


More information about the Python-bugs-list mailing list