Hi, On 19 November 2014 23:52, Philip Jenvey <pjen...@underboss.org> wrote: > I'm still getting the expected discrepancy between the two: Exception raised > on both pypy and pypy3, whereas __getitem__ isn’t called on CPython 2.7.5. > You might want to double check your python binaries?
Indeed, issue 708 isn't "fixed". However, our documentation is out-of-date: the (different) example given at http://pypy.readthedocs.org/en/latest/cpython_differences.html#subclasses-of-built-in-types now works the same was as CPython. For reference, this example is: class D(dict): def __getitem__(self, key): return 42 d1 = {} d2 = D(a='foo') d1.update(d2) print d1['a'] I'm going to find another simple example to update the docs with... A bientôt, Armin. _______________________________________________ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev