New issue 2253: Unbound method access creates fresh object each time https://bitbucket.org/pypy/pypy/issues/2253/unbound-method-access-creates-fresh-object
David MacIver: The following code passes on CPython 2.7.10 and fails on pypy-4.0.1: ```python assert object.__repr__ is object.__repr__ ``` The two unbound methods report as == but not identical on pypy. I discovered this because the check that IPython pretty printing uses to test whether a type needs a custom pretty printer is whether type(c).__repr__ is object.__repr__. This works on CPython but fails on pypy. _______________________________________________ pypy-issue mailing list [email protected] https://mail.python.org/mailman/listinfo/pypy-issue
