mirror of
https://github.com/varun-r-mallya/Python-BPF.git
synced 2026-12-06 09:58:34 +00:00
Three review notes from the globals PR, all about being explicit: - Augmented assignment on a struct field handles one level of dereference. Say so where the target is unpacked, and give `obj.inner.field += v` its own message instead of an ast.dump. - The ast.Global branch of process_stmt is a no-op for a reason (declarations are collected before anything is lowered, because the binding is function-wide). Spell that out, and log the names at debug level rather than leaving a bare pass. - process_stmt had no else, so any statement the compiler does not handle was dropped without a word, which makes a program mean something other than what it says. Warn, with the line number. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>