summaryrefslogtreecommitdiffstats
path: root/Lib/formatter.py
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2002-12-30 19:13:00 (GMT)
committerBarry Warsaw <barry@python.org>2002-12-30 19:13:00 (GMT)
commitf4fdff715af7a9d595444065c523f8de5303895d (patch)
tree6c9123f5ffd767348334b55455c89e3e2cb74f5a /Lib/formatter.py
parent72261c9dfbaffb0e15f25f27c61a0001e1b4dbcb (diff)
downloadcpython-f4fdff715af7a9d595444065c523f8de5303895d.zip
cpython-f4fdff715af7a9d595444065c523f8de5303895d.tar.gz
cpython-f4fdff715af7a9d595444065c523f8de5303895d.tar.bz2
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.
Diffstat (limited to 'Lib/formatter.py')
0 files changed, 0 insertions, 0 deletions