mirror of
				https://github.com/python/cpython.git
				synced 2025-11-03 19:34:08 +00:00 
			
		
		
		
	We only statically initialize for core code and builtin modules. Extension modules still create the tuple at runtime. We'll solve that part of interpreter isolation separately. This change includes generated code. The non-generated changes are in: * Tools/clinic/clinic.py * Python/getargs.c * Include/cpython/modsupport.h * Makefile.pre.in (re-generate global strings after running clinic) * very minor tweaks to Modules/_codecsmodule.c and Python/Python-tokenize.c All other changes are generated code (clinic, global strings).
		
			
				
	
	
		
			18 lines
		
	
	
	
		
			503 B
		
	
	
	
		
			C
		
	
	
	
	
		
			Generated
		
	
	
			
		
		
	
	
			18 lines
		
	
	
	
		
			503 B
		
	
	
	
		
			C
		
	
	
	
	
		
			Generated
		
	
	
/*[clinic input]
 | 
						|
preserve
 | 
						|
[clinic start generated code]*/
 | 
						|
 | 
						|
#if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
 | 
						|
#  include "pycore_gc.h"            // PyGC_Head
 | 
						|
#  include "pycore_runtime.h"       // _Py_ID()
 | 
						|
#endif
 | 
						|
 | 
						|
 | 
						|
PyDoc_STRVAR(_typing__idfunc__doc__,
 | 
						|
"_idfunc($module, x, /)\n"
 | 
						|
"--\n"
 | 
						|
"\n");
 | 
						|
 | 
						|
#define _TYPING__IDFUNC_METHODDEF    \
 | 
						|
    {"_idfunc", (PyCFunction)_typing__idfunc, METH_O, _typing__idfunc__doc__},
 | 
						|
/*[clinic end generated code: output=97457fda45072c7d input=a9049054013a1b77]*/
 |