[Python-Dev] [Email-SIG] Dropping bytes "support" in json
barry at python.org
Fri Apr 10 20:55:23 CEST 2009
On Apr 10, 2009, at 2:00 PM, Glenn Linderman wrote:
> If one name has to be longer than the other, it should be the bytes
> version. Real user code is more likely to want to use the text
> version, and hopefully there will be more of that type of code than
> implementations using bytes.
I'm not sure we know that yet, actually. Nothing written for Python 2
counts, and email is too broken in 3 for any sane person to be writing
such code for Python 3.
> Of course, one could use message.header and message.bythdr and
> they'd be the same length.
I was trying to figure out what a 'thdr' was that we'd want to index
'by' it. :)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 304 bytes
Desc: This is a digitally signed message part
More information about the Python-Dev