PEP 558, the simplest thing I could come up with
29 Jul
2021
29 Jul
'21
11:05 p.m.
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.
976
Age (days ago)
994
Last active (days ago)
5 comments
4 participants
participants (4)
-
Brett Cannon
-
Mark Shannon
-
Nathaniel Smith
-
Nick Coghlan