Skip to content

Restore underscore tracking after deletion#15243

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

Restore underscore tracking after deletion#15243
MUFFANUJ wants to merge 1 commit into
ipython:mainfrom
MUFFANUJ:restoreUnderscore

Conversation

@MUFFANUJ
Copy link
Copy Markdown

@MUFFANUJ MUFFANUJ commented Jun 7, 2026

Fixes #15000

Fixes displayhook underscore ownership detection so automatic _ tracking resumes after del _, while still preserving active user-assigned _, __, and ___ values.

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.

Underscore variable (_) not restored as last expression result after deletion when first input is a string

1 participant