-
-
Notifications
You must be signed in to change notification settings - Fork 32k
Update retroactive comments from GH-117741 (segfault in FutureIter_dealloc
)
#121638
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
Conversation
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.
Thanks @savannahostrowski
Thanks @savannahostrowski for the PR, and @willingc for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12. |
Thanks @savannahostrowski for the PR, and @willingc for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13. |
Sorry, @savannahostrowski and @willingc, I could not cleanly backport this to
|
…Iter_dealloc`) (pythonGH-121638) Address comments (cherry picked from commit 65feded) Co-authored-by: Savannah Ostrowski <[email protected]>
GH-121642 is a backport of this pull request to the 3.13 branch. |
@@ -1650,7 +1650,6 @@ FutureIter_dealloc(futureiterobject *it) | |||
{ | |||
PyTypeObject *tp = Py_TYPE(it); | |||
|
|||
// FutureIter is a heap type so any subclass must also be a heap type. | |||
assert(_PyType_HasFeature(tp, Py_TPFLAGS_HEAPTYPE)); |
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.
Assert is redundant.
Post commit LGTM |
…Iter_dealloc`) (pythonGH-121638) Address comments
This PR addresses a couple of small comments left by @kumaraditya303 in #117741.