]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-104396: uuid.py to skip platform check for emscripten and wasi (gh-104397)
authorJeong, YunWon <69878+youknowone@users.noreply.github.com>
Thu, 11 May 2023 22:45:55 +0000 (07:45 +0900)
committerGitHub <noreply@github.com>
Thu, 11 May 2023 22:45:55 +0000 (07:45 +0900)
Lib/uuid.py

index 697f3b455970235d21b02bfd1ceea0bc245514b7..470bc0d68597ab7087aad28bd6944c9bd9d25fc6 100644 (file)
@@ -53,7 +53,7 @@ from enum import Enum, _simple_enum
 __author__ = 'Ka-Ping Yee <ping@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