[Python-Dev] Patch making the current email package (mostly) support bytes

Barry Warsaw barry at python.org
Mon Oct 4 19:41:09 CEST 2010

On Oct 02, 2010, at 07:00 PM, R. David Murray wrote:

>The advantage of this patch is that it means Python3.2 can have an
>email module that is capable of handling a significant proportion of
>the applications where the ability to process binary email data is

Like others, I'm concerned that we're perpetuating the Python 2 problems with
bytes vs. strings.  OTOH, I went down a similar road (though much more hacky
and less successful) in one of my failed branches, so I sympathize with this
nod to practicality that actually works.

If the choice is the current brokenness staying in Python 3.2 or this hack
being added for now, I'd go with the latter.  email6 will make it all better,
right? :)  In the meantime, I do think it would be good to give our users
something that's practical.

>I've uploaded the patch to issue 4661 (http://bugs.python.org/issue4661). I
>uploaded it to rietveld as well just before Martin's announcement. After the
>announcement I uploaded the svn patch to the tracker, so hopefully there will
>be an automated review button as well.  Here is your chance to exercise the
>new review tools :)

I see no automatically generated link to the review, but I did add some
comments to the Rietveld issue you linked to in one of your comments.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-dev/attachments/20101004/5a7a0657/attachment.pgp>

More information about the Python-Dev mailing list