This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author amaury.forgeotdarc
Recipients LambertDW, amaury.forgeotdarc, christian.heimes
Date 2008-10-30.08:46:13
SpamBayes Score 4.946757e-07
Marked as misclassified No
Message-id <1225356374.68.0.87455818626.issue4237@psf.upfronthosting.co.za>
In-reply-to
Content
'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([])
History
Date User Action Args
2008-10-30 08:46:14amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, christian.heimes, LambertDW
2008-10-30 08:46:14amaury.forgeotdarcsetmessageid: <1225356374.68.0.87455818626.issue4237@psf.upfronthosting.co.za>
2008-10-30 08:46:14amaury.forgeotdarclinkissue4237 messages
2008-10-30 08:46:13amaury.forgeotdarccreate