Commits

Armin Rigo committed 95d2ecd Draft

Oups, no "self.space". Fix.

Comments (0)

Files changed (3)

pypy/module/oracle/interp_connect.py

         return space.wrap(self)
 
     def __del__(self):
-        self.enqueue_for_destruction(self.space, W_Connection.destructor,
+        self.enqueue_for_destruction(self.environment.space,
+                                     W_Connection.destructor,
                                      '__del__ method of ')
 
     def destructor(self):

pypy/module/oracle/interp_object.py

         self.initialize(connection, param)
 
     def __del__(self):
-        self.enqueue_for_destruction(self.space, W_ObjectType.destructor,
+        self.enqueue_for_destruction(self.environment.space,
+                                     W_ObjectType.destructor,
                                      '__del__ method of ')
 
     def destructor(self):

pypy/module/oracle/interp_variable.py

         self.initialize(self.environment.space, cursor)
 
     def __del__(self):
-        self.enqueue_for_destruction(self.space, W_Variable.destructor,
+        self.enqueue_for_destruction(self.environment.space,
+                                     W_Variable.destructor,
                                      '__del__ method of ')
 
     def destructor(self):