Repository navigation
resolver: Python built-ins on the untyped-receiver fallback (Part of #4991) - #6412
Merged
Merged
Conversation
…4991) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Owner
Author
|
No description provided. |
squid-protocol
marked this pull request as ready for review
October 24, 2026 08:06
squid-protocol
enabled auto-merge (squash)
October 24, 2026 08:13
Contributor
Owner
Author
|
This PR conflicts with main, so no checks ran. Merge origin/main into it and regenerate generated files with their tools (never hand-merge them), then push. |
…752Z # Conflicts: # tests/core_engine/test_call_resolver.py
Owner
Author
|
No description provided. |
Owner
Author
|
CI shepherd: the head of this PR (88fbdc8) is not the one a maintainer labelled |
squid-protocol
disabled auto-merge
October 24, 2026 08:30
Owner
Author
|
No description provided. |
Owner
Author
|
No description provided. |
This was referenced Oct 24, 2026
3 of 8 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #4991 (Python box).
Class / Sibling gaps
Class: a call through an untyped, non-
selfreceiver whose method name is a language built-in (d.get(),s.strip(),items.append(x)) linked confidently (file/import) to a same-named repo method, via the untyped-receiver fallback in_resolve_one. This PR fills_BUILTIN_INSTANCE_METHODSforpythonandembedded_python(str/bytes, list/set, dict, file-object methods).self/cls, typed receivers and non-built-in names are unchanged (tests). No_BUILTIN_NAMESPACESentry: Python has no such global static namespaces.Sibling gaps (not in this PR, each needs its own list and measurement, none has a Level 2 reference except Kotlin's accuracy measure): Kotlin, C#, Ruby, PHP (method-only, likely nothing reaches the fallback), Go (ownerless-method language, likely bypasses the list). No burned mainframe estate needs any of them.
Evidence
test_call_resolver.py+test_call_graph_resolution_gate.py: 86 passed.pr_gates --fast: 7/7.call_graph_resolution.py python --ci(pyan3 not installed here),pr_gates --ratchets, so the Level 2 baseline is not regenerated; CI/ratchets will say if it moves. The Python box's "measure some other way" is only covered by the golden drift above.call_resolver.py, its test file); merge main after it lands.Checklist: partial [c:python] -- list added and unit-tested; no independent measurement of the built-in class.
🤖 Generated with Claude Code