Skip to content

Commit df051e5

Browse files
committed
0.15: modules dispatch and typecheck are no longer experimental.
1 parent 68c86c0 commit df051e5

File tree

3 files changed

+4
-16
lines changed

3 files changed

+4
-16
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
- Python 3.8 and 3.9 support added.
66
- `with namedlambda` now processes the walrus operator, too. In `f := lambda ...: ...`, the lambda will get the name `f`. (Python 3.8 and later.)
77

8+
**Non-breaking changes**:
9+
10+
- The modules `unpythonic.dispatch` and `unpythonic.typecheck`, which provide the `@generic` and `@typed` decorators and the `isoftype` function, are no longer considered experimental. From this release on, they receive the same semantic versioning guarantees as the rest of `unpythonic`.
11+
812
**Breaking changes**:
913

1014
- Migrate to the [`mcpyrate`](https://github.com/Technologicat/mcpyrate) macro expander; MacroPy support dropped.

unpythonic/dispatch.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,6 @@
44
Somewhat like `functools.singledispatch`, but for multiple dispatch.
55
66
https://docs.python.org/3/library/functools.html#functools.singledispatch
7-
8-
**WARNING: EXPERIMENTAL FEATURE**
9-
10-
This experimental feature is a proof-of-concept provided for technical preview
11-
and teaching purposes only.
12-
13-
Details may still change in a backwards-incompatible way, or the whole
14-
feature may still be removed. Do not depend on it in production!
157
"""
168

179
__all__ = ["generic", "typed"]

unpythonic/typecheck.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,6 @@
1111
If you need a run-time type checker for serious general use, consider `typeguard`:
1212
1313
https://github.com/agronholm/typeguard
14-
15-
**WARNING: EXPERIMENTAL FEATURE**
16-
17-
This experimental feature is a proof-of-concept provided for technical preview
18-
and teaching purposes only.
19-
20-
Details may still change in a backwards-incompatible way, or the whole
21-
feature may still be removed. Do not depend on it in production!
2214
"""
2315

2416
import collections

0 commit comments

Comments
 (0)