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

William Dode wilk-ml at flibuste.net
Mon Aug 30 16:01:53 CEST 2004


"Phillip J. Eby" <pje at telecommunity.com> writes:

> At 01:06 PM 8/30/04 +0400, Denis S. Otkidach wrote:
>>On Sun, 29 Aug 2004 22:38:57 -0500
>>Ian Bicking <ianb at colorstudy.com> wrote:
>>
>> > > * Make the 'headers' object an 'email.Message' (well, there's been some
>> > > feedback, but I think I addressed the concerns, and there was no
>> > > feedback since)
>> >
>> > I'm -0 on email.Message.
>>
>>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".

I also think email.Message is overkill for this and it can be very
surprising to see an "email message" here...

-- 
William Dodé - http://flibuste.net


More information about the Web-SIG mailing list