[pypy-commit] pypy remove-remaining-smm: Kill default init MM implementation.

Manuel Jacob noreply at buildbot.pypy.org
Mon Feb 24 22:21:00 CET 2014


Author: Manuel Jacob
Branch: remove-remaining-smm
Changeset: r69374:b010db133995
Date: 2014-02-24 22:20 +0100
http://bitbucket.org/pypy/pypy/changeset/b010db133995/

Log:	Kill default init MM implementation.

diff --git a/pypy/objspace/std/default.py b/pypy/objspace/std/default.py
deleted file mode 100644
--- a/pypy/objspace/std/default.py
+++ /dev/null
@@ -1,11 +0,0 @@
-"""Default implementation for some operation."""
-
-from pypy.objspace.std.register_all import register_all
-
-
-# __init__ should succeed if called internally as a multimethod
-
-def init__ANY(space, w_obj, __args__):
-    pass
-
-register_all(vars())
diff --git a/pypy/objspace/std/model.py b/pypy/objspace/std/model.py
--- a/pypy/objspace/std/model.py
+++ b/pypy/objspace/std/model.py
@@ -54,7 +54,6 @@
         from pypy.objspace.std import unicodeobject
         from pypy.objspace.std import dictproxyobject
         from pypy.objspace.std import proxyobject
-        import pypy.objspace.std.default # register a few catch-all multimethods
 
         import pypy.objspace.std.marshal_impl # install marshal multimethods
 


More information about the pypy-commit mailing list