kai zhu <kaizhu...@gmail.com> added the comment: recursion also goes away if we open as raw bytes: open("foo.txt", "rb"). modes "r+" & "w" also give infinite recursion, while "rb+" & "wb" do not.
note found another bug: instance method find_module should raise exception anyway, since its class was uninstantiated in sys.meta_path (proper behavior in python2.6) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue6504> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com