Skip to content

bpo-33012: Fix invalid function cast warnings with gcc 8#6748

Merged
serhiy-storchaka merged 2 commits into
python:masterfrom
serhiy-storchaka:func-cast-warns-clinic
Nov 27, 2018
Merged

bpo-33012: Fix invalid function cast warnings with gcc 8#6748
serhiy-storchaka merged 2 commits into
python:masterfrom
serhiy-storchaka:func-cast-warns-clinic

Conversation

@serhiy-storchaka

@serhiy-storchaka serhiy-storchaka commented May 10, 2018

Copy link
Copy Markdown
Member

for method conventions different from METH_NOARGS, METH_O and
METH_VARARGS in Argument Clinic generated code.

https://bugs.python.org/issue33012

@xdegaye

xdegaye commented Jun 4, 2018

Copy link
Copy Markdown
Contributor

Shouldn't these changes be made in the generator instead, i.e. in ./Tools/clinic/clinic.py ?

@xdegaye

xdegaye commented Jun 4, 2018

Copy link
Copy Markdown
Contributor

Followed by the command:

make regen-all

@methane

methane commented Jun 4, 2018

Copy link
Copy Markdown
Member

@xdegaye

xdegaye commented Jun 4, 2018

Copy link
Copy Markdown
Contributor

@methane you are right, sorry for the noise.

@the-knights-who-say-ni

Copy link
Copy Markdown

Hello, and thanks for your contribution!

I'm a bot set up to make sure that the project can legally accept your contribution by verifying you have signed the PSF contributor agreement (CLA).

Unfortunately our records indicate you have not signed the CLA. For legal reasons we need you to sign this before we can look at your contribution. Please follow the steps outlined in the CPython devguide to rectify this issue.

You can check yourself to see if the CLA has been received.

Thanks again for your contribution, we look forward to reviewing it!

@vstinner

Copy link
Copy Markdown
Member

@serhiy-storchaka: Can you please update/rebase your change?

@vstinner

Copy link
Copy Markdown
Member

See also PR #6008 and https://bugs.python.org/issue33015

for method conventions different from METH_NOARGS, METH_O and
METH_VARARGS in Argument Clinic generated code.
@serhiy-storchaka
serhiy-storchaka merged commit 4a934d4 into python:master Nov 27, 2018
@serhiy-storchaka
serhiy-storchaka deleted the func-cast-warns-clinic branch November 27, 2018 09:27
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.

6 participants