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

gh-146197: Include a bit more information in sys._emscripten_info.runtime by hoodmane · Pull Request #146346 · python/cpython · GitHub

/ cpython Public

gh-146197: Include a bit more information in sys._emscripten_info.runtime - #146346

Merged
vstinner merged 1 commit into
python:mainfrom
hoodmane:emscripten-info-runtime
Mar 23, 2026
Merged

gh-146197: Include a bit more information in sys._emscripten_info.runtime#146346
vstinner merged 1 commit into
python:mainfrom
hoodmane:emscripten-info-runtime

Conversation

hoodmane commented Mar 23, 2026
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Contributor

Before: sys._emscripten_info.runtime is Node.js/24, now it says node v24.14.0 (v8 13.6.233.17-node.41). I also added detection for node and bun.

Copy link
Copy Markdown
Member

pythoninfo of the Emscripten CI job says:

sys._emscripten_info: sys._emscripten_info(emscripten_version=(4, 0, 12), runtime='node v24.14.0 (v8 13.6.233.17-node.41)', pthreads=False, shared_memory=False)

needs backport to 3.14

I'm not sure that it's a good idea to change sys._emscripten_info.runtime in a Python 3.14.x bugfix release. Some projects may rely on the current string format.

vstinner left a comment
edited
Loading

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

LGTM. But it may safer to not backport the change to 3.14.

Copy link
Copy Markdown
Contributor Author

Right, I suppose we don't need the backport for anything.

hoodmane removed the needs backport to 3.14 bugs and security fixes label Mar 23, 2026
vstinner enabled auto-merge (squash) March 23, 2026 21:50
vstinner merged commit 7dc2f52 into python:main Mar 23, 2026
63 checks passed
CuriousLearner added a commit to CuriousLearner/cpython that referenced this pull request Mar 24, 2026
…on into fix-pythongh-138577

* 'fix-pythongh-138577' of github.com:CuriousLearner/cpython:
  pythongh-146202: Create tmp_dir in regrtest worker (python#146347)
  pythongh-144319: obtain SeLockMemoryPrivilege on Windows (python#144928)
  pythongh-146199: Fix error handling in `code_richcompare` when `PyObject_RichCompareBool` fails (python#146200)
  pythongh-146197: Include a bit more information in sys._emscripten_info.runtime (python#146346)
  pythongh-135871: Reload lock internal state while spinning in `PyMutex_LockTimed` (pythongh-146064)
  pythongh-145719: Add `.efi` file detection in `mimetypes` (python#145720)
clin1234 pushed a commit to clin1234/cpython that referenced this pull request Apr 16, 2026
ljfp pushed a commit to ljfp/cpython that referenced this pull request Apr 25, 2026
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.

2 participants


Back | FazBrowse Home | New Git URL