diff options
| author | Barry Warsaw <barry@python.org> | 2002-10-13 04:06:28 (GMT) |
|---|---|---|
| committer | Barry Warsaw <barry@python.org> | 2002-10-13 04:06:28 (GMT) |
| commit | 0c358258c9c4b61659867f7feb140a6ac0e54ed1 (patch) | |
| tree | 924e747660abdddf9a44f69f284e5f2a19ea5911 /Lib/test/regex_tests.py | |
| parent | ab9439fdd48845e5fe7e75d0cdb7e8e8187e17fd (diff) | |
| download | cpython-0c358258c9c4b61659867f7feb140a6ac0e54ed1.zip cpython-0c358258c9c4b61659867f7feb140a6ac0e54ed1.tar.gz cpython-0c358258c9c4b61659867f7feb140a6ac0e54ed1.tar.bz2 | |
_encode_chunks(), encode(): Don't modify self._chunks. As Ben says:
Also, it fixes a really egregious error in Header.encode() (really
in Header._encode_chunks()) that could cause a header to grow and
grow each time encode() was called if output_codec was different
from input_codec.
Also, fix a typo.
Diffstat (limited to 'Lib/test/regex_tests.py')
0 files changed, 0 insertions, 0 deletions
