[Python-Dev] Is file.readlines(sizehint=N) broken on 2.7?
g.rodola at gmail.com
Fri Apr 5 20:24:43 CEST 2013
2013/4/5 INADA Naoki <songofacandy at gmail.com>:
> The builtin open() was replaced with io.open().
> It's difference between file.readlines() and io.IOBase.readlines().
Should that justify this difference in behavior?
Apparently on 2.X sizehint does not have any effect as far as I can see.
More information about the Python-Dev