mirror of
https://github.com/varun-r-mallya/Python-BPF.git
synced 2026-12-06 18:08:36 +00:00
globals_shadowing.py asserted the old rule, so it moves to passing_tests/globals/shadowing.py and asserts the new one: the write without `global` binds a local, and a second program still reads the global's initializer. copy_to_local.py covers `x = a_global`, the read shape that used to fail in the allocation pass. globals_read_before_shadow.py takes over as the failing case, since a read above the binding is what Python rejects, and the augassign test keeps its xfail with the reason reworded to the UnboundLocalError it is. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>