Author lemburg
Recipients christian.heimes, lemburg, methane, vstinner
Date 2017-02-17.11:45:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1487331959.6.0.49591003398.issue29585@psf.upfronthosting.co.za>
In-reply-to
Content
I don't think rewriting party of site.py in C is a good idea. It's a rather maintenance intense module.

However, optimizing access is certainly something that's possible, e.g. by placing the few variables that are actually needed by site.py into a bootstrap module for sysconfig, which only contains the few variables needed by interpreter startup.

Alternatively, sysconfig data could be made available via a C lookup function; with the complete dictionary only being created on demand. get_config_var() already is such a lookup API which could be used as front-end.
History
Date User Action Args
2017-02-17 11:45:59lemburgsetrecipients: + lemburg, vstinner, christian.heimes, methane
2017-02-17 11:45:59lemburgsetmessageid: <1487331959.6.0.49591003398.issue29585@psf.upfronthosting.co.za>
2017-02-17 11:45:59lemburglinkissue29585 messages
2017-02-17 11:45:59lemburgcreate