Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34k
gh-92898: Make _Py_Cast C++ version compatible with cast operator#92951
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uh oh!
There was an error while loading. Please reload this page.
Conversation
cf741a4 to 3f287c5Compareserge-sans-paille commented May 19, 2022
cc @vstinner |
corona10 left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would you like to add NEWS.d about compatible?
bedevere-bot commented May 19, 2022
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
Uh oh!
There was an error while loading. Please reload this page.
e275be9 to 2e6b74aCompareserge-sans-paille commented May 19, 2022
@corona10 I'm not sure, there's already an entry And this is just patching that entry |
tacaswell commented May 19, 2022
I am now seeing errors compiling numpy with this branch: |
serge-sans-paille commented May 19, 2022
@tacaswell indeed. I can work around this :-) |
tacaswell commented May 19, 2022
@serge-sans-paille I should note this is with numpy main, I have not gone back to see if released versions work or not. |
Use the adequate kind of cast based on the macro argument: const ref, cont pointer, ref or pointer. This should be compatible with C++ overloads. Fixpython#92898
2e6b74a to 636d461Compareserge-sans-paille commented May 19, 2022
@tacaswell should be good now? |
tacaswell commented May 19, 2022
Through numpy, starting scipy. Will update if the whole environment builds cleanly (including greenlet main). |
tacaswell commented May 19, 2022
It built clean including master-branch greenlet 👍🏻 |
miss-islington commented May 21, 2022
Thanks @serge-sans-paille for the PR, and @corona10 for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11. |
miss-islington commented May 21, 2022
Sorry @serge-sans-paille and @corona10, I had trouble checking out the |
… operator (pythongh-92951) (cherry picked from commit 5b71b51) Co-authored-by: serge-sans-paille <serge.guelton@telecom-bretagne.eu>
vstinner commented May 23, 2022
I created a follow-up PR: #93111 |
miss-islington commented Dec 24, 2022
Thanks @serge-sans-paille for the PR, and @corona10 for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11. |
miss-islington commented Dec 24, 2022
Sorry, @serge-sans-paille and @corona10, I could not cleanly backport this to |
Use the adequate kind of cast based on the macro argument: const ref, cont
pointer, ref or pointer.
This should be compatible with C++ overloads.
Fix#92898