[pypy-svn] r10226 - pypy/dist/pypy/interpreter
hpk at codespeak.net
hpk at codespeak.net
Fri Apr 1 18:22:10 CEST 2005
Author: hpk
Date: Fri Apr 1 18:22:10 2005
New Revision: 10226
Modified:
pypy/dist/pypy/interpreter/baseobjspace.py
Log:
disable the _sre wrapper from Michael for now
because of unwrapping problems (see pypy-dev for
more details). The problem is that this breaks
the revreports which by itself shouldn't happen
so easily ...
Modified: pypy/dist/pypy/interpreter/baseobjspace.py
==============================================================================
--- pypy/dist/pypy/interpreter/baseobjspace.py (original)
+++ pypy/dist/pypy/interpreter/baseobjspace.py Fri Apr 1 18:22:10 2005
@@ -82,13 +82,11 @@
self.setitem(w_modules, w_name, w_builtin)
self.setitem(self.builtin.w_dict, self.wrap('__builtins__'), w_builtin)
- from pypy.module._sre_pypy import Module
- w_name = self.wrap('_sre')
- mod = Module(self, w_name)
- w_mod = self.wrap(mod)
- self.setitem(w_modules, w_name, w_mod)
+ # XXX we need to resolve unwrapping issues to
+ # make this the default _sre module
+ #self.setbuiltinmodule("_sre", "_sre_pypy")
- self.setbuiltinmodule('parser')
+ self.setbuiltinmodule('parser')
# initialize with "bootstrap types" from objspace (e.g. w_None)
for name, value in self.__dict__.items():
More information about the pypy-svn
mailing list