GitNexus/gitnexus/test/fixtures/python-captures-golden
Gergő Magyar 14761715ed
fix(python): find dependents of constants and passed functions (#3957)
* fix(python): find dependents of constants and passed functions

Emit ACCESSES for covered bare reads and USES for callable arguments so
context and impact can report their dependents. Preserve lexical shadowing,
annotation filtering, default-expression ownership and Depends calls.

Allow providers to disable implicit receiver lookup, and opt Python out so
class members cannot displace module or import bindings. Keep explicit
receivers and other providers unchanged.

Cover the issue examples and scope boundaries, update capture baselines,
and document the remaining limits.

* test(python): guard value-reference scaling and graph completeness

Benchmark captures and scope resolution with growing constants and callback
references. Keep calibrated samples, verify exact graph facts and fingerprints,
and reject full-span or adjacent scaling regressions in the existing CI step.

---------

Co-authored-by: Gergo Magyar <gergomagyar0@gmail.com>
2026-11-16 16:42:30 +00:00
..
expected-captures.json fix(python): find dependents of constants and passed functions (#3957) 2026-11-16 16:42:30 +00:00