]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Make TextIOWrapper's seek/tell work properly with stateful decoders;
authorKa-Ping Yee <ping@zesty.ca>
Tue, 18 Mar 2008 04:51:32 +0000 (04:51 +0000)
committerKa-Ping Yee <ping@zesty.ca>
Tue, 18 Mar 2008 04:51:32 +0000 (04:51 +0000)
commitf44c7e8996d8115739b52fa52896f2f9f7d94142
treee25ae7401c2d6d21c3b75e8990df79b7dca52949
parentb5dc90b5faee55dc42e2034b7510e972ac090fdb
Make TextIOWrapper's seek/tell work properly with stateful decoders;
document and rename things to make seek/tell workings a little clearer.

Add a weird decoder for testing TextIOWrapper's seek/tell methods.

Document the getstate/setstate protocol conventions for IncrementalDecoders.
Lib/codecs.py
Lib/io.py
Lib/test/test_io.py