R. David Murray <rdmur...@bitdance.com> added the comment:

OK.  It doesn't seem all that likely that we'll be adding parameters, but you 
never know.  So I'm OK with file becoming keyword only.

As for the overview headers...if they aren't decoded through decode_header 
already, why are they unicode?  If they haven't been decoded, I'd expect them 
to be bytes.  Or does the standard really say that these headers, extracted 
from the bytes message data, will be valid utf-8?  (I realize that as things 
stand now with email5 you'll in fact *have* to decode them in order to process 
them with decode_header, but that doesn't change the fact that if they are 
unicode I would expect that they'd be *fully* decoded.)

But I take your point about the datatypes otherwise.  Also, when we get to 
email6 all headers should be turned into Header objects, and there will be a 
way to get a datetime out of a Date Header object.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue9360>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to