| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
See https://docs.python.org/3.15/library/threading.html#iterator-synchronization We handle these as simple Models-as-Data models.
There was a problem hiding this comment.
The models match the Python 3.15 APIs and are covered across normal data flow, taint flow, aliases, callbacks, and container types.
Review effort: Balanced
Findings: None
Adds Python 3.15 data-flow models for synchronized iterator utilities.
Changes:
| File | Description |
|---|---|
| python/ql/lib/semmle/python/frameworks/Stdlib.model.yml | Adds threading iterator models. |
| python/ql/lib/change-notes/2026-09-30-python315-threading-iterators.md | Records the new modeling. |
| python/ql/test/library-tests/dataflow/threading-iterators/test.py | Exercises normal data flow. |
| python/ql/test/library-tests/dataflow/threading-iterators/test_taint.py | Exercises taint propagation. |
| python/ql/test/library-tests/dataflow/threading-iterators/options | Configures Python 3 extraction. |
| python/ql/test/library-tests/dataflow/threading-iterators/NormalDataflowTest.ql | Provides the normal-flow test harness. |
| python/ql/test/library-tests/dataflow/threading-iterators/NormalDataflowTest.expected | Contains the generated normal-flow baseline. |
| python/ql/test/library-tests/dataflow/threading-iterators/InlineTaintTest.ql | Provides the taint test harness. |
| python/ql/test/library-tests/dataflow/threading-iterators/InlineTaintTest.expected | Contains the generated taint baseline. |
💡 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 |
See
https://docs.python.org/3.15/library/threading.html#iterator-synchronization
We handle these as simple Models-as-Data models.