Le Tue, 10 Sep 2013 09:49:28 -0400,
Barry Warsaw <ba...@python.org> a écrit :
> On Sep 10, 2013, at 12:04 PM, Victor Stinner wrote:
> 
> >The http.client and email.message modules convert headers to lower
> >case, but keep the original case.
> 
> As RDM pointed out on the tracker, email headers aren't a great use
> case for this because they aren't really dictionaries.  They're lists
> with some dict-like syntax.

defaultdict(list)?



_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to