[issue2353] Use of file.xreadlines() should raise a Py3K warning

Douglas Mayle report at bugs.python.org
Mon Mar 17 23:35:03 CET 2008


Douglas Mayle <douglas at openplans.org> added the comment:

Since file() is removed from 3k, this error message tries to be as
generic as possible.  We should also warn on any use of file() instead
of open()
Also, all tests have passed except test_normalization

----------
keywords: +patch
Added file: http://bugs.python.org/file9705/issue2353.patch

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2353>
__________________________________


More information about the Python-bugs-list mailing list