[issue1759169] clean up Solaris port and allow C99 extension modules
anders musikka
report at bugs.python.org
Sat Jan 2 15:28:35 CET 2010
anders musikka <anders.musikka at gmail.com> added the comment:
Just wanted to chip in my $.02:
Defining _XOPEN_SOURCE in the python headers causes problems for
Solaris. It also causes problems for Ubuntu Linux.
Because _XOPEN_SOURCE is defined, Python.h must included first in any
program under Ubuntu.
Perhaps the right fix is to just not define _XOPEN_SOURCE at all? Which
platforms disable important features when you don't define _XOPEN_SOURCE?
Sometimes there are standards which nobody follows. In such cases it can
be advantageous to "just do what everyone expects".
----------
nosy: +avl
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1759169>
_______________________________________
More information about the Python-bugs-list
mailing list