Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[3.12] gh-112507: Detect Cygwin and MSYS with uname instead of `$OS…#130674

Merged
vsajip merged 1 commit into
python:3.12python/cpython:3.12from
vsajip:backport-d7b5f10-3.12vsajip/cpython:backport-d7b5f10-3.12Copy head branch name to clipboard
Feb 28, 2025
Merged

[3.12] gh-112507: Detect Cygwin and MSYS with uname instead of `$OS…#130674
vsajip merged 1 commit into
python:3.12python/cpython:3.12from
vsajip:backport-d7b5f10-3.12vsajip/cpython:backport-d7b5f10-3.12Copy head branch name to clipboard

Conversation

@vsajip
Copy link
Copy Markdown
Member

@vsajip vsajip commented Feb 28, 2025

…f `$OSTYPE` (pythonGH-112508)

Detect Cygwin and MSYS with `uname` instead of `$OSTYPE`

`$OSTYPE` is not defined by POSIX and may not be present in other shells.
`uname` is always available in any shell.
(cherry picked from commit d7b5f10)

Co-authored-by: James Morris <6653392+J-M0@users.noreply.github.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.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.