]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Emscripten: use better `_Py_Version` computation for worker module (#129757)
authorAgriya Khetarpal <74401230+agriyakhetarpal@users.noreply.github.com>
Fri, 7 Feb 2025 04:55:27 +0000 (04:55 +0000)
committerGitHub <noreply@github.com>
Fri, 7 Feb 2025 04:55:27 +0000 (12:55 +0800)
commite2064d67504bc360c20e03eeea8b360d605cb439
tree6c0c93d624ed631f45b054726f724d8cac429ee7
parent0fef47e5bbd167c21eb4f3cbd885cf61270014e7
Emscripten: use better `_Py_Version` computation for worker module (#129757)

Use integer bit shifting instead of conversion to strings to compute Python version.
Tools/wasm/emscripten/web_example/python.worker.mjs