Skip to content

gh-64007: Do not colorize input for input() in the IDLE Shell - #157700

Open
serhiy-storchaka wants to merge 1 commit into
python:mainfrom
serhiy-storchaka:gh-64007-input-colors
Open

serhiy-storchaka wants to merge 1 commit into
python:mainfrom
serhiy-storchaka:gh-64007-input-colors

Conversation

@serhiy-storchaka

Copy link
Copy Markdown
Member

The Shell colorizer treated all text after the I/O mark as code, so text entered for input() got keyword and builtin colors, which stayed after Enter. Now the colorizer skips it while the Shell reads a line for input(), and the colors of text typed ahead are removed.

🤖 Generated with Claude Code

The colorizer treated all text after the I/O mark as code.  Now it
skips it while the Shell reads a line for input(), and the colors of
text typed ahead are removed.
@serhiy-storchaka serhiy-storchaka added needs backport to 3.13 bugs and 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 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting core review needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes needs backport to 3.15 pre-release feature fixes, bugs and security fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant