[pypy-issue] Issue #2400: PyPy 3.5 operator requires modification (pypy/pypy)
issues-reply at bitbucket.org
Mon Sep 19 10:56:37 EDT 2016
New issue 2400: PyPy 3.5 operator requires modification
The `operator` module in `pypy/modules` is currently incomplete. It currently attempts to merge the behaviour of CPython's stdlib `operator` and `_operator`. As the lib-python version of `operator` imports from `_operator`, the pypy specific `operator` should be renamed to `_operator` and emulate the functionality from CPython's `_operator`. This will reduce the amount of reimplementation (the existing `interp_operator` already implements most/all of `_operator`) whilst allowing conformance to the existing implementation. This will also fix `hmac` on pypy 3.5, as it depends on `operator._compare_digest` which is currently unimplemented.
More information about the pypy-issue