8000 Remove workaround unneeded on Py3.7+, which we require now. by anntzer · Pull Request #20124 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

Remove workaround unneeded on Py3.7+, which we require now. #20124

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
merged 1 commit into from
Apr 30, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions lib/matplotlib/font_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,11 +244,6 @@ def _win32RegistryFonts(reg_domain, base_dir):
key, value, tp = winreg.EnumValue(local, j)
if not isinstance(value, str):
continue

# Work around for https://bugs.python.org/issue25778, which
# is fixed in Py>=3.6.1.
value = value.split("\0", 1)[0]

try:
# If value contains already an absolute path, then it
# is not changed further.
Expand Down
0