Brett Cannon added the comment: Not having __file__ defined is an odd issue as importlib.__init__ always comes from a file in CPython. I have no issue making the setting of the attribute conditional, though.
---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20884> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com