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 vstinner
Recipients eric.snow, ncoghlan, vstinner
Date 2022-03-26.17:16:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1648315011.17.0.601766058744.issue46964@roundup.psfhosted.org>
In-reply-to
Content
> Moving the invariant bits would certainly make sense.

IMO it's convenient to have a single structure for all "configuration", even if a few parameters are expected to be the same in all interpreters.

Python/initconfig.c is already a long C file. It contains a lot of code to copy members, converts them from a dict/to a dict, check consistency, etc.

It's also a little bit annoying (for me) to have a separated PyPreConfig structure int Python/preconfig.c which shares some code (like the "_PyPreCmdline" thing to parse "common" command line options).

Well, that's the opinon of the author of PEP 587, biaised obviously ;-)
History
Date User Action Args
2022-03-26 17:16:51vstinnersetrecipients: + vstinner, ncoghlan, eric.snow
2022-03-26 17:16:51vstinnersetmessageid: <1648315011.17.0.601766058744.issue46964@roundup.psfhosted.org>
2022-03-26 17:16:51vstinnerlinkissue46964 messages
2022-03-26 17:16:51vstinnercreate