]> granicus.if.org Git - python/commit
Header.__init__(), .append(): Add an optional argument `errors' which
authorBarry Warsaw <barry@python.org>
Mon, 30 Dec 2002 19:13:00 +0000 (19:13 +0000)
committerBarry Warsaw <barry@python.org>
Mon, 30 Dec 2002 19:13:00 +0000 (19:13 +0000)
commitf4fdff715af7a9d595444065c523f8de5303895d
tree6c9123f5ffd767348334b55455c89e3e2cb74f5a
parent72261c9dfbaffb0e15f25f27c61a0001e1b4dbcb
Header.__init__(), .append(): Add an optional argument `errors' which
is passed straight through to the unicode() and ustr.encode() calls.
I think it's the best we can do to address the UnicodeErrors in badly
encoded headers such as is described in SF bug #648119.
Lib/email/Header.py