Author: Antonio Cuni <[email protected]>
Branch: gc-hooks
Changeset: r94199:e44493a28aeb
Date: 2018-03-31 15:08 +0200
http://bitbucket.org/pypy/pypy/changeset/e44493a28aeb/
Log: space.wrap is no longer rpython
diff --git a/pypy/module/gc/hook.py b/pypy/module/gc/hook.py
--- a/pypy/module/gc/hook.py
+++ b/pypy/module/gc/hook.py
@@ -48,8 +48,8 @@
def perform(self, ec, frame):
self.space.call_function(self.w_callable,
- self.space.wrap(self.total_memory_used),
- self.space.wrap(self.pinned_objects))
+ self.space.newint(self.total_memory_used),
+ self.space.newint(self.pinned_objects))
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit