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.14] gh-138130: Fix return value of libc_ver() on Emscripten (GH-138132)#138312

Merged
hugovk merged 1 commit intopython:3.14python/cpython:3.14from
miss-islington:backport-11a5fc8-3.14miss-islington/cpython:backport-11a5fc8-3.14Copy head branch name to clipboard
Oct 5, 2025
Merged

[3.14] gh-138130: Fix return value of libc_ver() on Emscripten (GH-138132)#138312
hugovk merged 1 commit intopython:3.14python/cpython:3.14from
miss-islington:backport-11a5fc8-3.14miss-islington/cpython:backport-11a5fc8-3.14Copy head branch name to clipboard

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Aug 31, 2025

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.
(cherry picked from commit 11a5fc8)

Co-authored-by: Hood Chatham roberthoodchatham@gmail.com

Fixes #138130.

…GH-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.
(cherry picked from commit 11a5fc8)

Co-authored-by: Hood Chatham <roberthoodchatham@gmail.com>
Copy link
Contributor

@freakboy3742 freakboy3742 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't an urgent backport, as the 3.14 passes CI without it - but it is a bug fix that has been made in main.

@freakboy3742
Copy link
Contributor

Assigning to @hugovk for 3.14 housekeeping purposes.

@hugovk hugovk merged commit 08d2892 into python:3.14 Oct 5, 2025
52 checks passed
@miss-islington miss-islington deleted the backport-11a5fc8-3.14 branch January 2, 2026 17:00
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.

4 participants

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