]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-111201: Improve pyrepl auto indentation (GH-119606) (GH-119833)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 31 May 2024 09:51:53 +0000 (11:51 +0200)
committerGitHub <noreply@github.com>
Fri, 31 May 2024 09:51:53 +0000 (11:51 +0200)
commit38bf39cb4be279cce6c97da26afcc60859a01571
tree54e2ae975d993aac16c5e88312fd64a2ed5776fe
parent7dae73b21b500e34ebb070a4d3774e09d83d6c1d
[3.13] gh-111201: Improve pyrepl auto indentation (GH-119606) (GH-119833)

- auto-indent when editing multi-line block
- ignore comments

(cherry picked from commit dae0375bd97f3821c5db1602a0653a3c5dc53c5b)

Co-authored-by: Arnon Yaari <wiggin15@yahoo.com>
Lib/_pyrepl/readline.py
Lib/test/test_pyrepl/test_pyrepl.py
Lib/test/test_pyrepl/test_reader.py