[Python-Dev] Offer of help: http://bugs.python.org/issue10910

Barry Scott barry at barrys-emacs.org
Sun Jun 24 14:52:04 CEST 2012


I see that issue 10910 needs a reviewer for a patch.

I know the python code and C++ and offer to review
any patches to fix this issue.

Having updated Xcode on my Mac I'm having to code
workarounds for this issue.

My understanding is that you cannot define
ispace, toupper etc as macros in C++ environment.
These are defined as functions in C++.

The minimum patch would #ifdef out the offending
lines in byte_methods.h and pyport.h if compiling
for C++.

I'm going to be releasing a PyCXX release to work around
this issue.

Barry



More information about the Python-Dev mailing list