mirror of
https://github.com/varun-r-mallya/Python-BPF.git
synced 2026-12-06 01:48:35 +00:00
`global x` covers the whole function body, so a body that reads x above the declaration has two incompatible readings of that line. Python rejects it with "name 'x' is used prior to global declaration"; say the same thing rather than silently picking the global. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>