[Python-Dev] [Email-SIG] Dropping bytes "support" in json
Barry Warsaw
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. :)
-Barry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 304 bytes
Desc: This is a digitally signed message part
URL: <http://mail.python.org/pipermail/python-dev/attachments/20090410/e6382e3d/attachment.pgp>
More information about the Python-Dev
mailing list