commit | c353764fd564e401cf47a5d9efab18c72c60014e | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@python.org> | Mon Jun 01 20:59:35 2020 +0200 |
committer | GitHub <noreply@github.com> | Mon Jun 01 20:59:35 2020 +0200 |
tree | ba1a526bd6e9db6ad6fa180c2c2c0bed65bb98e7 | |
parent | b4d5a5cca29426a282e8f1e64b2271fdd1f0a23e [diff] |
bpo-40826: Fix GIL usage in PyOS_Readline() (GH-20579) Fix GIL usage in PyOS_Readline(): lock the GIL to set an exception. Pass tstate to my_fgets() and _PyOS_WindowsConsoleReadline(). Cleanup these functions.