Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment:

'rt' is a valid mode for open() or io.open().
But io.FileIO is the unbuffered raw binary file...

Python 2.6 has exactly the same problem and displays the same
RuntimeWarning.

Christian, the change you propose does not fix another case:
>>> io.FileIO([])

_______________________________________
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue4237>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to