]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-131189: Fix "msvcrt" import warning on Linux when "_ctypes" is not available....
authorDzmitry Plashchynski <plashchynski@gmail.com>
Tue, 15 Jul 2025 07:44:31 +0000 (10:44 +0300)
committerGitHub <noreply@github.com>
Tue, 15 Jul 2025 07:44:31 +0000 (09:44 +0200)
commitf320c951c3220aa6727b581216463e8b3f8bcd6b
tree7003b368a3c11cce7539e319f0a487691451880c
parente4654e0b3e7d802c8fe984cf39a36a42b67de1ad
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.
Lib/_pyrepl/readline.py