mirror of
				https://github.com/python/cpython.git
				synced 2025-11-03 23:21:29 +00:00 
			
		
		
		
	gh-104396: uuid.py to skip platform check for emscripten and wasi (gh-104397)
This commit is contained in:
		
							parent
							
								
									7d7dd4cd70
								
							
						
					
					
						commit
						434db68ee3
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -53,7 +53,7 @@
 | 
				
			||||||
__author__ = 'Ka-Ping Yee <ping@zesty.ca>'
 | 
					__author__ = 'Ka-Ping Yee <ping@zesty.ca>'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# The recognized platforms - known behaviors
 | 
					# The recognized platforms - known behaviors
 | 
				
			||||||
if sys.platform in ('win32', 'darwin'):
 | 
					if sys.platform in ('win32', 'darwin', 'emscripten', 'wasi'):
 | 
				
			||||||
    _AIX = _LINUX = False
 | 
					    _AIX = _LINUX = False
 | 
				
			||||||
else:
 | 
					else:
 | 
				
			||||||
    import platform
 | 
					    import platform
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue