You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Make pdb completion similar to repl completion #112948
Currently there are a couple of issues with pdb's completion:
It does not know about built-in functions like repl. So pri\t won't complete to print.
Disabling of completion in multi-line mode is a bit too strong - the user should be able to complete on expressions when they need. Also it does not work with libedit.
If you are typing a statement/expression, rather than using a command like p, pdb will lose the ability to complete expressions.
We have rlcompleter and we should utilize that to make pdb's completion better - the code is already there and it has fixed a couple of corner issues.
Has this already been discussed elsewhere?
This is a minor feature, which does not need previous discussion elsewhere
Activity
gh-112948: Make pdb completion similar to repl completion (#112950)
gaogaotiantian commentedon Mar 27, 2024
Done.
Squashed commit of the following:
Squashed commit of the following:
pythongh-112948: Make pdb completion similar to repl completion (pyth…
Clear any prior readline imports in unit test