Repository navigation
gh-92898: Make _Py_Cast C++ version compatible with cast operator - #92951
Conversation
cf741a4 to
3f287c5
Compare
|
cc @vstinner |
corona10
left a comment
There was a problem hiding this comment.
Would you like to add NEWS.d about compatible?
|
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 |
e275be9 to
2e6b74a
Compare
|
@corona10 I'm not sure, there's already an entry And this is just patching that entry |
|
I am now seeing errors compiling numpy with this branch: |
commented
May 19, 2022
|
@tacaswell indeed. I can work around this :-) |
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. Fix python#92898
2e6b74a to
636d461
Compare
commented
May 19, 2022
|
@tacaswell should be good now? |
commented
May 19, 2022
|
Through numpy, starting scipy. Will update if the whole environment builds cleanly (including greenlet main). |
commented
May 19, 2022
|
It built clean including master-branch greenlet 👍🏻 |
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. |
commented
May 21, 2022
|
Sorry @serge-sans-paille and @corona10, I had trouble checking out the |
commented
May 23, 2022
|
I created a follow-up PR: #93111 |
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. |
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