gh-110964: clinic: pass clinic argument to bad_argument() by vstinner · Pull Request #110984 · python/cpython · GitHub
Skip to content

gh-110964: clinic: pass clinic argument to bad_argument() - #110984

Closed
vstinner wants to merge 1 commit into
python:mainfrom
vstinner:clinic_bad_arg
Closed

gh-110964: clinic: pass clinic argument to bad_argument()#110984
vstinner wants to merge 1 commit into
python:mainfrom
vstinner:clinic_bad_arg

Conversation

@vstinner

@vstinner vstinner commented Oct 17, 2023

Copy link
Copy Markdown
Member

Don't rely on the global 'clinic' argument: pass explicitly a 'clinic' argument.

@vstinner

Copy link
Copy Markdown
Member Author

@vstinner

Copy link
Copy Markdown
Member Author

cc @AlexWaygood

@AlexWaygood

AlexWaygood commented Oct 17, 2023

Copy link
Copy Markdown
Member

Please give me some time to look at this! :-)

@vstinner
vstinner requested review from a team and gpshead as code owners October 17, 2023 22:11
@vstinner

Copy link
Copy Markdown
Member Author

"Check if generated files are up to date (pull_request)" failure looks unrelated:

./configure --config-cache --with-pydebug --enable-shared
    PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.11.6/x64/lib/pkgconfig

configure: loading cache config.cache
configure: error: `PKG_CONFIG_PATH' has changed since the previous run:
configure:   former value:  `/opt/hostedtoolcache/Python/3.11.5/x64/lib/pkgconfig'
configure:   current value: `/opt/hostedtoolcache/Python/3.11.6/x64/lib/pkgconfig'

Don't rely on the global 'clinic' argument: pass explicitly a
'clinic' argument.
@vstinner

Copy link
Copy Markdown
Member Author

I rebased my PR on the main branch to try to fix the "Check if generated files are up to date" job failure.

@vstinner

Copy link
Copy Markdown
Member Author

Please give me some time to look at this! :-)

Mmmmh, so do you need more time to review?

@vstinner

vstinner commented Nov 3, 2023

Copy link
Copy Markdown
Member Author

Well, since @AlexWaygood is not available for review, i think that i will just merge my change next days.

@AlexWaygood

AlexWaygood commented Nov 3, 2023

Copy link
Copy Markdown
Member

Thanks for waiting, sorry for the slow response from me! I wanted to take the time to think about this properly, but haven't had a chance recently due to being busy at work, and it's unlikely that I'll have the time in the next week either.

My instinct is that there should be a simpler solution here that involves fewer changes, but if you feel like there's a rush to get this merged for whatever reason, then please go ahead. I agree I've kept you waiting for a while :-)

@vstinner

vstinner commented Nov 3, 2023

Copy link
Copy Markdown
Member Author

@vstinner vstinner closed this Nov 3, 2023
@vstinner
vstinner deleted the clinic_bad_arg branch November 3, 2023 11:22
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.

2 participants