de.h-dv.python package: 91 lost bindings vs the builtin on flask (member_access head emitted as type, imported calls unresolved). Ship the fix as a package release, not a host release #315
Labels
No labels
code-review
correctness
dos
performance
security
severity/high
severity/low
severity/medium
tech-debt
Kind/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
h-dv/code-index#315
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Measured on the v0.33.0 candidate (
8879fd84+5e4c602b), usinglanguage_package_overhead(quiet machine, release worker). Six packages match the builtin exactly. The Python package does not on python-flask:references and targets: 15,365 rows on both sides, but 91 sites differ, and every one is a package-side recall loss. The package never binds a site the builtin leaves unbound, so there are no phantom binds.member_access, bound (e.g.requestinrequest.args→src/flask/ctx.py#request,g,session,app_ctx)type, unresolvedcall, bound (get_version,create_app,get_db,abort, …)method_call, boundtype, boundBy location:
examples/46,src/27,tests/17,docs/1. The top names are request 26, app_ctx 19, g 10, get_db 8, json 6, session 5, create_app 4.Two defects in the package's extractor and its import facts:
type, notmember_access, so receiver resolution never sees it.from … import) never resolve; the builtin resolves them.Operator direction (2026-10-05): "this is what plugins are for". Fix it IN THE PACKAGE (
tests/packages/python, its guest) and ship it as the nextde.h-dv.pythonversion through the package-release workflow. The fix must not wait for a host release.Python stays on the builtin in v0.33.0, as every language ships opt-in/shadow.
Done when:
language_package_overhead's python-flask row reportssemantic_failure: null, alongside the other six. Reproduce withCOSI_OVERHEAD_REPS=3and.take(12)widened to see all 91 rows.Closing: no longer reproduces. The nightly package-overhead run 1166 (master
25a45918, v0.39.0) reportssemantic_failure: nullfor de.h-dv.python on python-flask, i.e. the package's resolved index equals the builtin's, andcrates/guest/python/parity-deltas.tomlrecords the package walker as equal to the builtin on flask's 83 files with zero declared deltas. The loss went away with the per-package walker ownership in v0.37 (#354); no separate fix commit references this issue. Python is one of the six languages the v0.41 train switches to package ownership, where corpus identity through the package is the acceptance test.