[Web-SIG] Re: Pending modifications to PEP 333

Denis S. Otkidach ods at strana.ru
Mon Aug 30 17:38:40 CEST 2004


On Mon, 30 Aug 2004 09:33:14 -0400
"Phillip J. Eby" <pje at telecommunity.com> wrote:

> >Below is a class we use for headers in our framework for several years.
> >I guess it's more comfortable than list of tuples or email.Message.
> >Anyway, we have to fix only "must have" interface, but not all useful
> >methods.
> 
> Hi Denis; thanks for the input.  Unfortunately, WSGI needs to either use a 
> class/type that's available in the Python standard library, or else a 
> simple protocol like "sequence of name,value pairs".

"sequence of name,value pairs" is OK - my class satisfies this interface if
you mean just iterable object when saying "sequence", and not real list.

-- 
Denis S. Otkidach
http://www.python.ru/      [ru]


More information about the Web-SIG mailing list