Skip to content

Commit bec2470

Browse files
Technologicatclaude
andcommitted
changelog: document D4 set 2 typecheck additions
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 59fea40 commit bec2470

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
- New `unpythonic.test.runner` module: reusable test runner with module discovery, version-suffix gating (e.g. `test_foo_3_11.py` skipped on Python < 3.11), and integration with the test framework's warning system. Other projects using `unpythonic.test.fixtures` can import it directly.
1818
- New `emit_warning()` function in `unpythonic.test.fixtures` for signaling test warnings from infrastructure code (outside `test[]`/`warn[]` macros). Used by the test runner for version-suffix skips, which show in the testset warning count.
1919
- Missing optional dependencies (sympy, mpmath) in tests emit `warn[]` instead of `error[]`, correctly reflecting that these are expected skips, not failures.
20-
- Runtime type checker (`unpythonic.typecheck`): new supported typing features — `NoReturn`, `Never` (3.11+), `Literal`, `Type`, `ClassVar`, `Final`, `DefaultDict`, `OrderedDict`, `Counter`, `ChainMap`.
20+
- Runtime type checker (`unpythonic.typecheck`): new supported typing features — `NoReturn`, `Never` (3.11+), `Literal`, `Type`, `ClassVar`, `Final`, `DefaultDict`, `OrderedDict`, `Counter`, `ChainMap`, `IO`/`TextIO`/`BinaryIO` (mapped to `io` module ABCs), `Pattern[T]`/`Match[T]` (string type checked when parametric), `ContextManager`, `AsyncContextManager`, `Awaitable`, `Coroutine`, `AsyncIterable`, `AsyncIterator`, `Generator`, `AsyncGenerator`.
2121

2222
**Fixed**:
2323

0 commit comments

Comments
 (0)