mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	Issue #9260: A finer-grained import lock.
Most of the import sequence now uses per-module locks rather than the global import lock, eliminating well-known issues with threads and imports.
This commit is contained in:
		
							parent
							
								
									5cec9d2ae5
								
							
						
					
					
						commit
						ea3eb88bca
					
				
					 12 changed files with 3777 additions and 3041 deletions
				
			
		|  | @ -23,6 +23,8 @@ def cleanout(root): | |||
| def fixdir(lst): | ||||
|     if "__builtins__" in lst: | ||||
|         lst.remove("__builtins__") | ||||
|     if "__initializing__" in lst: | ||||
|         lst.remove("__initializing__") | ||||
|     return lst | ||||
| 
 | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Antoine Pitrou
						Antoine Pitrou