Skip to content

gh-93966: Remove the syntax error highlighting in the IDLE Shell on the next statement - #157595

Merged
terryjreedy merged 1 commit into
python:mainfrom
serhiy-storchaka:gh-93966-clear-error-tag
Sep 24, 2026
Merged

terryjreedy merged 1 commit into
python:mainfrom
serhiy-storchaka:gh-93966-clear-error-tag

Conversation

@serhiy-storchaka

@serhiy-storchaka serhiy-storchaka commented Sep 15, 2026 •

Copy link
Copy Markdown
Member

The highlighting of a syntax error in the Shell stayed until the next syntax error. This is most visible for an error at the end of a line, where the highlighted newline is shown as a bar across the window. Remove the highlighting when the next statement is entered, as suggested in the issue.

🤖 Generated with Claude Code

…l on the next statement

It stayed until the next syntax error.

Co-authored-by: André Roberge <andre.roberge@gmail.com>
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@serhiy-storchaka serhiy-storchaka added needs backport to 3.13 only security fixes needs backport to 3.14 bugs and security fixes needs backport to 3.15 pre-release feature fixes, bugs and security fixes labels Sep 15, 2026
@terryjreedy
terryjreedy merged commit 2483fb3 into python:main Sep 24, 2026
59 checks passed
@miss-islington-app

Copy link
Copy Markdown

Thanks @serhiy-storchaka for the PR, and @terryjreedy for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14, 3.15.
🐍🍒⛏🤖

@bedevere-app

bedevere-app Bot commented Sep 24, 2026

Copy link
Copy Markdown

GH-158057 is a backport of this pull request to the 3.15 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.15 pre-release feature fixes, bugs and security fixes label Sep 24, 2026
@bedevere-app

bedevere-app Bot commented Sep 24, 2026

Copy link
Copy Markdown

GH-158058 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.14 bugs and security fixes label Sep 24, 2026
@bedevere-app

bedevere-app Bot commented Sep 24, 2026

Copy link
Copy Markdown

GH-158059 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.13 only security fixes label Sep 24, 2026
terryjreedy pushed a commit that referenced this pull request Sep 24, 2026
…ll on the next statement (GH-157595) (#158059)

gh-93966: Remove the syntax error highlighting in the IDLE Shell on the next statement (GH-157595)

It stayed until the next syntax error.
(cherry picked from commit 2483fb3)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: André Roberge <andre.roberge@gmail.com>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
terryjreedy pushed a commit that referenced this pull request Sep 24, 2026
…ll on the next statement (GH-157595) (#158058)

gh-93966: Remove the syntax error highlighting in the IDLE Shell on the next statement (GH-157595)

It stayed until the next syntax error.
(cherry picked from commit 2483fb3)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: André Roberge <andre.roberge@gmail.com>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
hugovk pushed a commit that referenced this pull request Sep 28, 2026
…ll on the next statement (GH-157595) (#158057)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: André Roberge <andre.roberge@gmail.com>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
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.

2 participants