[issue13393] Improve BufferedReader.read1()

2011-11-18 Thread Antoine Pitrou
Antoine Pitrou added the comment: I've committed a slightly modified patch. Not a huge improvement, but makes sense nevertheless (and it's really short). -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ P

[issue13393] Improve BufferedReader.read1()

2011-11-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset 76d414cc3e38 by Antoine Pitrou in branch 'default': Issue #13393: In TextIOWrapper.read(n), try to read `n` characters as http://hg.python.org/cpython/rev/76d414cc3e38 -- ___ Python tracker

[issue13393] Improve BufferedReader.read1()

2011-11-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 27bf3d0b8e5f by Antoine Pitrou in branch 'default': Issue #13393: BufferedReader.read1() now asks the full requested size to http://hg.python.org/cpython/rev/27bf3d0b8e5f -- nosy: +python-dev ___ Python

[issue13393] Improve BufferedReader.read1()

2011-11-14 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +neologix, sbt ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue13393] Improve BufferedReader.read1()

2011-11-12 Thread Antoine Pitrou
Changes by Antoine Pitrou : Added file: http://bugs.python.org/file23676/textioread.patch ___ Python tracker ___ ___ Python-bugs-list mailing

[issue13393] Improve BufferedReader.read1()

2011-11-12 Thread Antoine Pitrou
New submission from Antoine Pitrou : The main current user of BufferedReader.read1() is TextIOWrapper. In this context, read1() is used to signal that we want to bypass binary buffering as much as possible, since TextIOWrapper does its own buffering. The current read1() implementation is there