1. Pypy
  2. Untitled project
  3. pypy

Commits

Alex Gaynor  committed ba5ae7c

Fix marshalling of pycode and elippsis.

  • Participants
  • Parent commits cee602b
  • Branches kill-single-impl-multimethods

Comments (0)

Files changed (1)

File pypy/objspace/std/model.py

View file
  • Ignore whitespace
 
 from pypy.objspace.std.multimethod import MultiMethodTable, FailedToImplement
 from pypy.interpreter.baseobjspace import W_Root, ObjSpace
+from pypy.interpreter import pycode, special
+
 
 _registered_implementations = set()
 def registerimplementation(implcls):
             dictmultiobject.W_DictViewKeysObject: [],
             dictmultiobject.W_DictViewItemsObject: [],
             dictmultiobject.W_DictViewValuesObject: [],
+            pycode.PyCode: [],
+            special.Ellipsis: [],
         }
 
         self.imported_but_not_registered = {