Skip to content

Conversation

@ZeroIntensity
Copy link
Member

Copy link
Member

@JelleZijlstra JelleZijlstra left a comment

Choose a reason for hiding this comment

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

Could you add a unit test for this? Something that would currently segfault.

@ZeroIntensity
Copy link
Member Author

Could you add a unit test for this? Something that would currently segfault.

Added it, it's basically a translation of my reproducer in #122332.

@Eclips4 Eclips4 added needs backport to 3.12 only security fixes needs backport to 3.13 bugs and security fixes labels Jul 27, 2024
Copy link
Member

@Eclips4 Eclips4 left a comment

Choose a reason for hiding this comment

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

Thanks!

@kumaraditya303 kumaraditya303 merged commit c086962 into python:main Jul 27, 2024
@miss-islington-app
Copy link

Thanks @ZeroIntensity for the PR, and @kumaraditya303 for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 27, 2024
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 27, 2024
@bedevere-app
Copy link

bedevere-app bot commented Jul 27, 2024

GH-122344 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label Jul 27, 2024
@bedevere-app
Copy link

bedevere-app bot commented Jul 27, 2024

GH-122345 is a backport of this pull request to the 3.12 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.12 only security fixes label Jul 27, 2024
kumaraditya303 pushed a commit that referenced this pull request Jul 27, 2024
…GH-122338) (#122345)

gh-122332: Fix missing `NULL` check in `asyncio.Task.get_coro` (GH-122338)
(cherry picked from commit c086962)

Co-authored-by: Peter Bierma <[email protected]>
kumaraditya303 pushed a commit that referenced this pull request Jul 27, 2024
…GH-122338) (#122344)

gh-122332: Fix missing `NULL` check in `asyncio.Task.get_coro` (GH-122338)
(cherry picked from commit c086962)

Co-authored-by: Peter Bierma <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants