From: Greg Ward Date: Wed, 19 Apr 2000 02:18:09 +0000 (+0000) Subject: Don't load the config.h file, even under Unix, because we never use the X-Git-Tag: v2.0b1~2018 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=434ef8fe942908c1c78a44271694f504eec4bc78;p=python Don't load the config.h file, even under Unix, because we never use the information from config.h. Code is still there in case someone in the future needs to parse an autoconf-generated config.h file. --- diff --git a/Lib/distutils/sysconfig.py b/Lib/distutils/sysconfig.py index f7c2e78326..c6341c105d 100644 --- a/Lib/distutils/sysconfig.py +++ b/Lib/distutils/sysconfig.py @@ -213,8 +213,6 @@ def parse_makefile(fp, g=None): def _init_posix(): """Initialize the module as appropriate for POSIX systems.""" g = globals() - # load the installed config.h: - parse_config_h(open(get_config_h_filename()), g) # load the installed Makefile: parse_makefile(open(get_makefile_filename()), g)