Python based http server
Doug
zr7m08j02 at sneakemail.com
Sun Oct 12 13:46:24 EDT 2003
I thought the yield thing in Python 2.3 was a couritine implementation.
Is there a difference between generators and coroutines?
Alex Martelli wrote:
> Doug wrote:
>
>
>>I am thinking of using a Python based HTTP server instead of Apache.
>>
>>I would be interested in one that employed generators and coroutines. I
>>know those are fairly new features of python, so maybe nothing is
>>available yet.
>
>
> coroutines are not a part of Python. Twisted, the best way to write
> standalone Python HTTP servers, can use generators productively,
> see e.g. http://twistedmatrix.com/documents/howto/flow (but it will
> make little sense to you until you understand more about Twisted).
>
>
> Alex
>
More information about the Python-list
mailing list