commit | 0ed81c35a79209405df249921b3382ddef6284ff | [log] [tgz] |
---|---|---|
author | Barry Warsaw <barry@python.org> | Thu Mar 06 05:14:20 2003 +0000 |
committer | Barry Warsaw <barry@python.org> | Thu Mar 06 05:14:20 2003 +0000 |
tree | 1e2858032ba173663c9200a4da47f5e238c4de5b | |
parent | e8577b7298c758966e685bf068a148746608de85 [diff] |
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.