You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Python: @x.setter/@x.getter/@x.deleter mint a sourceless stub node and a false decorator edge #4380
The Python decorator-reference pass (#2154) runs ensure_named_node on a decorator's head symbol. For the property-descriptor protocol decorators @x.setter / @x.getter / @x.deleter, the head symbol is setter/getter/deleter — not a corpus symbol. So every property with a setter/deleter (or a @x.getter redefinition) fabricates a sourceless stub node (setter/getter/deleter, empty source_file) and a references (context=decorator) edge onto it.
This is the same fabrication the builtin-decorator noise list already guards against for @property/@staticmethod, and it violates the provenance rule (a node with no source file).
Activity
github-actions commentedon Oct 12, 2026
Thanks for opening this issue, @rajatnagda45. A maintainer will take a look soon.
If you would like to discuss it in real time, come say hi on our Discord server. For longer-form questions and ideas there is also GitHub Discussions.
To help us triage, please make sure the report includes what you expected, what actually happened, and the steps (and a small sample) to reproduce it.
safishamsi commentedon Oct 12, 2026
Fixed in v0.9.88 (
graphifyy 0.9.88on PyPI) via #4385.