New issue 2400: PyPy 3.5 operator requires modification
https://bitbucket.org/pypy/pypy/issues/2400/pypy-35-operator-requires-modification

Connor Shearwood:

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.


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

Reply via email to