Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-121652: Handleallocate_weakref returning NULL#121653

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

Merged
colesbury merged 1 commit intopython:mainfromcolesbury:gh-121652-weakref-null
Jul 13, 2024

Conversation

@colesbury
Copy link
Contributor

@colesburycolesbury commentedJul 12, 2024
edited by bedevere-appbot
Loading

Theallocate_weakref may return NULL when out of memory. We need to handle that case and propagate the error.

The `allocate_weakref` may return NULL when out of memory. We need tohandle that case and propagate the error.
Copy link
Contributor

@mpagempage left a comment

Choose a reason for hiding this comment

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

Ah good catch!

@miss-islington-app
Copy link

Thanks@colesbury for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13.
🐍🍒⛏🤖

@colesburycolesbury deleted the gh-121652-weakref-null branchJuly 13, 2024 16:07
miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestJul 13, 2024
…21653)The `allocate_weakref` may return NULL when out of memory. We need tohandle that case and propagate the error.(cherry picked from commita640a60)Co-authored-by: Sam Gross <colesbury@gmail.com>
@bedevere-app
Copy link

GH-121721 is a backport of this pull request to the3.13 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.13bugs and security fixes labelJul 13, 2024
colesbury added a commit that referenced this pull requestJul 13, 2024
#121721)The `allocate_weakref` may return NULL when out of memory. We need tohandle that case and propagate the error.(cherry picked from commita640a60)Co-authored-by: Sam Gross <colesbury@gmail.com>
estyxx pushed a commit to estyxx/cpython that referenced this pull requestJul 17, 2024
)The `allocate_weakref` may return NULL when out of memory. We need tohandle that case and propagate the error.
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@mpagempagempage approved these changes

@Fidget-SpinnerFidget-SpinnerFidget-Spinner approved these changes

Assignees

No one assigned

Labels

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@colesbury@mpage@Fidget-Spinner

[8]ページ先頭

©2009-2025 Movatter.jp