Skip to content

gh-142217: Add tests on the deprecated _Py_Identifier C API - #157638

Merged
vstinner merged 3 commits into
python:mainfrom
vstinner:test_py_id
Sep 17, 2026
Merged

vstinner merged 3 commits into
python:mainfrom
vstinner:test_py_id

Conversation

@vstinner

@vstinner vstinner commented Sep 16, 2026

Copy link
Copy Markdown
Member

Replace PyDict_GetItemWithError() with PyDict_GetItemRef() and remove outdated comment in Modules/_pickle.c.

Replace PyDict_GetItemWithError() with PyDict_GetItemRef() and remove
outdated comment in Modules/_pickle.c.
@vstinner

Copy link
Copy Markdown
Member Author

While these macros and functions are deprecated, we still have to support them until October 2030 (Python 3.19.0 final release). So I prefer to test this (deprecated and undocumented) C API.

@vstinner
vstinner merged commit 21403af into python:main Sep 17, 2026
54 checks passed
@vstinner
vstinner deleted the test_py_id branch September 17, 2026 11:45
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.

1 participant