Hi Nick,
Our discussion on PEP 558 got me thinking
"What is the simplest thing that would work?".
This is what I came up (in the form of a draft PEP):
https://github.com/markshannon/peps/blob/pep-locals/pep-06xx.rst
It doesn't have O(1) len(f_locals), and it does break
`PyEval_GetLocals()` but I think the that is a small price to pay for
simplicity and consistency.
What do you think?
Cheers,
Mark.
_______________________________________________
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at
https://mail.python.org/archives/list/python-dev@python.org/message/FCWMWQ7TCSHE7LIXRMMR3Z37LJKIOO5J/
Code of Conduct: http://python.org/psf/codeofconduct/