commit | 17cec70a38b297779b8fd3f081fb041d45ae1dff | [log] [tgz] |
---|---|---|
author | Serhiy Storchaka <storchaka@gmail.com> | Mon Feb 12 20:16:42 2018 +0200 |
committer | GitHub <noreply@github.com> | Mon Feb 12 20:16:42 2018 +0200 |
tree | e3545c6f1e41d358d42d30f9fecd53658697478d | |
parent | 40290647167d96752b924ff109cc527aca729872 [diff] [blame] |
bpo-30109: Fix reindent.py for non-ASCII files. (#5637) It now processes files as binary streams. This also fixes "make reindent".
diff --git a/Lib/email/utils.py b/Lib/email/utils.py index a74db42..5b22521 100644 --- a/Lib/email/utils.py +++ b/Lib/email/utils.py
@@ -213,7 +213,7 @@ def parseaddr(addr): """ Parse addr into its constituent realname and email address parts. - + Return a tuple of realname and email address, unless the parse fails, in which case return a 2-tuple of ('', ''). """