Repository navigation
Commit 76f5999
committed
Announce the warnings module in the release notes
One bullet per entry point, each saying what it is for and what a reader has
to know before reaching for it, rather than listing the names.
`ignoring_warnings()` needs the reason it exists at all, which is the
deduplication history a `catch_warnings()` block resets, and the cost, since
that is what makes it usable where repairing the damage afterwards would not
be. `asserting_no_warnings()` needs what it has over the `"error"` filter a
test would otherwise use. And `deprecated_aliases()` needs both halves: the
`if TYPE_CHECKING:` and `else:` shape, without which a module `__getattr__`
turns every unknown name in that module into `Any`, and the shape of what it
can't reach, which is the question anybody moving a whole package asks first.
Signed-off-by: Leandro Lucarella <luca-frequenz@llucax.com>1 parent 3d860cf commit 76f5999
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
14 | 18 | | |
15 | 19 | | |
16 | 20 | | |
| |||
0 commit comments