| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
For `sentinel`, we just add it to the list of the known built-ins. For `frozendict`, we additionally add a flow summary (which just replicates the existing summary for `dict`).
There was a problem hiding this comment.
The models match Python 3.15 semantics and are covered by focused positive and negative tests.
Review effort: Balanced
Findings: None
Adds Python 3.15 frozendict and sentinel recognition, including frozendict data-flow modeling.
Changes:
| File | Description |
|---|---|
| python/ql/test/library-tests/dataflow/tainttracking/defaultAdditionalTaintStep-py3/test_frozendict.py | Tests taint propagation. |
| python/ql/test/library-tests/dataflow/frozendict/test.py | Covers constructor forms and mapping operations. |
| python/ql/test/library-tests/dataflow/frozendict/options | Configures extraction. |
| python/ql/test/library-tests/dataflow/frozendict/NormalDataflowTest.ql | Defines the data-flow test query. |
| python/ql/test/library-tests/dataflow/frozendict/NormalDataflowTest.expected | Records expected test output. |
| python/ql/test/library-tests/ApiGraphs/py3/test.py | Tests built-in API resolution. |
| python/ql/lib/semmle/python/frameworks/Stdlib.qll | Adds the frozendict flow summary. |
| python/ql/lib/semmle/python/dataflow/new/internal/Builtins.qll | Registers the new built-ins. |
| python/ql/lib/change-notes/2026-09-22-python315-builtins.md | Documents the analysis improvement. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
For sentinel, we just add it to the list of the known built-ins. For frozendict, we additionally add a flow summary (which just replicates the existing summary for dict).