[issue10910] pyport.h FreeBSD/Mac OS X "fix" causes errors in C++ compilation

Ronald Oussoren report at bugs.python.org
Mon Jan 30 17:49:14 CET 2012


Ronald Oussoren <ronaldoussoren at mac.com> added the comment:

The only real fix I found is to introduce "Py_" prefixed versions of all definitions in ctypes.h that are used in Python (that is Py_isalnum) and use that throughout the python source tree.

That's a pretty invasive patch though and would probably be off-limit for 2.7 and 3.2.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10910>
_______________________________________


More information about the Python-bugs-list mailing list