Skip to content

Use current buffer for attribute completions#15244

Open
MUFFANUJ wants to merge 1 commit into
ipython:mainfrom
MUFFANUJ:bufferCompletions
Open

Use current buffer for attribute completions#15244
MUFFANUJ wants to merge 1 commit into
ipython:mainfrom
MUFFANUJ:bufferCompletions

Conversation

@MUFFANUJ
Copy link
Copy Markdown

@MUFFANUJ MUFFANUJ commented Jun 7, 2026

fixes #15043

Fix stale attribute completions when a variable is redefined earlier in the same input buffer by checking the current buffer before falling back to the existing namespace value. Adds a regression test for completing a = [] when a was previously bound to an integer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Variable redefinition in the same cell shows completions from previous value

1 participant