[Python-Dev] Is file.readlines(sizehint=N) broken on 2.7?
Giampaolo Rodolà
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.
--- Giampaolo
https://code.google.com/p/pyftpdlib/
https://code.google.com/p/psutil/
https://code.google.com/p/pysendfile/
More information about the Python-Dev
mailing list