Benjamin Peterson benja...@python.org added the comment:
Fixed in r76805. I think I got all the cases...
--
nosy: +benjamin.peterson
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7349
New submission from Jean-Paul Calderone exar...@divmod.com:
The actual file type rejects None in places like as the argument to read
or readlines. StringIO.StringIO, io.BytesIO, and io.StringIO all accept
None to mean the same as passing no argument at all.
This makes it tricky to write code
Philip Jenvey pjen...@underboss.org added the comment:
The original pure-python impl. of io accepted None, and still does. This
is a regression in C impl.
--
nosy: +pjenvey
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7349
Changes by R. David Murray rdmur...@bitdance.com:
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7349
___
___
Python-bugs-list