[issue9807] deriving configuration information for different builds with the same prefix

Martin v. Löwis report at bugs.python.org
Mon Sep 13 22:07:29 CEST 2010


Martin v. Löwis <martin at v.loewis.de> added the comment:

> My (I think fairly straightforward) idea is to just compile the
> useful values in Makefile and config.h into _sysconfig.c and arrange
> for sysconfig to import that and check it first (fallback to parsing
> mf and conf.h).

You seem to suggest that by doing so, one can actually dispose of
pyconfig.h afterwards, as all information is in the module.

This is definitely not the case: pyconfig.h continues to be required,
as an include that is literally used when compiling extension modules.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9807>
_______________________________________


More information about the Python-bugs-list mailing list