[issue3521] file.readline: bad exception recovery

Guido van Rossum report at bugs.python.org
Fri Aug 8 00:53:36 CEST 2008


Guido van Rossum <guido at python.org> added the comment:

Good catch!

This looks pretty simple to fix; I think a type check is missing
(actually several, there are at least two implementations in io.py).

In fact, the 2.6 version of io.py already has the necessary checks. 
(But merging those forward is not 100% trivial since in 3.0 the 'long'
type doesn't exist.)

----------
keywords: +easy
nosy: +gvanrossum

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3521>
_______________________________________


More information about the Python-bugs-list mailing list