mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	Issue #28779: multiprocessing.set_forkserver_preload() would crash the forkserver process if a preloaded module instantiated some multiprocessing objects such as locks.
This commit is contained in:
		
							parent
							
								
									7a44783b42
								
							
						
					
					
						commit
						cd2a201e5b
					
				
					 5 changed files with 37 additions and 2 deletions
				
			
		|  | @ -195,7 +195,7 @@ def get_context(self, method=None): | |||
|     def get_start_method(self, allow_none=False): | ||||
|         return self._name | ||||
| 
 | ||||
|     def set_start_method(self, method=None): | ||||
|     def set_start_method(self, method, force=False): | ||||
|         raise ValueError('cannot set start method of concrete context') | ||||
| 
 | ||||
|     def _check_available(self): | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Antoine Pitrou
						Antoine Pitrou