Eric Snow <ericsnowcurren...@gmail.com> added the comment: The problem is your level is off and the name is incomplete. master.pkgA.foo.py should have the following:
__import__('pkgB.bar', master.pkgA.__dict__, level=2).bar or __import__('pkgB.bar', master.pkgA.__dict__, fromlist=['-'], level=2) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue13912> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com