[Python-Dev] PYTHON_API_VERSION and threading
Jack Jansen
jack@oratrix.nl
Fri, 07 Apr 2000 16:19:36 +0200
> > Something that just struck me: couldn't we use a couple of bits in the
> > PYTHON_API_VERSION to check various other things that make dynamic modules
> > break? WITH_THREAD is the one I just ran in to, but there's a few others such
> > as the object refcounting statistics and platform-dependent things like the
> > debug/nodebug compilation on Windows.
>
> I'm curious what combination didn't work? The thread APIs are
> supposed to be designed so that all combinations work -- the APIs are
> always present, they just don't do anything in the unthreaded
> version.
Oops, the problem was mine: not only was the extension module compiled without
threading, but also with the previous version of the I/O library used on the
mac. Silly me.
--
Jack Jansen | ++++ stop the execution of Mumia Abu-Jamal ++++
Jack.Jansen@oratrix.com | ++++ if you agree copy these lines to your sig ++++
www.oratrix.nl/~jack | see http://www.xs4all.nl/~tank/spg-l/sigaction.htm