summaryrefslogtreecommitdiffstats
path: root/Lib/commands.py
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2002-10-13 04:06:28 (GMT)
committerBarry Warsaw <barry@python.org>2002-10-13 04:06:28 (GMT)
commit0c358258c9c4b61659867f7feb140a6ac0e54ed1 (patch)
tree924e747660abdddf9a44f69f284e5f2a19ea5911 /Lib/commands.py
parentab9439fdd48845e5fe7e75d0cdb7e8e8187e17fd (diff)
downloadcpython-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/commands.py')
0 files changed, 0 insertions, 0 deletions