Closed
Description
Feature or enhancement
Proposal:
The current pdb completion could be improved for the following scenarios:
- It should support alias if there is any
- Convenience variables (starting with the
$
) should be supported as an expression - For the "command" completion, if there's no command matches, then the user is probably typing an expression to display and we should just complete as expression.
# The user probably wants $_frame
(pdb) $<tab>
Has this already been discussed elsewhere?
This is a minor feature, which does not need previous discussion elsewhere
Links to previous discussion of this feature:
No response
Linked PRs
- gh-110944: Make pdb completion work for alias and convenience vars #110945
- gh-110944: Move pty helper to test.support and add basic pdb completion test #111826
- [3.12] gh-110944: Move pty helper to test.support and add basic pdb completion test (GH-111826) #112024
- [3.11] gh-110944: Move pty helper to test.support and add basic pdb completion test (GH-111826) #112025