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

Zooko O'Whielacronx report at bugs.python.org
Mon Feb 16 06:02:20 CET 2009

Zooko O'Whielacronx <zooko at zooko.com> added the comment:

Martin (sometimes called "MvL") mentioned some specific issues about e.g.

#pragma redefine_extname sigwait __posix_sigwait

I didn't understand exactly what MvL's concern was, and I don't know off
the top of my head how Solaris sigwait behavior differs with
_XOPEN_SOURCE, and I haven't taken the time to investigate yet, so I
haven't replied.

(Of course, last time I was in that state and I dropped the ball, this
ticket stayed quiet for a full year...)

Perhaps John Levon could inquire what semantics MvL is concerned about
and let him know what the Solaris behavior is.  I think it would be cool
if the python executable that people use on Solaris were closer to
upstream python.  Currently, as I've mentioned, the Solaris folks
maintain some kind of tool (I think it is a perl script) which searches
and replaces "#define _XOPEN_SOURCE" to empty as well as applying a few
patches.  It would be great if the Solaris and Python folks would
cooperate to close that gap.

Speaking of which, if John Levon or other Solaris folk are reading --
where are those patches?  This file mentions a bunch of patches,
starting with:


     28 Patch1:                  Python-01-solaris-lib-dirs.diff

But I can't seem to find "Python-01-solaris-lib-dirs.diff".



Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list