[issue12922] StringIO and seek()

2015-09-19 Thread Martin Panter
Martin Panter added the comment: Opened Issue 25190 about the enhancing StringIO side of this. -- ___ Python tracker ___ ___ Python-bu

[issue12922] StringIO and seek()

2012-01-21 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker ___ __

[issue12922] StringIO and seek()

2012-01-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset 03e61104f7a2 by Antoine Pitrou in branch '3.2': Issue #12922: fix the TextIOBase documentation to include a description of seek() and tell() methods. http://hg.python.org/cpython/rev/03e61104f7a2 New changeset f7e5abfb31ea by Antoine Pitrou in bra

[issue12922] StringIO and seek()

2011-12-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: I would rather document it in TextIOBase: http://docs.python.org/dev/library/io.html#io.TextIOBase With text I/O streams, tell() returns an arbitrary "position cookie", meaning you can't meaningfully do arithmetic on it: this is why cur-relative seeking and e

[issue12922] StringIO and seek()

2011-12-21 Thread Martin Panter
Changes by Martin Panter : -- nosy: +vadmium ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue12922] StringIO and seek()

2011-09-07 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- components: +IO stage: test needed -> needs patch type: behavior -> feature request ___ Python tracker ___

[issue12922] StringIO and seek()

2011-09-07 Thread Pierre Quentel
Changes by Pierre Quentel : -- nosy: +quentel ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue12922] StringIO and seek()

2011-09-06 Thread Terry J. Reedy
New submission from Terry J. Reedy : First, there is a minor documentation issue. 15.2.3.1. I/O Base Classes class io.IOBase seek(offset, whence=SEEK_SET) Change the stream position to the given byte offset Since StringIO seeks by code units that should perhaps say 'byte or code unit offset' o