[Python-3000] [Python-3000-checkins] r54742 - in python/branches/p3yk/Lib: io.py test/test_io.py
walter at livinglogic.de
Wed Apr 11 10:10:20 CEST 2007
> Author: guido.van.rossum
> Date: Wed Apr 11 03:09:03 2007
> New Revision: 54742
> 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?
More information about the Python-3000