Author: Antonio Cuni <[email protected]>
Branch: vmprof
Changeset: r74875:794e9137937b
Date: 2014-12-10 00:16 +0000
http://bitbucket.org/pypy/pypy/changeset/794e9137937b/
Log: make sure that the overridden PyFrame.execute_frame is seen before
we start translation
diff --git a/pypy/module/_vmprof/__init__.py b/pypy/module/_vmprof/__init__.py
--- a/pypy/module/_vmprof/__init__.py
+++ b/pypy/module/_vmprof/__init__.py
@@ -12,3 +12,7 @@
'enable': 'interp_vmprof.enable',
'disable': 'interp_vmprof.disable',
}
+
+ def setup_after_space_initialization(self):
+ # force the __extend__ hacks to occur early
+ import pypy.module._vmprof.interp_vmprof
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit