commit | f4fdff715af7a9d595444065c523f8de5303895d | [log] [tgz] |
---|---|---|
author | Barry Warsaw <barry@python.org> | Mon Dec 30 19:13:00 2002 +0000 |
committer | Barry Warsaw <barry@python.org> | Mon Dec 30 19:13:00 2002 +0000 |
tree | 6c9123f5ffd767348334b55455c89e3e2cb74f5a | |
parent | 72261c9dfbaffb0e15f25f27c61a0001e1b4dbcb [diff] |
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.