Author: Armin Rigo <ar...@tunes.org> Branch: kill-someobject Changeset: r57812:d3601d984ff2 Date: 2012-10-07 15:23 +0200 http://bitbucket.org/pypy/pypy/changeset/d3601d984ff2/
Log: (alex, arigo) Reintroduce this very complicated logic. diff --git a/pypy/rpython/rclass.py b/pypy/rpython/rclass.py --- a/pypy/rpython/rclass.py +++ b/pypy/rpython/rclass.py @@ -173,6 +173,12 @@ def rtyper_makekey(self): return self.__class__, self.classdef +class __extend__(annmodel.SomeType): + def rtyper_makerepr(self, rtyper): + return get_type_repr(rtyper) + def rtyper_makekey(self): + return self.__class__, + class AbstractInstanceRepr(Repr): def __init__(self, rtyper, classdef): _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit