Author: Armin Rigo <[email protected]>
Branch: ec-threadlocal
Changeset: r72166:a34550fc5717
Date: 2014-06-23 19:25 +0200
http://bitbucket.org/pypy/pypy/changeset/a34550fc5717/
Log: Fix checkmodule()
diff --git a/pypy/objspace/fake/objspace.py b/pypy/objspace/fake/objspace.py
--- a/pypy/objspace/fake/objspace.py
+++ b/pypy/objspace/fake/objspace.py
@@ -314,6 +314,9 @@
t = TranslationContext(config=config)
self.t = t # for debugging
ann = t.buildannotator()
+ def _do_startup():
+ self.threadlocals.enter_thread(self)
+ ann.build_types(_do_startup, [], complete_now=False)
if func is not None:
ann.build_types(func, argtypes, complete_now=False)
if seeobj_w:
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit