[Zope] Threaded Python 1.5.2b2 can break ExtensionClasses

Phil Harris wmlph@d033.ml.uwcm.ac.uk
Fri, 19 Feb 1999 08:38:53 -0000


Oh good it's not just me, I compiled Python with threads to get ZServer
working then, all of a sudden, ZHTTPServer don't work no more.  So I took
the threads out and lo and behold it works again, (8^)).

The symptoms I'm getting are that ZHTTPServer just sort of sits there and
does nothing.  No errors in the log, nothing.

I think I'll try this fix 8^).

See ya

Phil
----- Original Message -----
From: Brian Lenihan <brianl@prognet.com>
To: <zope@zope.org>
Sent: Friday, February 19, 1999 12:24 AM
Subject: [Zope] Threaded Python 1.5.2b2 can break ExtensionClasses


>
>Using Python1.5.2.b2 configured using "--with-threads" on a Linux glibc
>box, I found my Zope installation to be broken (1.10pr1)
>
>>From the Python1.5.2b2 ChangeLog:
>  - Rolled back the API version change -- it's back to 1007
>
>Zope/lib/Component/ExtensionClass/ThreadLock.c, line 54:
>#if PYTHON_API_VERSION > 1007
>
>I rebuilt Zope after changing the #define to ">=" and everything is fine.
>
>_______________________________________________
>Zope maillist  -  Zope@zope.org
>http://www.zope.org/mailman/listinfo/zope
>