Skip to content

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

Merged
ambv merged 1 commit intopython:3.13from
miss-islington:backport-f320c95-3.13
Sep 15, 2025
Merged

[3.13] gh-131189: Fix "msvcrt" import warning on Linux when "_ctypes" is not available. (GH-131201)#138934
ambv merged 1 commit intopython:3.13from
miss-islington:backport-f320c95-3.13

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Sep 15, 2025

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 f320c95)

Co-authored-by: Dzmitry Plashchynski plashchynski@gmail.com

…is not available. (pythonGH-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 f320c95)

Co-authored-by: Dzmitry Plashchynski <plashchynski@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants