See https://github.com/ipython/ipython/issues/11303#issuecomment-421297197 ``` In [1]: x = 1 ...: def f(): ...: nonlocal x ...: x = 10000 ``` Should raise but does not. It's minor, but may be good to fix as behavior is likely undefined.
See #11303 (comment)
Should raise but does not.
It's minor, but may be good to fix as behavior is likely undefined.