diff options
author | Greg Ward <gward@python.net> | 2000-09-15 01:15:08 (GMT) |
---|---|---|
committer | Greg Ward <gward@python.net> | 2000-09-15 01:15:08 (GMT) |
commit | 879f0f11ba8b8d8098916235e1b5931a3eb6c8b5 (patch) | |
tree | 5103f60343588c3184b6586cdab8cf46e881a80a /Lib/xml | |
parent | 3fff8d2969f9b7298d12991432c9de45bf56357b (diff) | |
download | cpython-879f0f11ba8b8d8098916235e1b5931a3eb6c8b5.zip cpython-879f0f11ba8b8d8098916235e1b5931a3eb6c8b5.tar.gz cpython-879f0f11ba8b8d8098916235e1b5931a3eb6c8b5.tar.bz2 |
Changed from eager parsing of Makefile (at import time) to lazy: only do
all that work when someone asks for a "configuration variable" from the
Makefile. Details:
- added 'get_config_vars()': responsible for calling one of the
'_init_*()' functions to figure things out for this platform,
and to provide an interface to the resulting dictionary
- added 'get_config_var()' as a simple interface to the dictionary
loaded by 'get_config_vars()'
- changed the '_init_*()' functions so they load the global dictionary
'_config_vars', rather than spewing their findings all over
the module namespace
- don't delete the '_init_*()' functions when done importing
- adjusted 'customize_compiler()' to the new regime
Diffstat (limited to 'Lib/xml')
0 files changed, 0 insertions, 0 deletions