Ryan Coyner <rcoy...@gmail.com> added the comment: Patch attached. Unit test and documentation included.
COMMITMSG: Adds a new fixer to lib2to3 which replaces the deprecated builtin "file" with "open". ---------- keywords: +patch nosy: +rcoyner Added file: http://bugs.python.org/file16392/issue7162.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7162> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com