[Python-checkins] gh-104396: uuid.py to skip platform check for emscripten and wasi (gh-104397)

corona10 webhook-mailer at python.org
Thu May 11 18:46:02 EDT 2023


https://github.com/python/cpython/commit/434db68ee31514ddc4aa93f8dfc2eb874d3669c5
commit: 434db68ee31514ddc4aa93f8dfc2eb874d3669c5
branch: main
author: Jeong, YunWon <69878+youknowone at users.noreply.github.com>
committer: corona10 <donghee.na92 at gmail.com>
date: 2023-05-12T07:45:55+09:00
summary:

gh-104396: uuid.py to skip platform check for emscripten and wasi (gh-104397)

files:
M Lib/uuid.py

diff --git a/Lib/uuid.py b/Lib/uuid.py
index 697f3b455970..470bc0d68597 100644
--- a/Lib/uuid.py
+++ b/Lib/uuid.py
@@ -53,7 +53,7 @@
 __author__ = 'Ka-Ping Yee <ping at zesty.ca>'
 
 # The recognized platforms - known behaviors
-if sys.platform in ('win32', 'darwin'):
+if sys.platform in ('win32', 'darwin', 'emscripten', 'wasi'):
     _AIX = _LINUX = False
 else:
     import platform



More information about the Python-checkins mailing list