[issue4533] 3.0 file.read dreadfully slow

Gregory P. Smith report at bugs.python.org
Fri Dec 5 08:43:32 CET 2008


Gregory P. Smith <greg at krypto.org> added the comment:

fileio_buffer2.patch looks good other than minor touchups:

Turn the XXX comment into:

/* NOTE: overflow impossible due to limits on BUFSIZ *

Also, 2 << 24 is 32MB yet your error message test says >= 64MB.  I think
you meant 1 << 26.

fix those and commit. :)

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4533>
_______________________________________


More information about the Python-bugs-list mailing list