[issue21121] -Werror=declaration-after-statement is added even for extension modules through setup.py

Stefan Krah report at bugs.python.org
Sun May 4 22:15:39 CEST 2014


Stefan Krah added the comment:

One more question:

I think it's nicer to add CFLAGS_NODIST to 'renamed_variables' in
Lib/sysconfig.py:265:

    renamed_variables = ('CFLAGS', 'CFLAGS_NODIST', 'LDFLAGS', 'CPPFLAGS')

That way it's possible to look up CFLAGS_NODIST directly.



For consistency, we can do the same for Lib/distutils/sysconfig.py,
where the variable would be purely informational.

----------

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


More information about the Python-bugs-list mailing list