[issue2374] Use of builtin file should give Py3k warning
Benjamin Peterson
report at bugs.python.org
Tue Mar 18 02:07:40 CET 2008
Benjamin Peterson <musiccomposition at gmail.com> added the comment:
Yeah, breaking isinstance(x, file) would be bad and 2to3 can do this
automatically. I should probably learn how to write fixers. BTW, the
warning culprit was actually site.py which used file.
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2374>
__________________________________
More information about the Python-bugs-list
mailing list