X Tutup
Skip to content

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

Merged
vsajip merged 1 commit intopython:3.12from
vsajip:backport-d7b5f10-3.12
Feb 28, 2025
Merged

[3.12] gh-112507: Detect Cygwin and MSYS with uname instead of `$OS…#130674
vsajip merged 1 commit intopython:3.12from
vsajip:backport-d7b5f10-3.12

Conversation

@vsajip
Copy link
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

X Tutup