Add a Tests NEWS entry

This commit is contained in:
Beomsoo Kim 2024-11-12 21:42:21 +09:00
parent 9d328538d5
commit 404bb9ca90

View file

@ -0,0 +1,5 @@
Added tests to verify that `global` and `nonlocal` statement names are only
restricted from use or assignment before their declaration, aligning with
the updated language specification and CPython's behavior. The tests also
ensure that `global` and `nonlocal` statements exhibit correct behavior.
Change by Beomsoo Kim.