PEP 667: Mark as Final
- [ ] Final implementation has been merged (including tests and docs)
- [ ] PEP matches the final implementation
- [ ] Any substantial changes since the accepted version approved by the SC/PEP delegate
- [x] Pull request title in appropriate format (
PEP 123: Mark Final) - [x]
Statuschanged toFinal(andPython-Versionis correct) - [x] Canonical docs/spec linked with a
canonical-docdirective (orcanonical-pypa-specfor packaging PEPs, orcanonical-typing-specfor typing PEPs)
Helps https://github.com/python/peps/issues/3781.
@markshannon @gaogaotiantian:
-
Is this PEP ready to be marked Final?
-
Is https://docs.python.org/3.13/library/functions.html#locals the right place to link to as canonical documentation?
📚 Documentation preview 📚: https://pep-previews--3942.org.readthedocs.build/
https://github.com/python/peps/pull/3845 is still open, along with the corresponding SC ticket at https://github.com/python/steering-council/issues/245 so I don't believe it's quite there yet (specifically missing the second point in the checklist).
For the canonical docs, there are a few relevant canonical links:
- Python builtin API: https://docs.python.org/3.13/library/functions.html#locals
- Python frame API: https://docs.python.org/3.13/reference/datamodel.html#frame-objects
- C reflection API: https://docs.python.org/3.13/c-api/reflection.html
- C frame API: https://docs.python.org/3.13/c-api/frame.html
Thanks, let's move this to draft until it's ready.
https://github.com/python/peps/pull/3845 has been approved and merged, so I think this is genuinely Final now.