Author: Brian Kearns <[email protected]>
Branch:
Changeset: r70090:4e0378f68161
Date: 2014-03-19 07:27 -0400
http://bitbucket.org/pypy/pypy/changeset/4e0378f68161/
Log: fix last commit
diff --git a/pypy/interpreter/baseobjspace.py b/pypy/interpreter/baseobjspace.py
--- a/pypy/interpreter/baseobjspace.py
+++ b/pypy/interpreter/baseobjspace.py
@@ -465,6 +465,7 @@
if isinstance(w_mod, Module):
if not reuse and w_mod.startup_called:
# Create a copy of the module
+ w_mod.getdict(self) # unlazy w_initialdict
w_new = self.wrap(Module(self, w_name))
self.call_method(w_new.getdict(self), 'update',
w_mod.w_initialdict)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit