[issue1759169] clean up Solaris port and allow C99 extension modules

John Levon report at bugs.python.org
Mon Feb 16 15:28:44 CET 2009


John Levon <movement at users.sourceforge.net> added the comment:

Zooko, the patches are available here:

http://src.opensolaris.org/source/xref/jds/spec-files/trunk/patches/

> Then you were arguing that defining _XOPEN_SOURCE is wrong if the value

Actually, I was saying that below that value simply won't work for many
extensions.

> What about setting the value to 600 or larger? Is that also wrong,
> and if so, why?

Practically: I don't know for sure about a larger value. As it is
presumably very close to POSIX, it shouldn't significantly harm the
ability to compile stuff. I can't say for sure. However, specifying
_XOPEN_SOURCE is still unnecessary I believe.

Theoretically: yes, it's wrong for Python to claim that all extensions
are compliant to a particular XPG environment.

If it helps, Martin, I can put you in touch with our standards expert.
I'm far from such, so this might help assuage your doubts?

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


More information about the Python-bugs-list mailing list