New submission from Alex Gaynor <[email protected]>:
Specifically, if you call locals(), delete a local var, and then call locals()
again, it's still present:
def main():
a = 3
locals()
del a
print locals()
main()
The cause is at pypy/interpreter/eval.py fast2locals:L110
----------
messages: 6235
nosy: agaynor, pypy-issue
priority: bug
status: unread
title: Deleted local variables show up in locals()
________________________________________
PyPy bug tracker <[email protected]>
<https://bugs.pypy.org/issue1617>
________________________________________
_______________________________________________
pypy-issue mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-issue