Snakelets and WSGI

Robert Brewer fumanchu at amor.org
Wed Oct 13 16:53:55 CEST 2004


Alan Kennedy wrote:
> [Robert Brewer]
>  > Snakelets are more problematic, because WSGI heavily 
> prefers a "server
>  > pull" model over write() calls. You'd probably have to deprecate
>  > Snakelets as written (or wrap write() so it queues their output as
>  > well), replacing them eventually with a model that yields 
> values rather
>  > than calling write().
> 
> Hmm, that's a little heavy handed.

Only if you think I meant "immediately". Take a couple years and it
becomes a nice migration path. ;)


Robert Brewer
MIS
Amor Ministries
fumanchu at amor.org



More information about the Python-list mailing list