This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eric.snow
Recipients eric.snow
Date 2022-02-16.18:32:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1645036345.9.0.392519998688.issue46772@roundup.psfhosted.org>
In-reply-to
Content
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 using the data we have available in clinic.py during code generation.

My primary interest is in static init of PyArg_Parser.kwtuple, which is a tuple containing only strings.
History
Date User Action Args
2022-02-16 18:32:25eric.snowsetrecipients: + eric.snow
2022-02-16 18:32:25eric.snowsetmessageid: <1645036345.9.0.392519998688.issue46772@roundup.psfhosted.org>
2022-02-16 18:32:25eric.snowlinkissue46772 messages
2022-02-16 18:32:25eric.snowcreate