]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-138130: Fix return value of libc_ver() on Emscripten (#138132)
authorHood Chatham <roberthoodchatham@gmail.com>
Sun, 31 Aug 2025 22:50:29 +0000 (00:50 +0200)
committerGitHub <noreply@github.com>
Sun, 31 Aug 2025 22:50:29 +0000 (06:50 +0800)
commit11a5fc82381308f0b6060b8c06af89fd197516e1
tree21664815a0d658aa4777fce2ca4cb4fff018946a
parent78acd8e95e78bc410b8207cd60e1323ece01b3d5
gh-138130: Fix return value of libc_ver() on Emscripten (#138132)

Emscripten's libc is a hybrid of musl and llvm libc; but it reports that it is
"glibc". This modifies the return value of `platform.libc_ver()` to return
something that is Emscripten-specific.
Lib/platform.py
Lib/test/test_platform.py