Message287990
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. |
|
Date |
User |
Action |
Args |
2017-02-17 11:45:59 | lemburg | set | recipients:
+ lemburg, vstinner, christian.heimes, methane |
2017-02-17 11:45:59 | lemburg | set | messageid: <1487331959.6.0.49591003398.issue29585@psf.upfronthosting.co.za> |
2017-02-17 11:45:59 | lemburg | link | issue29585 messages |
2017-02-17 11:45:59 | lemburg | create | |
|