[issue7902] relative import broken

Brett Cannon report at bugs.python.org
Wed Feb 10 22:11:37 CET 2010


Brett Cannon <brett at python.org> added the comment:

So doing the import manually through __import__('os', globals(), locals(), ['walk'], 1) does not work. My guess is it has something to do with the IMPORT_FROM opcode (or something related), but I don't have time right now to dig deeper.

----------

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


More information about the Python-bugs-list mailing list