Skip to content

gh-151126: set MemoryError on alloc failure in _PyXIData_InitWithSize - #156301

Merged
cmaloney merged 4 commits into
python:mainfrom
KowalskiThomas:kowalski/add-check-xidata-initwithsize
Nov 12, 2026
Merged

cmaloney merged 4 commits into
python:mainfrom
KowalskiThomas:kowalski/add-check-xidata-initwithsize

Conversation

@KowalskiThomas

@KowalskiThomas KowalskiThomas commented Aug 23, 2026 •

Copy link
Copy Markdown
Contributor

@KowalskiThomas KowalskiThomas changed the title gh-151126: Set MemoryError on alloc failure in _PyXIData_InitWithSize gh-151126: set MemoryError on alloc failure in _PyXIData_InitWithSize Oct 24, 2026
Comment thread Python/crossinterp.c Resolved
@cmaloney cmaloney added needs backport to 3.14 bugs and security fixes needs backport to 3.15 bugs and security fixes labels Nov 7, 2026
@cmaloney
cmaloney merged commit a6018c5 into python:main Nov 12, 2026
56 checks passed
@miss-islington-app

Copy link
Copy Markdown

Thanks @KowalskiThomas for the PR, and @cmaloney for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14, 3.15.
🐍🍒⛏🤖

@bedevere-app

bedevere-app Bot commented Nov 12, 2026

Copy link
Copy Markdown

GH-161905 is a backport of this pull request to the 3.15 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.15 bugs and security fixes label Nov 12, 2026
@bedevere-app

bedevere-app Bot commented Nov 12, 2026

Copy link
Copy Markdown

GH-161906 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.14 bugs and security fixes label Nov 12, 2026
cmaloney added a commit that referenced this pull request Nov 12, 2026
…itWithSize` (GH-156301) (#161905)

gh-151126: set `MemoryError` on alloc failure in `_PyXIData_InitWithSize` (GH-156301)
(cherry picked from commit a6018c5)

Co-authored-by: Thomas Kowalski <[email protected]>
Co-authored-by: Cody Maloney <[email protected]>
cmaloney added a commit that referenced this pull request Nov 12, 2026
…itWithSize` (GH-156301) (#161906)

gh-151126: set `MemoryError` on alloc failure in `_PyXIData_InitWithSize` (GH-156301)
(cherry picked from commit a6018c5)

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants