summaryrefslogtreecommitdiffstats
path: root/Lib/uuid.py
diff options
context:
space:
mode:
authorJeong, YunWon <69878+youknowone@users.noreply.github.com>2023-05-11 22:45:55 (GMT)
committerGitHub <noreply@github.com>2023-05-11 22:45:55 (GMT)
commit434db68ee31514ddc4aa93f8dfc2eb874d3669c5 (patch)
tree1010bbba81677c28125460e684e554a08932c881 /Lib/uuid.py
parent7d7dd4cd70ed997ed7c3cda867c4e7b1ab02b205 (diff)
downloadcpython-434db68ee31514ddc4aa93f8dfc2eb874d3669c5.zip
cpython-434db68ee31514ddc4aa93f8dfc2eb874d3669c5.tar.gz
cpython-434db68ee31514ddc4aa93f8dfc2eb874d3669c5.tar.bz2
gh-104396: uuid.py to skip platform check for emscripten and wasi (gh-104397)
Diffstat (limited to 'Lib/uuid.py')
-rw-r--r--Lib/uuid.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/uuid.py b/Lib/uuid.py
index 697f3b4..470bc0d 100644
--- a/Lib/uuid.py
+++ b/Lib/uuid.py
@@ -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