[issue46772] Statically Initialize PyArg_Parser in clinic.py

2022-02-16 Thread Eric Snow
Change by Eric Snow : -- dependencies: +Add a Private API for Looking Up Global Objects, Statically allocate and initialize the empty tuple. ___ Python tracker ___ ___

[issue46772] Statically Initialize PyArg_Parser in clinic.py

2022-02-16 Thread Eric Snow
New submission from Eric Snow : The code generated by clinic.py is already partially statically initialized. Currently we init the other fields in Python/getargs.c:parser_init(), which runs the first time we try to use each parser. AFAICS, that remaining init that could be done statically u