guido.van.rossum wrote:

> Author: guido.van.rossum
> Date: Wed Apr 11 03:09:03 2007
> New Revision: 54742
> 
> Modified:
>    python/branches/p3yk/Lib/io.py
>    python/branches/p3yk/Lib/test/test_io.py
> Log:
> Checkpoint so I can continue to work on this at a different box.
> There is somewhat working (but slow) code supporting seek/tell for text files,
> but extensive testing exposes a bug I can't nail down.
> 
> 
> Modified: python/branches/p3yk/Lib/io.py
> [...]
> +        decoder_state = pickle.dumps(self._decoder, 2)

Would it make sense to make the state of the decoder public, e.g. by 
adding setstate() and getstate() methods? This would give a cleaner API.

Should I work on a patch?

Servus,
    Walter
_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to