Ronald Oussoren <ronaldousso...@mac.com> added the comment: The problem is that pyport tries to replace the ctypes definion of the isascii(ch) and related functions by a replacement that works better with UTF-8 on FreeBSD and OSX. That replacement is incompatible with the localfwd.h header.
The attached patch is a very crude hack that should fix the issue for this. This assumes that Python itself won't be compiled with C++ though, and might cause problems in C++ programs that use locale.h instead of localfwd.h. As such I won't apply the patch just yet, the patch needs review from someone that's more experienced w.r.t. C++. ---------- keywords: +needs review, patch stage: -> patch review Added file: http://bugs.python.org/file21917/issue10910.txt _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10910> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com