]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-122431: Disallow negative values in `readline.append_history_file` (GH...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 5 Dec 2024 17:15:30 +0000 (18:15 +0100)
committerGitHub <noreply@github.com>
Thu, 5 Dec 2024 17:15:30 +0000 (18:15 +0100)
commita65475fb7016fce5a43cb860874fc4c2ec7ce775
treeb3194c3e3413a791547208af75af4c2704164374
parent288d6d04aedd62a83a19023f83fc7d1742bfba84
[3.12] gh-122431: Disallow negative values in `readline.append_history_file` (GH-122469) (#127642)

gh-122431: Disallow negative values in `readline.append_history_file` (GH-122469)
(cherry picked from commit 208b0fb645c0e14b0826c0014e74a0b70c58c9d6)

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
Lib/test/test_readline.py
Misc/NEWS.d/next/Library/2024-07-30-11-37-40.gh-issue-122431.lAzVtu.rst [new file with mode: 0644]
Modules/readline.c