This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ronaldoussoren
Recipients X-Istence, meador.inge, ndousis, ronaldoussoren
Date 2011-05-07.08:13:11
SpamBayes Score 2.3692228e-09
Marked as misclassified No
Message-id <1304755994.15.0.609809429068.issue10910@psf.upfronthosting.co.za>
In-reply-to
Content
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++.
History
Date User Action Args
2011-05-07 08:13:14ronaldoussorensetrecipients: + ronaldoussoren, meador.inge, X-Istence, ndousis
2011-05-07 08:13:14ronaldoussorensetmessageid: <1304755994.15.0.609809429068.issue10910@psf.upfronthosting.co.za>
2011-05-07 08:13:12ronaldoussorenlinkissue10910 messages
2011-05-07 08:13:11ronaldoussorencreate