Skip to content

Avoid Py_VerboseFlag deprecation from Python 3.12 #26165

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
Jun 23, 2023

Conversation

QuLogic
Copy link
Member

@QuLogic QuLogic commented Jun 22, 2023

PR summary

This C-level variable is deprecated in Python 3.12; the documented replacement there is for initialization and there isn't really a quick way to get it at runtime, so it seemed easier to fetch the value from Python.

PR checklist

@QuLogic QuLogic added this to the v3.7.2 milestone Jun 22, 2023
@QuLogic QuLogic force-pushed the no-verbose-deprecation branch from ec8debe to 20a08f3 Compare June 22, 2023 07:21
@QuLogic QuLogic force-pushed the no-verbose-deprecation branch from 20a08f3 to 9f55f73 Compare June 22, 2023 07:27
Copy link
Member

@ianthomas23 ianthomas23 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@oscargus oscargus merged commit 623da30 into matplotlib:main Jun 23, 2023
meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull request Jun 23, 2023
ksunden added a commit that referenced this pull request Jun 23, 2023
…165-on-v3.7.x

Backport PR #26165 on branch v3.7.x (Avoid Py_VerboseFlag deprecation from Python 3.12)
@QuLogic QuLogic deleted the no-verbose-deprecation branch June 23, 2023 21:57
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 this pull request may close these issues.

3 participants