Re: [Pyobjc-dev] threading and pyobjc? (Suggestions wanted)
Brought to you by:
ronaldoussoren
From: <joa...@ma...> - 2005-02-10 14:12:26
|
Bob Ippolito wrote: > The WebServicesTool example does use threads directly. XML-RPC=20 > doesn't handle its own threading. The example you gave isn't really=20 > sufficient to give any suggestions. > > An alternative is using Twisted, which is asynchronous and provides=20 > Cocoa runloop integration (you must use Twisted from SVN though, 1.3.0=20 > doesn't work with PyObjC 1.1 and later and a patch was never=20 > released). There are also examples for that. > > -bob > Ok I have been looking a bit at the Twisted docs and examples( I=20 mistakenly thought Twisted was a part of XML-RPC, that and the comment=20 in the ReadMe about not being a multi-threaded app led me to believe=20 that it didn`t use threads), it seems that Twisted might be what I am=20 looking for. I downloaded Twisted from SVN via "svn co=20 svn://svn.twistedmatrix.com/svn/Twisted/trunk Twisted". There are zero=20 installation directions however (or they are very well hidden), and the=20 online documentation also seem to be void except for some reference to=20 debian. Could you please give me some hints as how to install this?=20 About the dependencies (pyOpenSSL, pycrypto and SOAPpy) to Twisted are=20 the once on http://undefined.org/python/pimp/ up to date, or do I need=20 newer versions of these also? Thanks in advance Joachim M=E5rtensson |