[issue6504] infinite recursion from calling builtins.open()

Georg Brandl report at bugs.python.org
Sat Jul 18 12:17:56 CEST 2009


Georg Brandl <georg at python.org> added the comment:

First, the second bug isn't a bug since that restriction has been lifted
in Python 3.

The original issue occurs because open() for text modes imports the
"locale" module. This is kind of nasty, because calling open() is well
within what a find_module() implementation should be able to do. Antoine?

----------
assignee:  -> pitrou
nosy: +georg.brandl, pitrou

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


More information about the Python-bugs-list mailing list