Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32k
Remove redundant incref of immortal object Py_EMPTY_KEYS#133200
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 ourterms of service andprivacy 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
python-cla-botbot commentedApr 30, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Most changes to Pythonrequire a NEWS entry. Add one using theblurb_it web app or theblurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
Uh oh!
There was an error while loading.Please reload this page.
0119791
intopython:mainUh oh!
There was an error while loading.Please reload this page.
Py_EMPTY_KEYS
is immortal, sodictkeys_incref
will always return without doing anything. The file used to contain two instances ofdictkeys_incref(Py_EMPTY_KEYS)
; one was removed inthis PR.I understand this to be a trivial change, and as such haven't made an issue for it. The blurb tool asks for an issue number, implying that trivial changes don't require a news entry. Please correct me if that's not the case.