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

PEP 667 follow-up: hard deprecate PyEval_GetLocals() #125170

Open
ncoghlan opened this issue Oct 9, 2024 · 1 comment
Open

PEP 667 follow-up: hard deprecate PyEval_GetLocals() #125170

ncoghlan opened this issue Oct 9, 2024 · 1 comment
Assignees
Labels
3.14 new features, bugs and security fixes interpreter-core (Objects, Python, Grammar, and Parser dirs) topic-C-API triaged The issue has been accepted as valid by a triager.

Comments

@ncoghlan
Copy link
Contributor

ncoghlan commented Oct 9, 2024

During the lead up to the 3.13.0 release, the SC approved an amendment to PEP 667 that escalates Python 3.13's soft deprecation for PyEval_GetLocals() to a hard deprecation in 3.14 for eventual removal in 3.16 (the difficulties of keeping that API working in the face of the other implementation changes made the fundamental flaws in the way this API works more self-evident).

This ticket covers adding the hard deprecation to the C code and the expected removal version to the C API docs.

@ncoghlan ncoghlan added interpreter-core (Objects, Python, Grammar, and Parser dirs) topic-C-API triaged The issue has been accepted as valid by a triager. 3.14 new features, bugs and security fixes labels Oct 9, 2024
@gpshead
Copy link
Member

gpshead commented Oct 16, 2024

(I assigned this to mark based on the comment pointing here but maybe this one isn't for mark specifically, feel free to un/reassign)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.14 new features, bugs and security fixes interpreter-core (Objects, Python, Grammar, and Parser dirs) topic-C-API triaged The issue has been accepted as valid by a triager.
Projects
None yet
Development

No branches or pull requests

3 participants