FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-105927: _ctypes use PyWeakref_GetRef() by vstinner · Pull Request #105964 · python/cpython · GitHub

/ cpython Public

gh-105927: _ctypes use PyWeakref_GetRef() - #105964

Merged
vstinner merged 2 commits into
python:mainfrom
vstinner:getref_ctypes
Jun 21, 2023
Merged

gh-105927: _ctypes use PyWeakref_GetRef()#105964
vstinner merged 2 commits into
python:mainfrom
vstinner:getref_ctypes

Conversation

vstinner commented Jun 21, 2023
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Member

Rename PyDict_GetItemProxy() to _PyDict_GetItemProxy() and mark it as static. _PyDict_GetItemProxy() now returns a strong reference, instead of a borrowed reference: replace PyWeakref_GET_OBJECT() with _PyWeakref_GET_REF().

Rename PyDict_GetItemProxy() to _PyDict_GetItemProxy() and mark it as
static. _PyDict_GetItemProxy() now returns a strong reference,
instead of a borrowed reference: replace PyWeakref_GET_OBJECT() with
_PyWeakref_GET_REF().
vstinner merged commit 48d107a into python:main Jun 21, 2023
vstinner deleted the getref_ctypes branch June 21, 2023 14:34
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL