Skip to content

[3.14] gh-152068: Reset PyREPL Colors on prompt finish (#152108)#154402

Open
edvilme wants to merge 1 commit into
python:3.14from
edvilme:backport-gh-152068-pyrepl-color-bug
Open

[3.14] gh-152068: Reset PyREPL Colors on prompt finish (#152108)#154402
edvilme wants to merge 1 commit into
python:3.14from
edvilme:backport-gh-152068-pyrepl-color-bug

Conversation

@edvilme

@edvilme edvilme commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

* Use ANSI Escape Codes from Colorize

* Print ANSI Color reset on finish and restore

* 📜🤖 Added by blurb_it.

* Update imports

* Update Misc/NEWS.d/next/macOS/2026-06-24-18-00-39.gh-issue-152068.ThsmJU.rst

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>

* Remove news entry

* 📜🤖 Added by blurb_it.

* pythongh-152068: Test ANSI reset is emitted on console finish() and restore()

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@edvilme
edvilme force-pushed the backport-gh-152068-pyrepl-color-bug branch from 8f11ee1 to 6264ad9 Compare July 21, 2026 23:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant