summaryrefslogtreecommitdiffstats
path: root/Lib/difflib.py
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2004-08-07 15:57:52 (GMT)
committerBarry Warsaw <barry@python.org>2004-08-07 15:57:52 (GMT)
commit8896bf56a2955c2bb5d380a7e6cfed044f10b869 (patch)
tree9c78ef341e3020142a56239d850e420b84ff22e3 /Lib/difflib.py
parent14d535c3d45010919cb1fc2e3830f24041ae02c5 (diff)
downloadcpython-8896bf56a2955c2bb5d380a7e6cfed044f10b869.zip
cpython-8896bf56a2955c2bb5d380a7e6cfed044f10b869.tar.gz
cpython-8896bf56a2955c2bb5d380a7e6cfed044f10b869.tar.bz2
Resolution of SF bug #1002475 and patch #1003693; Header lines that end in
\r\n only get the \n stripped, not the \r (unless it's the last header which does get the \r stripped). Patch by Tony Meyer. test_whitespace_continuation_last_header(), test_strip_line_feed_and_carriage_return_in_headers(): New tests. _parse_headers(): Be sure to strip \r\n from the right side of header lines.
Diffstat (limited to 'Lib/difflib.py')
0 files changed, 0 insertions, 0 deletions