Brett Cannon <br...@python.org> added the comment: Turns out that an ImportError should be raised when a bytecode object contains a non-code object. My next patch which makes SourceLoader the primary loader will have the fix.
---------- components: +Library (Lib) resolution: -> accepted type: -> behavior versions: +Python 3.2 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9096> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com