Armin Rigo <[email protected]> added the comment: A lot of things can subtly go wrong with this patch, because it creates a new module as an instance of the base class "Module", which can lead to all sorts of unexpected issues... For instance, if you do "del sys.modules['sys']; import sys" then you get a sys module that is not really a sys module, e.g. it would never have the attribute 'exc_type'... Unsure how to solve this.
________________________________________ PyPy bug tracker <[email protected]> <https://bugs.pypy.org/issue1514> ________________________________________ _______________________________________________ pypy-issue mailing list [email protected] https://mail.python.org/mailman/listinfo/pypy-issue
