New submission from Graham Dumpleton <[email protected]>: CPython has both the following in the operator module:
operator.index() operator.__index__() This is documented at: http://docs.python.org/2/library/operator.html#operator.index The pypy version of the operator module is missing __index__(). IOW, has 'index' here: https://bitbucket.org/pypy/pypy/src/162d46b91e963450e3e9461b37c14860e6c49b32/pypy/ module/operator/__init__.py?at=default#cl-29 but missing '__index__' in mapping at: https://bitbucket.org/pypy/pypy/src/162d46b91e963450e3e9461b37c14860e6c49b32/pypy/ module/operator/__init__.py?at=default#cl-46 ---------- messages: 6200 nosy: GrahamDumpleton, pypy-issue priority: bug status: unread title: operator.__index__() is missing. ________________________________________ PyPy bug tracker <[email protected]> <https://bugs.pypy.org/issue1612> ________________________________________ _______________________________________________ pypy-issue mailing list [email protected] https://mail.python.org/mailman/listinfo/pypy-issue
