This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients benjamin.peterson, hynek, nikratio, pitrou, r.david.murray, serhiy.storchaka, stutzbach
Date 2013-07-24.22:04:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1374703459.4.0.166314053955.issue18524@psf.upfronthosting.co.za>
In-reply-to
Content
Ah, well. This is already fixed, then:

Python 3.4.0a0 (default:ae769deb45b2, Jul 20 2013, 19:28:41) 
[GCC 4.7.3] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import io
>>> raw = io.BytesIO(bytes(200))
>>> buffered = io.BufferedReader(raw, 10)
>>> while True:
...   buf = buffered.read1(20)
...   print("Got %d bytes" % len(buf))
...   if not buf:
...     break
... 
Got 20 bytes
Got 20 bytes
Got 20 bytes
Got 20 bytes
Got 20 bytes
Got 20 bytes
Got 20 bytes
Got 20 bytes
Got 20 bytes
Got 20 bytes
Got 0 bytes


However, 3.2 didn't get that improvement, sorry. See changeset 27bf3d0b8e5f and issue #13393.
History
Date User Action Args
2013-07-24 22:04:19pitrousetrecipients: + pitrou, benjamin.peterson, stutzbach, r.david.murray, nikratio, hynek, serhiy.storchaka
2013-07-24 22:04:19pitrousetmessageid: <1374703459.4.0.166314053955.issue18524@psf.upfronthosting.co.za>
2013-07-24 22:04:19pitroulinkissue18524 messages
2013-07-24 22:04:19pitroucreate