[issue11311] StringIO.readline(0) returns incorrect results

2013-02-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7513bd184a01 by Serhiy Storchaka in branch '2.7': Issue #11311: StringIO.readline(0) now returns an empty string as all other http://hg.python.org/cpython/rev/7513bd184a01 -- nosy: +python-dev ___ Python

[issue11311] StringIO.readline(0) returns incorrect results

2013-02-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Fixed. Thank you for the report, Ville. -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11311

[issue11311] StringIO.readline(0) returns incorrect results

2013-02-12 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11311 ___ ___

[issue11311] StringIO.readline(0) returns incorrect results

2013-02-06 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- components: +IO keywords: +easy nosy: +serhiy.storchaka stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11311 ___

[issue11311] StringIO.readline(0) returns incorrect results

2013-02-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is a very simple patch. -- keywords: +patch stage: needs patch - patch review Added file: http://bugs.python.org/file28974/StringIO_readline0.patch ___ Python tracker rep...@bugs.python.org

[issue11311] StringIO.readline(0) returns incorrect results

2011-02-24 Thread Ville Skyttä
New submission from Ville Skyttä ville.sky...@iki.fi: Python 2.7 (r27:82500, Sep 16 2010, 18:02:00) [GCC 4.5.1 20100907 (Red Hat 4.5.1-3)] on linux2 Type help, copyright, credits or license for more information. import StringIO StringIO.StringIO(foo).readline(0) 'foo' I don't think this is

[issue11311] StringIO.readline(0) returns incorrect results

2011-02-24 Thread Alex
Alex alex.gay...@gmail.com added the comment: Fun fact: io.StringIO does the right thing, but _io and _pyio. -- nosy: +alex ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11311 ___