This repository has been archived by the owner on Mar 20, 2021. It is now read-only.
with block: frame.f_local is read-only #1
Labels
help wanted
Extra attention is needed
more tests needed
A feature can only be considered stable if there are lots of different tests
Describe the bug
Currently only global variables can be assigned new values.(status quo: see comments below)To Reproduce
will print
5
, because the locals cannot be updated (__enter__ -> _start_block
).Expected behavior
myfunc()
should result in{}
being printed.Screenshots
None
Additional context
python 3.8.2
The text was updated successfully, but these errors were encountered: