]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-118835: pyrepl: Fix prompt length computation for custom prompts containing...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 3 Jun 2024 17:31:26 +0000 (19:31 +0200)
committerGitHub <noreply@github.com>
Mon, 3 Jun 2024 17:31:26 +0000 (17:31 +0000)
commit6b10467fbc0b67bf217ea27956b545103c4a0ad5
tree1834facbc48d28d94480feb0e8d75e69a3755433
parent060d846f436027c0169fc8e2d3a0a7b9bc9afee8
[3.13] gh-118835: pyrepl: Fix prompt length computation for custom prompts containing ANSI escape codes (GH-119942) (#119990)

gh-118835: pyrepl: Fix prompt length computation for custom prompts containing ANSI escape codes (GH-119942)
(cherry picked from commit 2e0aa731aebb8ef3d89ada82f5d39b1bbac65d1f)

Co-authored-by: Daniel Hollas <daniel.hollas@bristol.ac.uk>
Lib/_pyrepl/reader.py
Lib/test/test_pyrepl/test_reader.py
Misc/NEWS.d/next/Library/2024-06-02-15-09-17.gh-issue-118835.KUAuz6.rst [new file with mode: 0644]