gh-114569: Use PyMem_* APIs for non-PyObjects in Modules/, Objects/ and Parser/ by erlend-aasland · Pull Request #114574 · python/cpython · GitHub
Skip to content

gh-114569: Use PyMem_* APIs for non-PyObjects in Modules/, Objects/ and Parser/ - #114574

Merged
erlend-aasland merged 5 commits into
python:mainfrom
erlend-aasland:nogil/pyobject-malloc
Jan 26, 2024
Merged

gh-114569: Use PyMem_* APIs for non-PyObjects in Modules/, Objects/ and Parser/#114574
erlend-aasland merged 5 commits into
python:mainfrom
erlend-aasland:nogil/pyobject-malloc

Conversation

@erlend-aasland

@erlend-aasland erlend-aasland commented Jan 25, 2024

Copy link
Copy Markdown
Contributor

@erlend-aasland erlend-aasland changed the title gh-114569: Use PyMem_* APIs for non-PyObjects in Modules/ gh-114569: Use PyMem_* APIs for non-PyObjects in Modules/ and Parser/ Jan 25, 2024

@colesbury colesbury left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks Erlend, lgtm!

Comment thread Modules/_elementtree.c
@erlend-aasland
erlend-aasland enabled auto-merge (squash) January 26, 2024 09:50
@erlend-aasland
erlend-aasland enabled auto-merge (squash) January 26, 2024 09:53
@erlend-aasland erlend-aasland changed the title gh-114569: Use PyMem_* APIs for non-PyObjects in Modules/ and Parser/ gh-114569: Use PyMem_* APIs for non-PyObjects in Modules/, Objects/ and Parser/ Jan 26, 2024
@erlend-aasland
erlend-aasland merged commit dcd28b5 into python:main Jan 26, 2024
@erlend-aasland
erlend-aasland deleted the nogil/pyobject-malloc branch January 26, 2024 10:11
@erlend-aasland erlend-aasland linked an issue Jan 28, 2024 that may be closed by this pull request
aisk pushed a commit to aisk/cpython that referenced this pull request Feb 11, 2024
…114574)

Fix usage in Modules, Objects, and Parser subdirectories.
Glyphack pushed a commit to Glyphack/cpython that referenced this pull request Sep 2, 2024
…114574)

Fix usage in Modules, Objects, and Parser subdirectories.
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.

Do not allocate non-PyObjects with PyObject_Malloc()

2 participants