Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: PyPy does not have ENOTSUP #338

Closed
dargueta opened this issue Aug 6, 2019 · 0 comments · Fixed by #339
Closed

Bug: PyPy does not have ENOTSUP #338

dargueta opened this issue Aug 6, 2019 · 0 comments · Fixed by #339

Comments

@dargueta
Copy link
Contributor

dargueta commented Aug 6, 2019

To reproduce: Run the unit tests on PyPy. They fail because errno doesn't have ENOTSUP defined, even though it's present on the same platform for CPython.

We can fix it by using the CPython value as a default. Error codes aren't guaranteed to be identical across all platforms so this might not work everywhere, but it'll prevent the crash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant