• Armin Rigo's avatar
    PyPy3: make special dict methods work · 9d23fbf3
    Armin Rigo authored
    The .iterkeys(), .itervalues() and .iteritems() methods are accepted in Cython
    even when targetting Python 3.x.  However, this is implemented by a shortcut
    inside Optimize.c that is explicitly disabled on PyPy.  This fixes the
    situation.
    9d23fbf3
Optimize.c 31.7 KB