diff options
| author | Barry Warsaw <barry@python.org> | 2002-10-14 15:13:17 (GMT) |
|---|---|---|
| committer | Barry Warsaw <barry@python.org> | 2002-10-14 15:13:17 (GMT) |
| commit | 5e3bcff651f77bd7504751a581b4db7d4b937cac (patch) | |
| tree | 69fb9946c3d51ae9534211e9f99d6d2d965bd9ca /Lib/compiler | |
| parent | 6c2bc4635539765dc267094b95e0ef8f0ce9053a (diff) | |
| download | cpython-5e3bcff651f77bd7504751a581b4db7d4b937cac.zip cpython-5e3bcff651f77bd7504751a581b4db7d4b937cac.tar.gz cpython-5e3bcff651f77bd7504751a581b4db7d4b937cac.tar.bz2 | |
__init__(): Fix an invariant, that the charset item in a chunk tuple
must be a Charset instance, not a string. The bug here was that
self._charset wasn't being converted to a Charset instance so later
.append() calls which used the default charset would break.
_split(): If the charset of the chunk is '8bit', return the chunk
unchanged. We can't safely split it, so this is the avenue of least
harm.
Diffstat (limited to 'Lib/compiler')
0 files changed, 0 insertions, 0 deletions
