[Python-Dev] Is file.readlines(sizehint=N) broken on 2.7? (original) (raw)
Giampaolo RodolĂ g.rodola at gmail.com
Fri Apr 5 20:24:43 CEST 2013
- Previous message: [Python-Dev] Is file.readlines(sizehint=N) broken on 2.7?
- Next message: [Python-Dev] Is file.readlines(sizehint=N) broken on 2.7?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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/
- Previous message: [Python-Dev] Is file.readlines(sizehint=N) broken on 2.7?
- Next message: [Python-Dev] Is file.readlines(sizehint=N) broken on 2.7?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]