mirror of
				https://github.com/python/cpython.git
				synced 2025-10-29 17:38:56 +00:00 
			
		
		
		
	gh-117142: Support Importing ctypes in Isolated Interpreters (gh-119991)
This makes the support official. Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
This commit is contained in:
		
							parent
							
								
									d82a7ba041
								
							
						
					
					
						commit
						dba7a167db
					
				
					 2 changed files with 3 additions and 1 deletions
				
			
		|  | @ -0,0 +1,2 @@ | |||
| The :mod:`ctypes` module may now be imported in all subinterpreters, including | ||||
| those that have their own GIL. | ||||
|  | @ -5939,7 +5939,7 @@ module_free(void *module) | |||
| 
 | ||||
| static PyModuleDef_Slot module_slots[] = { | ||||
|     {Py_mod_exec, _ctypes_mod_exec}, | ||||
|     {Py_mod_multiple_interpreters, Py_MOD_MULTIPLE_INTERPRETERS_SUPPORTED}, | ||||
|     {Py_mod_multiple_interpreters, Py_MOD_PER_INTERPRETER_GIL_SUPPORTED}, | ||||
|     {Py_mod_gil, Py_MOD_GIL_NOT_USED}, | ||||
|     {0, NULL} | ||||
| }; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Eric Snow
						Eric Snow