From: Jeong, YunWon <69878+youknowone@users.noreply.github.com> Date: Thu, 11 May 2023 22:45:55 +0000 (+0900) Subject: gh-104396: uuid.py to skip platform check for emscripten and wasi (gh-104397) X-Git-Tag: v3.12.0b1~159 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=434db68ee31514ddc4aa93f8dfc2eb874d3669c5;p=thirdparty%2FPython%2Fcpython.git gh-104396: uuid.py to skip platform check for emscripten and wasi (gh-104397) --- 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 @@ from enum import Enum, _simple_enum __author__ = 'Ka-Ping Yee ' # 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