]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-131189: Fix "msvcrt" import warning on Linux when "_ctypes" is not availabl...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 15 Sep 2025 16:29:33 +0000 (18:29 +0200)
committerGitHub <noreply@github.com>
Mon, 15 Sep 2025 16:29:33 +0000 (18:29 +0200)
commit7452e95d09e92b00d514cb098680d0c4b80dc5a1
treee6d9ee42dafe9e95df3f059f0e47d2fbe7383605
parentdbe5e3925ba23b5f79667f1995ccf175e6a588d6
[3.13] gh-131189: Fix "msvcrt" import warning on Linux when "_ctypes" is not available. (GH-131201) (GH-138934)

gh-131189: Fix "msvcrt" import warning on Linux when "_ctypes" is not available. (GH-131201)

Fix "msvcrt" import warning on Linux when "_ctypes" is not available.

On Linux, compiling without "libffi" causes a
"No module named 'msvcrt'" warning when launching PyREPL.
(cherry picked from commit f320c951c3220aa6727b581216463e8b3f8bcd6b)

Co-authored-by: Dzmitry Plashchynski <plashchynski@gmail.com>
Lib/_pyrepl/readline.py