embeddable Python web server (was 'derived from CGIHTTPServer.py')

Michael Ströder michael.stroeder at inka.de
Sat Feb 19 15:10:02 EST 2000


Moshe Zadka wrote:
> 
> On Fri, 18 Feb 2000, Michael [iso-8859-1] Ströder wrote:
> 
> > I guess I have to rewrite my synchronous code completely
> > if I want to write a medusa handler. Am i right?
> 
> Yep. Medusa is only syntactic sugar for a raw select(), which tends to
> make your code inside-out (so to speak). If you want to do it simply,
> consider mixing in ThreadingTCPServer and do it in threads.

But if I use threads I don't have to use Medusa at all...

Ciao, Michael.



More information about the Python-list mailing list