[pypy-issue] [issue1514] module behaviour incompatibility which makes eventlet fail
Armin Rigo
tracker at bugs.pypy.org
Tue Apr 15 12:15:13 CEST 2014
Armin Rigo <armin.rigo at gmail.com> 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 <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1514>
________________________________________
More information about the pypy-issue
mailing list