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 serhiy.storchaka
Recipients Arfrever, benjamin.peterson, georg.brandl, larry, pitrou, r.david.murray, serhiy.storchaka
Date 2013-02-03.09:07:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1359882448.37.0.250448739619.issue17106@psf.upfronthosting.co.za>
In-reply-to
Content
This bug exists also in 2.7.

I doubt about an exception type. On one hand, TypeError looks naturally here and exception of this type implicitly raised by Python implementation. On other hand, there is a precedent in __iter__() which raises IOError when readline() returns non-string.
History
Date User Action Args
2013-02-03 09:07:28serhiy.storchakasetrecipients: + serhiy.storchaka, georg.brandl, pitrou, larry, benjamin.peterson, Arfrever, r.david.murray
2013-02-03 09:07:28serhiy.storchakasetmessageid: <1359882448.37.0.250448739619.issue17106@psf.upfronthosting.co.za>
2013-02-03 09:07:28serhiy.storchakalinkissue17106 messages
2013-02-03 09:07:28serhiy.storchakacreate