Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32k
gh-132983: Call Py_XDECREF rather than PyObject_GC_Del in failed __new__#133962
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
This will call tp_dealloc and clear all members.
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.
See alsohttps://github.com/python/cpython/pull/133924/files#r2084922874
There may be other similar errors in these files.
I'll merge to fix the tier-1 buildbot; further fix-ups welcome. |
e575190
intopython:mainUh oh!
There was an error while loading.Please reload this page.
Thanks@encukou for the PR 🌮🎉.. I'm working now to backport this PR to: 3.14. |
Sorry,@encukou, I could not cleanly backport this to
|
Thanks for the fix & merge@encukou -- backport will fail as the original commit isn't yet backported. |
Thanks@encukou for the PR 🌮🎉.. I'm working now to backport this PR to: 3.14. |
…d __new__ (pythonGH-133962)Call Py_XDECREF rather than PyObject_GC_Del in failed __new__This will call tp_dealloc and clear all members.(cherry picked from commite575190)Co-authored-by: Petr Viktorin <encukou@gmail.com>
GH-134305 is a backport of this pull request to the3.14 branch. |
…ed __new__ (GH-133962) (#134305)gh-132983: Call Py_XDECREF rather than PyObject_GC_Del in failed __new__ (GH-133962)Call Py_XDECREF rather than PyObject_GC_Del in failed __new__This will call tp_dealloc and clear all members.(cherry picked from commite575190)Co-authored-by: Petr Viktorin <encukou@gmail.com>
Uh oh!
There was an error while loading.Please reload this page.
This will call tp_dealloc and clear all members.