FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.15] gh-159739: Preserve the normalization buffer on allocation failure (GH-159755) by jelle-openai · Pull Request #159935 · python/cpython · GitHub

Repository navigation

[3.15] gh-159739: Preserve the normalization buffer on allocation failure (GH-159755) - #159935

Merged
JelleZijlstra merged 1 commit into
python:3.15from
jelle-openai:jelle/codex/gh-159739-3.15-unicode-normalization
Oct 20, 2026
Merged

JelleZijlstra merged 1 commit into
python:3.15from
jelle-openai:jelle/codex/gh-159739-3.15-unicode-normalization

Conversation

jelle-openai commented Oct 20, 2026 •
edited
Loading

Copy link
Copy Markdown
Contributor

Backport GH-159755 to Python 3.15.

…on failure (pythonGH-159755)

Save the original buffer before calling PyMem_Resize(), which overwrites its first argument even on failure.

(cherry picked from commit c38d75c)
JelleZijlstra enabled auto-merge (squash) October 20, 2026 18:17
JelleZijlstra merged commit 77b293b into python:3.15 Oct 20, 2026
57 of 59 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL