]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Patch #1464708 from William McVey: fixed handling of nested comments in mail
authorBarry Warsaw <barry@python.org>
Sun, 30 Apr 2006 21:26:41 +0000 (21:26 +0000)
committerBarry Warsaw <barry@python.org>
Sun, 30 Apr 2006 21:26:41 +0000 (21:26 +0000)
commitdca37679df92a629a27eca4cfa679c1e9f47d488
treeafff1e7e0d68ddf3bc35bda8a334ffe8d99831dc
parent8ac119237a0100ca65211be7a0459bf84c983de1
Patch #1464708 from William McVey: fixed handling of nested comments in mail
addresses.  E.g.

"Foo ((Foo Bar)) <foo@example.com>"

Fixes for both rfc822.py and email package.  This patch needs to be back
ported to Python 2.3 for email 2.5 and forward ported to Python 2.5 for email
4.0.  (I'll do both soon)
Lib/email/_parseaddr.py
Lib/email/test/test_email.py
Lib/rfc822.py
Lib/test/test_rfc822.py