[issue12922] StringIO and seek()

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

[issue12922] StringIO and seek()

2012-01-21 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za 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

[issue12922] StringIO and seek()

2012-01-21 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- resolution: - fixed stage: needs patch - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12922 ___

[issue12922] StringIO and seek()

2011-12-21 Thread Martin Panter
Changes by Martin Panter vadmium...@gmail.com: -- nosy: +vadmium ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12922 ___ ___ Python-bugs-list

[issue12922] StringIO and seek()

2011-12-21 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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

[issue12922] StringIO and seek()

2011-09-07 Thread Pierre Quentel
Changes by Pierre Quentel pierre.quen...@gmail.com: -- nosy: +quentel ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12922 ___ ___ Python-bugs-list

[issue12922] StringIO and seek()

2011-09-07 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- components: +IO stage: test needed - needs patch type: behavior - feature request ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12922 ___

[issue12922] StringIO and seek()

2011-09-06 Thread Terry J. Reedy
New submission from Terry J. Reedy tjre...@udel.edu: 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