The <picture> picked its source with prefers-color-scheme, which follows
the browser or OS, not the theme chosen on GitHub. With GitHub on Light
and the system on dark, the dark logo was shown: its white wordmark
vanished on the white page and left the emblem alone at the left of a
3:1 box, so the logo looked off-centre.
docs/_static/pythonbpf-logo.svg is the light logo with its wordmark in
#3776ab, the emblem's own blue: 4.8:1 against GitHub's white and 3.9:1
against its dark background. The README links it by absolute URL so the
PyPI page, which renders the same README, shows it too.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The overview example still labelled the LICENSE declaration as required,
which contradicts the GPL default documented in decorators.md and the
quickstart.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
xdp_md.data/data_end/data_meta and __sk_buff.data/data_end are u32 in
C and packet pointers to the verifier, so arithmetic on them directly
is rejected as 32-bit pointer arithmetic, for C and for us alike. A
TODO at the point where a field's rank is decided describes the planned
fix (64-bit pointer rank for those fields, no cast needed), and the
user guide documents the workaround until then: copy to a local or cast
through c_void_p.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
C's rules over the ctypes types: what a declaration means, literal rank,
source-driven widening with the destination typing the stored value, the
usual arithmetic conversions applied per operation, which operators and
predicates the sign selects, and the list of deliberate divergences from
Python (/ and // truncate, % takes the dividend's sign, fixed width,
unsigned types exist).
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BSDVsZH5NtoASyxB8FCtGU