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
Use dummy_threading if threading not available #11262
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM...
e75f529
to
bc6c52c
Compare
I assume this is for pyodide? |
Oof. Thanks for sharing that thread. I'll probably have to go plead my case over there. |
@meeseeksdev backport to v2.2.x |
1 similar comment
@meeseeksdev backport to v2.2.x |
There seem to be a conflict, please backport manually |
Use dummy_threading if threading not available Conflicts: lib/matplotlib/backends/backend_agg.py - conflicts due to removing __future__ / six on master
backported to v2.2.x as 758bfca |
PR Summary
Uses the dummy_threading module on Python platforms where threading isn't available. It makes the lock essentially a no-op, which is fine for platforms that don't have threading anyway.
PR Checklist