[pypy-commit] [Git][pypy/pypy][branch/default] 2 commits: bpo-31893: Simplify select.kqueue object comparison

Stefano Rivera foss at heptapod.net
Wed Oct 14 00:39:07 EDT 2020



Stefano Rivera pushed to branch branch/default at PyPy / pypy


Commits:
1c587c14 by Stefano Rivera at 2020-10-13T19:53:55-07:00
bpo-31893: Simplify select.kqueue object comparison

Return NotImplemented in comparison with other types, resulting in a defined
ordering on 2.7, and an exception on 3.x.

- - - - -
dd274e80 by Stefano Rivera at 2020-10-13T16:39:07-07:00
Support current MacOS in this (non-upstream) kqueue test

On MacOS 10.15 (and presumably other recent versions) ENOENT is returned rather
than EBADF. But that's besides the point of the test, so handle it.

- - - - -


3 changed files:

- lib-python/2.7/test/test_kqueue.py
- pypy/module/select/interp_kqueue.py
- pypy/module/select/test/test_kqueue.py


View it on GitLab: https://foss.heptapod.net/pypy/pypy/-/compare/3e39e466fe101f205c17aad5261a1f95800f9e2b...dd274e805033eca898c70332ffe9a82813c92397

-- 
View it on Heptapod: https://foss.heptapod.net/pypy/pypy/-/compare/3e39e466fe101f205c17aad5261a1f95800f9e2b...dd274e805033eca898c70332ffe9a82813c92397
You're receiving this email because of your account on foss.heptapod.net.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.python.org/pipermail/pypy-commit/attachments/20201014/0ca85228/attachment.html>


More information about the pypy-commit mailing list