[issue24643] VS 2015 pyconfig.h #define timezone _timezone conflicts with timeb.h

Steve Dower report at bugs.python.org
Thu Jul 16 22:26:44 CEST 2015


Steve Dower added the comment:

It's not, but "#include <python.h>" in any extension will make it available for you, so it's very likely that extensions have simply used it without adding their own conditional compilation for the various interpretations of whether timezone is standard or not.

Bit of a strawman, granted. Maybe working at Microsoft has made me overly cautious about changes that could break *anyone* - it's a big deal in many groups here.

----------

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


More information about the Python-bugs-list mailing list