Phillip J. Eby ha scritto:
> At 08:34 PM 1/17/2008 +0100, Manlio Perillo wrote:
>> Hi.
>>
>> What is the rationale for Headers._headers being private?
> 
> The code was mostly a copy-and-paste job from email.Message, which did 
> the same.  At one point, it might actually have been a subclass of 
> email.Message, and so it was required.
> 

Having the `_headers` private is ok for the email.Message, but I think 
it is wrong for wsgiref, since the Headers class is just a wrapper for 
the headers list.



Manlio Perillo

_______________________________________________
Web-SIG mailing list
Web-SIG@python.org
Web SIG: http://www.python.org/sigs/web-sig
Unsubscribe: 
http://mail.python.org/mailman/options/web-sig/archive%40mail-archive.com

Reply via email to