summaryrefslogtreecommitdiffstats
path: root/Lib/smtpd.py
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2004-10-09 21:08:30 (GMT)
committerBarry Warsaw <barry@python.org>2004-10-09 21:08:30 (GMT)
commitea7c7af10b72ec4f3c5ad2bb6beb1d3667ff978e (patch)
treefb408611cefcaa20026b6d172f4da6f837702cf5 /Lib/smtpd.py
parent19717fa33a58be7da6663711de9496c99d629df9 (diff)
downloadcpython-ea7c7af10b72ec4f3c5ad2bb6beb1d3667ff978e.zip
cpython-ea7c7af10b72ec4f3c5ad2bb6beb1d3667ff978e.tar.gz
cpython-ea7c7af10b72ec4f3c5ad2bb6beb1d3667ff978e.tar.bz2
__init__(): Coerce the input_charset to unicode (with ascii encoding) before
calling .lower() on it. This fixes the problem described in SF patch # 866982 where in the tr_TR.ISO-8859-9 locale, 'I'.lower() isn't 'i'. unicodes are locale insensitive.
Diffstat (limited to 'Lib/smtpd.py')
0 files changed, 0 insertions, 0 deletions