FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-149879: Don't import msvcrt in _pyio on Cygwin by vstinner · Pull Request #149899 · python/cpython · GitHub

Repository navigation

gh-149879: Don't import msvcrt in _pyio on Cygwin - #149899

Merged
vstinner merged 1 commit into
python:mainfrom
vstinner:pyio
May 15, 2026
Merged

vstinner merged 1 commit into
python:mainfrom
vstinner:pyio

Conversation

vstinner commented May 15, 2026 •
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Member

The msvcrt extension module cannot be built on Cygwin.

The msvcrt extension module cannot be built on Cygwin.

Copy link
Copy Markdown
Member Author

This change fix a regression introduced by commit f0f55a0 in 2015. It does fix the issue reported in 2016: #69069 (comment).

Copy link
Copy Markdown
Member Author

The macos-26 job failed with:

FAIL: test_trampoline_works_with_forks (test.test_perf_profiler.TestPerfTrampoline.test_trampoline_works_with_forks)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/runner/work/cpython/cpython/Lib/test/test_perf_profiler.py", line 145, in test_trampoline_works_with_forks
    self.assertEqual(process.returncode, 0)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: 11 != 0

That's the unrelated issue gh-149156.

vstinner merged commit 1441f2f into python:main May 15, 2026
93 of 95 checks passed
vstinner deleted the pyio branch May 15, 2026 21:11
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

1 participant


Back | FazBrowse Home | New Git URL