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
#3327 follow-up: built-ins are calls -- trim _CALLS_OUT_GLOBAL_IGNORE to keywords (contract C2) #3361
Part of #3265, from the #3327 contract audit (docs/calls_out_rule_contract.md, class B). Land after #3328, so the resolver's external class absorbs the new names.
Joe's #3327 decision: built-ins and stdlib are calls. The #3328 resolver labels them external because nothing in the repo defines them. Extraction should not filter them. _CALLS_OUT_GLOBAL_IGNORE (detector.py) mixes true keywords with built-ins:
keep (keywords / owned by import): if for while switch catch return sizeof typeof alignof decltype using throw await import require include def function class try except finally require_once include_once
remove (built-ins, calls by contract): print println console log echo printf fmt assert expect cast isinstance issubclass hasattr getattr setattr delattr len max min range xrange enumerate zip map filter list dict set tuple bool int float str bytes bytearray memoryview super String Array Object Number Boolean
Per-language _calls_out_ignore sets need the same split. Watch wrapper_extractor.py (#3313 reads calls_out_to: a project wrapper around printf becomes visible) and network_risk_sensor test mapping. Golden bless + rosetta rebless.
Activity
Contract: state what counts as a call -- calls_out (#3327, #3265 step…
Benchmark call-graph accuracy (#3332) + two resolver fixes it found (#…
Re-bless split golden masters for #3361 on main (after #3360, #3402)
Engine: built-ins are calls -- calls_out ignore sets hold keywords on…
rebless(15 languages): built-ins are calls (companion to squid-protoc…
Resolver: a bare Perl call to a built-in is the built-in (#3401) (#3444)