]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Backport 1.60 and 1.62:
authorRaymond Hettinger <python@rcn.com>
Sun, 6 Oct 2002 03:37:00 +0000 (03:37 +0000)
committerRaymond Hettinger <python@rcn.com>
Sun, 6 Oct 2002 03:37:00 +0000 (03:37 +0000)
commit6b7a7d24effe6c670e7c4dd594912bc5e3f10fcb
tree490fba5cba6fc45737131e90846863b5f26a638c
parent5c6ab4a2dd183b5c1d7b1b14010ccaec560dff8b
Backport 1.60 and 1.62:

Patch #586999: Fix multiline string in sendmail example.

smptlib did not handle empty addresses.
The problem was that it expected rfc822.parseaddr() to return None
upon a parse failure.  The actual, documented return value for a
parse failure is (None, None).
Closes SF bug 602029.
Lib/smtplib.py