-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
FIX: make the cache in font_manager._get_font keyed by thread id #19618
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
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
timhoffm
approved these changes
Mar 3, 2021
QuLogic
reviewed
Mar 3, 2021
f9126fa
to
1a9c38b
Compare
Instead of a string, you probably want to use |
QuLogic
reviewed
Mar 4, 2021
824c15c
to
ad7a793
Compare
QuLogic
reviewed
Mar 5, 2021
This prevents segfaults when multiple threads try to manipulate the FT2Font object simultaneously. closes matplotlib#19560 Co-authored-by: Antony Lee <[email protected]>
ad7a793
to
b993ad4
Compare
QuLogic
approved these changes
Mar 6, 2021
@meeseeksdev backport to v3.4.x |
meeseeksmachine
pushed a commit
to meeseeksmachine/matplotlib
that referenced
this pull request
Mar 6, 2021
…t_font keyed by thread id
QuLogic
added a commit
that referenced
this pull request
Mar 6, 2021
…618-on-v3.4.x Backport PR #19618 on branch v3.4.x (FIX: make the cache in font_manager._get_font keyed by thread id)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Release critical
For bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR Summary
This prevents segfaults when multiple threads try to manipulate the
FT2Font object simultaneously.
closes #19560
Co-authored-by: Antony Lee [email protected]
PR Checklist
pytest
passes).flake8
on changed files to check).flake8-docstrings
and runflake8 --docstring-convention=all
).