Skip to content

Support attribute completion in pdb for convenience variables #131123

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
gaogaotiantian opened this issue Mar 11, 2025 · 0 comments
Closed

Support attribute completion in pdb for convenience variables #131123

gaogaotiantian opened this issue Mar 11, 2025 · 0 comments
Labels
stdlib Python modules in the Lib dir type-feature A feature request or enhancement

Comments

@gaogaotiantian
Copy link
Member

gaogaotiantian commented Mar 11, 2025

Feature or enhancement

Proposal:

We have completion for convenience variables, but not their attributes. $_fra\t gives us $_frame, but $_frame.f_line\t does not give us $_frame.f_lineno. We should support attributes just like other variables.

Has this already been discussed elsewhere?

No response given

Links to previous discussion of this feature:

No response

Linked PRs

@gaogaotiantian gaogaotiantian added the type-feature A feature request or enhancement label Mar 11, 2025
@picnixz picnixz added the stdlib Python modules in the Lib dir label Mar 12, 2025
@picnixz picnixz changed the title Support attribute completion for convenience variables Support attribute completion in pdb for convenience variables Mar 12, 2025
plashchynski pushed a commit to plashchynski/cpython that referenced this issue Mar 17, 2025
seehwan pushed a commit to seehwan/cpython that referenced this issue Apr 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stdlib Python modules in the Lib dir type-feature A feature request or enhancement
Projects
None yet
Development

No branches or pull requests

2 participants