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

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

Conversation

@corona10

@corona10 corona10 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 thread Modules/arraymodule.c Resolved
Co-authored-by: Victor Stinner <vstinner@python.org>
@corona10 corona10 closed this May 26, 2020
@vstinner

Copy link
Copy Markdown
Member

I created PR #20429.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

4 participants