[pypy-svn] r7483 - pypy/trunk/src/pypy/interpreter

arigo at codespeak.net arigo at codespeak.net
Sat Nov 20 09:51:11 CET 2004


Author: arigo
Date: Sat Nov 20 09:51:11 2004
New Revision: 7483

Modified:
   pypy/trunk/src/pypy/interpreter/extmodule.py
Log:
Argh.  This is what I meant with the previous check-in.


Modified: pypy/trunk/src/pypy/interpreter/extmodule.py
==============================================================================
--- pypy/trunk/src/pypy/interpreter/extmodule.py	(original)
+++ pypy/trunk/src/pypy/interpreter/extmodule.py	Sat Nov 20 09:51:11 2004
@@ -92,13 +92,6 @@
                         space.delitem(w_builtins, w_name)
         del self.__saved_hooks
 
-        # Don't keep a reference to __builtins__ in self.__dict__
-        # (it might have been put there by exec/eval/execfile)
-        try:
-            del self.__dict__['__builtins__']
-        except KeyError:
-            pass
-
     def interplevelexec(self, w_codestring):
         "'exec' a string at interp-level."
         codestring = self.space.unwrap(w_codestring)



More information about the Pypy-commit mailing list