Author: Armin Rigo <[email protected]>
Branch:
Changeset: r76635:5f90d0283413
Date: 2015-03-30 13:44 +0200
http://bitbucket.org/pypy/pypy/changeset/5f90d0283413/
Log: Fix: maybe these attributes are not defined at all so far
diff --git a/pypy/module/_hashlib/interp_hashlib.py
b/pypy/module/_hashlib/interp_hashlib.py
--- a/pypy/module/_hashlib/interp_hashlib.py
+++ b/pypy/module/_hashlib/interp_hashlib.py
@@ -37,9 +37,7 @@
self.w_meth_names = space.call_function(space.w_set)
self.w_error = None
def _cleanup_(self):
- del self.space
- del self.w_meth_names
- del self.w_error
+ self.__dict__.clear()
global_name_fetcher = NameFetcher()
def fetch_names(space):
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit