This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author r.david.murray
Recipients Lita.Cho, barry, berker.peksag, ezio.melotti, jesstess, maciej.szulik, python-dev, r.david.murray, rafales
Date 2016-01-02.22:24:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1451773477.09.0.355146250889.issue21815@psf.upfronthosting.co.za>
In-reply-to
Content
I rewrote the comments, and I changed the name of the test helper class from GmailHandler to BracketFlagHandler, since this is not gmail specific.  (There was a review comment about that that was missed, I guess).

I've applied this only to 3.6 because there is a backward compatibility concern, as I mention in the revised comments: if a server includes a ']' in the text portion, the new regex will parse it incorrectly.  (Which is why the rfc restriction exists in the first place.)  I'm hoping that this is very unlikely, but because it would be a nasty bug if it happens, I only feel comfortable applying it to 3.6.

Thanks Lita, and everyone who reviewed.
History
Date User Action Args
2016-01-02 22:24:37r.david.murraysetrecipients: + r.david.murray, barry, ezio.melotti, jesstess, python-dev, berker.peksag, maciej.szulik, Lita.Cho, rafales
2016-01-02 22:24:37r.david.murraysetmessageid: <1451773477.09.0.355146250889.issue21815@psf.upfronthosting.co.za>
2016-01-02 22:24:37r.david.murraylinkissue21815 messages
2016-01-02 22:24:36r.david.murraycreate