8000 Stop disabling FH4 Exception Handling on MSVC by QuLogic · Pull Request #28725 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

Stop disabling FH4 Exception Handling on MSVC #28725

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
Aug 15, 2024

Conversation

QuLogic
Copy link
Member
@QuLogic QuLogic commented Aug 15, 2024

PR summary

As of #28687, our extensions depend on VCRUNTIME140_1.dll, and this was allowed because Python 3.8+ started shipping that file. The original report in #18292 was for Python 3.7, which didn't ship the DLL, but we require Python 3.10 now, so it's safe again.

Since we can use that dependency, there's no need to disable the option that started requiring it in the first place. As noted in the original blog post [1], this will make our extensions smaller, and slightly faster.

[1] https://devblogs.microsoft.com/cppblog/making-cpp-exception-handling-smaller-x64/

PR checklist

As of matplotlib#28687, our extensions depend on `VCRUNTIME140_1.dll`, and this
was allowed because Python 3.8+ started shipping that file. The original
report in matplotlib#18292 was for Python 3.7, which didn't ship the DLL, but we
require Python 3.10 now, so it's safe again.

Since we can use that dependency, there's no need to disable the option
that started requiring it in the first place. As noted in the original
blog post [1], this will make our extensions smaller, and slightly
faster.

[1] https://devblogs.microsoft.com/cppblog/making-cpp-exception-handling-smaller-x64/
@QuLogic QuLogic added this to the v3.10.0 milestone Aug 15, 2024
@QuLogic QuLogic added the CI: Run cibuildwheel Run wheel building tests on a PR label Aug 15, 2024
@timhoffm timhoffm merged commit 699dd7e into matplotlib:main Aug 15, 2024
47 of 51 checks passed
@QuLogic QuLogic deleted the enable-fh4 branch August 15, 2024 05:19
@QuLogic QuLogic mentioned this pull request Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI: Run cibuildwheel Run wheel building tests on a PR OS: Microsoft
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0