Skip to content

bpo-40778: Update Py_REFCNT and Py_SIZE to const casting - #20428

Closed
corona10 wants to merge 2 commits into
python:masterfrom
corona10:bpo-40778
Closed

bpo-40778: Update Py_REFCNT and Py_SIZE to const casting#20428
corona10 wants to merge 2 commits into
python:masterfrom
corona10:bpo-40778

Conversation

@corona10

@corona10corona10 commented May 26, 2020

Copy link
Copy Markdown
Member

@@ -0,0 +1,2 @@
Update :c:macro:`Py_SIZE` and :c:macro:`Py_SIZE` to use const object
casting. Patch by Dong-hee Na.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I don't think that it deserves to be documented. It doesn't change the C API, no?

Comment threadModules/arraymodule.c Outdated
Co-authored-by: Victor Stinner <vstinner@python.org>
@vstinner

Copy link
Copy Markdown
Member

I created PR #20429.

Sign up for freeto 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

@corona10@vstinner@the-knights-who-say-ni@bedevere-bot