Christian Heimes added the comment: WIN32 is required. Without WIN32 defined I'm getting errors in the locale module. _WINDOWS seems to be obsolete. __________________________________ Tracker <report at bugs.python.org> <http://bugs.python.org/issue1473> __________________________________