Skip to content

[3.15] gh-152068: Reset PyREPL Colors on prompt finish (GH-152108)#153029

Merged
pablogsal merged 1 commit into
python:3.15from
miss-islington:backport-832d557-3.15
Jul 4, 2026
Merged

[3.15] gh-152068: Reset PyREPL Colors on prompt finish (GH-152108)#153029
pablogsal merged 1 commit into
python:3.15from
miss-islington:backport-832d557-3.15

Conversation

@miss-islington

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

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


(cherry picked from commit 832d557)

Co-authored-by: Eduardo Villalpando Mello eduardovil@microsoft.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

* 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>

---------
(cherry picked from commit 832d557)

Co-authored-by: Eduardo Villalpando Mello <eduardovil@microsoft.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>
@pablogsal pablogsal enabled auto-merge (squash) July 4, 2026 13:18
@pablogsal pablogsal merged commit cb0adb0 into python:3.15 Jul 4, 2026
64 checks passed
@miss-islington miss-islington deleted the backport-832d557-3.15 branch July 4, 2026 13:50
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.

3 participants