René's URL Explorer Experiment


Title: PEP 667 – Consistent views of namespaces | peps.python.org

Open Graph Title: PEP 667 – Consistent views of namespaces | peps.python.org

Description: In early versions of Python all namespaces, whether in functions, classes or modules, were all implemented the same way: as a dictionary.

Open Graph Description: In early versions of Python all namespaces, whether in functions, classes or modules, were all implemented the same way: as a dictionary.

Opengraph URL: https://peps.python.org/pep-0667/

direct link

Domain: peps.python.org

color-schemelight dark
og:typewebsite
og:site_namePython Enhancement Proposals (PEPs)
og:imagehttps://peps.python.org/_static/og-image.png
og:image:altPython PEPs
og:image:width200
og:image:height200
theme-color#3776ab

Links:

Pythonhttps://www.python.org/
PEP Indexhttps://peps.python.org/
Discourse threadhttps://discuss.python.org/t/46631
25-Apr-2024https://discuss.python.org/t/46631/25
Abstracthttps://peps.python.org/667#abstract
Motivationhttps://peps.python.org/667#motivation
Rationalehttps://peps.python.org/667#rationale
Making the frame.f_locals attribute a write-through proxyhttps://peps.python.org/667#making-the-frame-f-locals-attribute-a-write-through-proxy
Making the locals() builtin return independent snapshotshttps://peps.python.org/667#making-the-locals-builtin-return-independent-snapshots
Specificationhttps://peps.python.org/667#specification
Python APIhttps://peps.python.org/667#python-api
The frame.f_locals attributehttps://peps.python.org/667#the-frame-f-locals-attribute
The locals() builtinhttps://peps.python.org/667#the-locals-builtin
The eval() and exec() builtinshttps://peps.python.org/667#the-eval-and-exec-builtins
C APIhttps://peps.python.org/667#c-api
Additions to the PyEval C APIhttps://peps.python.org/667#additions-to-the-pyeval-c-api
PyFrame_GetLocals C APIhttps://peps.python.org/667#pyframe-getlocals-c-api
Deprecated C APIshttps://peps.python.org/667#deprecated-c-apis
Summary of Changeshttps://peps.python.org/667#summary-of-changes
Python API changeshttps://peps.python.org/667#python-api-changes
frame.f_locals changeshttps://peps.python.org/667#frame-f-locals-changes
locals() changeshttps://peps.python.org/667#locals-changes
eval() and exec() changeshttps://peps.python.org/667#eval-and-exec-changes
C API changeshttps://peps.python.org/667#c-api-changes
PyFrame_GetLocals changehttps://peps.python.org/667#pyframe-getlocals-change
PyEval_GetLocals changehttps://peps.python.org/667#pyeval-getlocals-change
Backwards Compatibilityhttps://peps.python.org/667#backwards-compatibility
Python API compatibilityhttps://peps.python.org/667#python-api-compatibility
frame.f_locals compatibilityhttps://peps.python.org/667#frame-f-locals-compatibility
locals() compatibilityhttps://peps.python.org/667#locals-compatibility
Impact on exec() and eval()https://peps.python.org/667#impact-on-exec-and-eval
Impact on other code execution APIs in the standard libraryhttps://peps.python.org/667#impact-on-other-code-execution-apis-in-the-standard-library
C API compatibilityhttps://peps.python.org/667#c-api-compatibility
PyEval_GetLocals compatibilityhttps://peps.python.org/667#pyeval-getlocals-compatibility
Impact on PEP 709 inlined comprehensionshttps://peps.python.org/667#impact-on-pep-709-inlined-comprehensions
Implementationhttps://peps.python.org/667#implementation
C APIhttps://peps.python.org/667#id1
Implementation Noteshttps://peps.python.org/667#implementation-notes
Comparison with PEP 558https://peps.python.org/667#comparison-with-pep-558
Reference Implementationhttps://peps.python.org/667#reference-implementation
Copyrighthttps://peps.python.org/667#copyright
locals()https://docs.python.org/3.13/builtins/functions.html#locals
PEP 1https://peps.python.org/pep-0001/
Abstracthttps://peps.python.org/667#abstract
Motivationhttps://peps.python.org/667#motivation
bugshttps://github.com/python/cpython/issues/74929
PEP 558https://peps.python.org/pep-0558/
Rationalehttps://peps.python.org/667#rationale
Making the frame.f_locals attribute a write-through proxyhttps://peps.python.org/667#making-the-frame-f-locals-attribute-a-write-through-proxy
Making the locals() builtin return independent snapshotshttps://peps.python.org/667#making-the-locals-builtin-return-independent-snapshots
PEP 558https://peps.python.org/pep-0558/
optimized scopeshttps://docs.python.org/3.13/glossary.html#term-optimized-scope
PEP 558https://peps.python.org/pep-0558/
Motivationhttps://peps.python.org/pep-0558/#pep-558-motivation
Additional considerations for eval() and exec() in optimized scopeshttps://peps.python.org/pep-0558/#pep-558-exec-eval-impact
Specificationhttps://peps.python.org/667#specification
Python APIhttps://peps.python.org/667#python-api
The frame.f_locals attributehttps://peps.python.org/667#the-frame-f-locals-attribute
optimized scopeshttps://docs.python.org/3.13/glossary.html#term-optimized-scope
The locals() builtinhttps://peps.python.org/667#the-locals-builtin
optimized scopeshttps://docs.python.org/3.13/glossary.html#term-optimized-scope
The eval() and exec() builtinshttps://peps.python.org/667#the-eval-and-exec-builtins
C APIhttps://peps.python.org/667#c-api
Additions to the PyEval C APIhttps://peps.python.org/667#additions-to-the-pyeval-c-api
PyFrame_GetLocals C APIhttps://peps.python.org/667#pyframe-getlocals-c-api
Deprecated C APIshttps://peps.python.org/667#deprecated-c-apis
PyEval_GetLocals compatibilityhttps://peps.python.org/667#pep-667-pyeval-getlocals-compatibility
Summary of Changeshttps://peps.python.org/667#summary-of-changes
Python API changeshttps://peps.python.org/667#python-api-changes
frame.f_locals changeshttps://peps.python.org/667#frame-f-locals-changes
locals() changeshttps://peps.python.org/667#locals-changes
Additional considerations for eval() and exec() in optimized scopeshttps://peps.python.org/pep-0558/#pep-558-exec-eval-impact
eval() and exec() changeshttps://peps.python.org/667#eval-and-exec-changes
locals() changeshttps://peps.python.org/667#pep-667-locals-changes
C API changeshttps://peps.python.org/667#c-api-changes
PyFrame_GetLocals changehttps://peps.python.org/667#pyframe-getlocals-change
PyEval_GetLocals changehttps://peps.python.org/667#pyeval-getlocals-change
Backwards Compatibilityhttps://peps.python.org/667#backwards-compatibility
Python API compatibilityhttps://peps.python.org/667#python-api-compatibility
frame.f_locals compatibilityhttps://peps.python.org/667#frame-f-locals-compatibility
locals() compatibilityhttps://peps.python.org/667#locals-compatibility
Impact on exec() and eval()https://peps.python.org/667#impact-on-exec-and-eval
Impact on other code execution APIs in the standard libraryhttps://peps.python.org/667#impact-on-other-code-execution-apis-in-the-standard-library
C API compatibilityhttps://peps.python.org/667#c-api-compatibility
PyEval_GetLocals compatibilityhttps://peps.python.org/667#pyeval-getlocals-compatibility
Impact on PEP 709 inlined comprehensionshttps://peps.python.org/667#impact-on-pep-709-inlined-comprehensions
Implementationhttps://peps.python.org/667#implementation
C APIhttps://peps.python.org/667#id1
Implementation Noteshttps://peps.python.org/667#implementation-notes
resolved by the Steering Councilhttps://github.com/python/steering-council/issues/245#issuecomment-2179005461
optimized scopeshttps://docs.python.org/3.13/glossary.html#term-optimized-scope
PEP 558https://peps.python.org/pep-0558/
PEP 558https://peps.python.org/pep-0558/
compatibility regressionhttps://github.com/python/cpython/issues/125590
resolvedhttps://github.com/python/cpython/pull/125616
The frame.f_locals attributehttps://peps.python.org/667#pep-667-f-locals-spec
Comparison with PEP 558https://peps.python.org/667#comparison-with-pep-558
PEP 558https://peps.python.org/pep-0558/
ultimately withdrawnhttps://peps.python.org/pep-0558/#pep-withdrawal
Reference Implementationhttps://peps.python.org/667#reference-implementation
draft pull request on GitHubhttps://github.com/python/cpython/pull/115153
Copyrighthttps://peps.python.org/667#copyright
Abstracthttps://peps.python.org/667#abstract
Motivationhttps://peps.python.org/667#motivation
Rationalehttps://peps.python.org/667#rationale
Making the frame.f_locals attribute a write-through proxyhttps://peps.python.org/667#making-the-frame-f-locals-attribute-a-write-through-proxy
Making the locals() builtin return independent snapshotshttps://peps.python.org/667#making-the-locals-builtin-return-independent-snapshots
Specificationhttps://peps.python.org/667#specification
Python APIhttps://peps.python.org/667#python-api
The frame.f_locals attributehttps://peps.python.org/667#the-frame-f-locals-attribute
The locals() builtinhttps://peps.python.org/667#the-locals-builtin
The eval() and exec() builtinshttps://peps.python.org/667#the-eval-and-exec-builtins
C APIhttps://peps.python.org/667#c-api
Additions to the PyEval C APIhttps://peps.python.org/667#additions-to-the-pyeval-c-api
PyFrame_GetLocals C APIhttps://peps.python.org/667#pyframe-getlocals-c-api
Deprecated C APIshttps://peps.python.org/667#deprecated-c-apis
Summary of Changeshttps://peps.python.org/667#summary-of-changes
Python API changeshttps://peps.python.org/667#python-api-changes
frame.f_locals changeshttps://peps.python.org/667#frame-f-locals-changes
locals() changeshttps://peps.python.org/667#locals-changes
eval() and exec() changeshttps://peps.python.org/667#eval-and-exec-changes
C API changeshttps://peps.python.org/667#c-api-changes
PyFrame_GetLocals changehttps://peps.python.org/667#pyframe-getlocals-change
PyEval_GetLocals changehttps://peps.python.org/667#pyeval-getlocals-change
Backwards Compatibilityhttps://peps.python.org/667#backwards-compatibility
Python API compatibilityhttps://peps.python.org/667#python-api-compatibility
frame.f_locals compatibilityhttps://peps.python.org/667#frame-f-locals-compatibility
locals() compatibilityhttps://peps.python.org/667#locals-compatibility
Impact on exec() and eval()https://peps.python.org/667#impact-on-exec-and-eval
Impact on other code execution APIs in the standard libraryhttps://peps.python.org/667#impact-on-other-code-execution-apis-in-the-standard-library
C API compatibilityhttps://peps.python.org/667#c-api-compatibility
PyEval_GetLocals compatibilityhttps://peps.python.org/667#pyeval-getlocals-compatibility
Impact on PEP 709 inlined comprehensionshttps://peps.python.org/667#impact-on-pep-709-inlined-comprehensions
Implementationhttps://peps.python.org/667#implementation
C APIhttps://peps.python.org/667#id1
Implementation Noteshttps://peps.python.org/667#implementation-notes
Comparison with PEP 558https://peps.python.org/667#comparison-with-pep-558
Reference Implementationhttps://peps.python.org/667#reference-implementation
Copyrighthttps://peps.python.org/667#copyright
Page Source (GitHub)https://github.com/python/peps/blob/main/peps/pep-0667.rst?plain=1
https://github.com/python/peps/blob/main/peps/pep-0667.rsthttps://github.com/python/peps/blob/main/peps/pep-0667.rst
2024-10-27 07:11:46 UTChttps://github.com/python/peps/commits/main/peps/pep-0667.rst

Viewport: width=device-width, initial-scale=1.0


URLs of crawlers that visited me.