Skip to content
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

Revert "gh-46376: Return existing pointer when possible in ctypes (#1… #108688

Merged
merged 1 commit into from
Sep 4, 2023

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Aug 30, 2023

…07131)"

This reverts commit 08447b5.

Revert also _ctypes.c changes of the PyDict_ContainsString() change, commit 6726626.

…es (python#107131)"

This reverts commit 08447b5.

Revert also _ctypes.c changes of the PyDict_ContainsString() change,
commit 6726626.
@vstinner
Copy link
Member Author

@ambv @code-of-kpp: Would you be ok to revert the change to fix #107940 regression for now, and reapply the change later once the regression is fine?

@vstinner
Copy link
Member Author

Revert also _ctypes.c changes of the PyDict_ContainsString() change, commit 6726626.

This change is not in the 3.12 branch. This PR should be backported manuallly to the 3.12 branch with git revert 54aaaadef8a44324f6be674707c67a3516470ff6.

@ambv ambv merged commit 5a79d2a into python:main Sep 4, 2023
21 checks passed
@vstinner vstinner deleted the revert_ctypes branch September 4, 2023 09:34
@vstinner
Copy link
Member Author

vstinner commented Sep 4, 2023

@ambv ambv merged commit 5a79d2a into python:main Sep 4, 2023

Thanks :-)

hugovk pushed a commit to hugovk/cpython that referenced this pull request Sep 4, 2023
…es (#1… (python#108688)

This reverts commit 08447b5.

Revert also _ctypes.c changes of the PyDict_ContainsString() change,
commit 6726626.
@hugovk hugovk mentioned this pull request Sep 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants