[pypy-commit] pypy use-gc-del-3: oops
arigo
pypy.commits at gmail.com
Thu May 5 11:56:59 EDT 2016
Author: Armin Rigo <arigo at tunes.org>
Branch: use-gc-del-3
Changeset: r84223:cb9315a55345
Date: 2016-05-05 17:57 +0200
http://bitbucket.org/pypy/pypy/changeset/cb9315a55345/
Log: oops
diff --git a/pypy/module/_file/interp_file.py b/pypy/module/_file/interp_file.py
--- a/pypy/module/_file/interp_file.py
+++ b/pypy/module/_file/interp_file.py
@@ -43,6 +43,7 @@
def __init__(self, space):
self.space = space
+ self.register_finalizer(space)
def _finalize_(self):
# assume that the file and stream objects are only visible in the
More information about the pypy-commit
mailing list