-
Notifications
You must be signed in to change notification settings - Fork 40
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
Add Pyhon 3.13 CI #587
base: main
Are you sure you want to change the base?
Add Pyhon 3.13 CI #587
Conversation
#endif | ||
Py_XDECREF(self); | ||
#if PY_VERSION_HEX >= 0x030D0000 /* Check if Python version is 3.13 or higher */ | ||
Py_XDECREF(self); |
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.
you end up decreffing it twice in 3.13 branch?
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.
Yes, one is the original decref that we need to do, and the second decref is for the strong reference that the new API returned.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.