Benjamin Peterson <musiccomposition at gmail.com> added the comment: I believe Py_UNICODE_TYPE is set be configure in pyconfig.h. _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue3098> _______________________________________