]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-123321: Fix Parser/myreadline.c to prevent a segfault during a multi-thread...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 5 Sep 2024 12:25:38 +0000 (14:25 +0200)
committerGitHub <noreply@github.com>
Thu, 5 Sep 2024 12:25:38 +0000 (14:25 +0200)
commit562ff730f3532489813289c50f2671bcd7f4c7a7
tree6f6ebe1714256d335a61ea5d5f381400d8be08ae
parentc3a866c91585b7dbd5e8c3d4737dc9c1e04ee8de
[3.12] gh-123321: Fix Parser/myreadline.c to prevent a segfault during a multi-threaded race (GH-123323) (#123677)

* gh-123321: Fix Parser/myreadline.c to prevent a segfault during a multi-threaded race (GH-123323)
(cherry picked from commit a4562fedadb73fe1e978dece65c3bcefb4606678)

Co-authored-by: Bar Harel <bharel@barharel.com>
* Remove @requires_gil_enabled for 3.12

---------

Co-authored-by: Bar Harel <bharel@barharel.com>
Co-authored-by: Sam Gross <colesbury@gmail.com>
Lib/test/test_readline.py
Misc/NEWS.d/next/Core and Builtins/2024-08-26-00-58-26.gh-issue-123321.ApxcnE.rst [new file with mode: 0644]
Parser/myreadline.c