Marc-Andre Lemburg added the comment:

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.

----------
nosy: +lemburg

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue29585>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to