diff options
author | Barry Warsaw <barry@python.org> | 2003-03-06 05:14:20 +0000 |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 2003-03-06 05:14:20 +0000 |
commit | 0ed81c35a79209405df249921b3382ddef6284ff (patch) | |
tree | 1e2858032ba173663c9200a4da47f5e238c4de5b /Lib/email/Header.py | |
parent | e8577b7298c758966e685bf068a148746608de85 (diff) | |
download | cpython-git-0ed81c35a79209405df249921b3382ddef6284ff.tar.gz |
Merge of the folding-reimpl-branch. Specific changes,
_max_append(): Change the comparison so that the new string is
concatenated if it's less than or equal to the max length.
header_encode(): Allow for maxlinelen == None to mean, don't do any
line splitting. This is because this module is mostly used by higher
level abstractions (Header.py) which already ensures line lengths. We
do this in a cheapo way by setting the max_encoding to some insanely
<100k wink> large number.
Diffstat (limited to 'Lib/email/Header.py')
0 files changed, 0 insertions, 0 deletions