
June 7, 2019
9:05 p.m.
Hi Julien, I've created a draft pull request <https://github.com/python/cpython/pull/13852>. Looks like the next step is to register on b.p.o., sign the CLA, and open a bug on b.p.o., is that correct? William On Wed, Jun 5, 2019 at 4:58 PM Julien Palard <julien@palard.fr> wrote:
Hi William,
The problem is that it says "bytes", but in text mode, f.read(size) will return size characters.
You're right, thanks for reporting! Would you like to open a pull request on https://github.com/python/cpython to fix this? If you need any help in doing so, don't hesitate to ask.
(The file is here: https://github.com/python/cpython/blob/master/Doc/tutorial/inputoutput.rst )
Bests, -- Julien Palard https://mdk.fr