mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	gh-112136: Restore removed _PyArg_Parser (#121262)
Restore the private _PyArg_Parser structure and the private _PyArg_ParseTupleAndKeywordsFast() function, previously removed in Python 3.13 alpha 1. Recreate Include/cpython/modsupport.h header file.
This commit is contained in:
		
							parent
							
								
									7c66906802
								
							
						
					
					
						commit
						f8373db153
					
				
					 8 changed files with 40 additions and 24 deletions
				
			
		|  | @ -134,6 +134,12 @@ PyAPI_FUNC(PyObject *) PyModule_FromDefAndSpec2(PyModuleDef *def, | |||
| 
 | ||||
| #endif /* New in 3.5 */ | ||||
| 
 | ||||
| #ifndef Py_LIMITED_API | ||||
| #  define Py_CPYTHON_MODSUPPORT_H | ||||
| #  include "cpython/modsupport.h" | ||||
| #  undef Py_CPYTHON_MODSUPPORT_H | ||||
| #endif | ||||
| 
 | ||||
| #ifdef __cplusplus | ||||
| } | ||||
| #endif | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Victor Stinner
						Victor Stinner