New issue 2251: Missing __thisclass__ from super objects
https://bitbucket.org/pypy/pypy/issues/2251/missing-__thisclass__-from-super-objects

David MacIver:

The following code passes on CPython 2.7.10 and fails on pypy-4.0.1

```python
class Foo(object):
    pass

assert super(Foo, Foo()).__thisclass__ == Foo
```

I discovered this because IPython's pretty printing uses this attribute to 
print super objects, which fails on pypy.


_______________________________________________
pypy-issue mailing list
pypy-issue@python.org
https://mail.python.org/mailman/listinfo/pypy-issue

Reply via email to