Author: Armin Rigo <[email protected]>
Branch: use-gc-del-3
Changeset: r84219:4ba4e4bb0c62
Date: 2016-05-05 17:27 +0200
http://bitbucket.org/pypy/pypy/changeset/4ba4e4bb0c62/
Log: fix
diff --git a/pypy/objspace/std/objspace.py b/pypy/objspace/std/objspace.py
--- a/pypy/objspace/std/objspace.py
+++ b/pypy/objspace/std/objspace.py
@@ -362,7 +362,7 @@
assert isinstance(instance, cls)
instance.user_setup(self, w_subtype)
if w_subtype.hasuserdel:
- space.finalizer_queue.register_finalizer(instance)
+ self.finalizer_queue.register_finalizer(instance)
else:
raise oefmt(self.w_TypeError,
"%N.__new__(%N): only for the type %N",
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit