1
1
# Mypy Release Notes
2
2
3
- ## Next release
3
+ ## Next Release
4
4
5
5
...
6
6
7
- ## Mypy 1.15 (unreleased )
7
+ ## Mypy 1.15 (Unreleased )
8
8
9
9
We’ve just uploaded mypy 1.15 to the Python Package Index ([ PyPI] ( https://pypi.org/project/mypy/ ) ).
10
10
Mypy is a static type checker for Python. This release includes new features and bug fixes.
@@ -14,14 +14,14 @@ You can install it as follows:
14
14
15
15
You can read the full documentation for this release on [ Read the Docs] ( http://mypy.readthedocs.io ) .
16
16
17
- ### Performance improvements
17
+ ### Performance Improvements
18
18
19
19
Mypy may be 5-30% faster. This improvement comes largely from tuning the performance of the
20
20
garbage collector.
21
21
22
22
Contributed by Jukka Lehtosalo (PR [ 18306] ( https://github.com/python/mypy/pull/18306 ) ).
23
23
24
- ### Mypyc accelerated mypy wheels for aarch64
24
+ ### Mypyc Accelerated Mypy Wheels for ` aarch64 `
25
25
26
26
Mypy can compile itself to C extension modules using mypyc. This makes mypy 3-5x faster
27
27
than if mypy is interpreted with pure Python. We now build and upload mypyc accelerated
@@ -41,7 +41,7 @@ Use this flag to disable this behavior. `--strict-bytes` will be enabled by defa
41
41
Contributed by Ali Hamdan (PR [ 18263] ( https://github.com/python/mypy/pull/18263 ) ) and
42
42
Shantanu Jain (PR [ 13952] ( https://github.com/python/mypy/pull/13952 ) ).
43
43
44
- ### Improvements to reachability analysis and partial type handling in loops
44
+ ### Improvements to Reachability Analysis and Partial Type Handling in Loops
45
45
46
46
This change results in mypy better modelling control flow within loops and hence detecting several
47
47
issues it previously did not detect. In some cases, this change may require use of an additional
@@ -53,7 +53,7 @@ PR [18433](https://github.com/python/mypy/pull/18433)).
53
53
(Speaking of partial types, another reminder that mypy plans on enabling ` --local-partial-types `
54
54
by default in ** mypy 2.0** ).
55
55
56
- ### Better discovery of configuration files
56
+ ### Better Discovery of Configuration Files
57
57
58
58
Mypy will now walk up the filesystem (up until a repository or file system root) to discover
59
59
configuration files. See the
@@ -63,7 +63,7 @@ for more details.
63
63
Contributed by Mikhail Shiryaev and Shantanu Jain
64
64
(PR [ 16965] ( https://github.com/python/mypy/pull/16965 ) , PR [ 18482] ( https://github.com/python/mypy/pull/18482 ) )
65
65
66
- ### Better line numbers for decorators and slice expressions
66
+ ### Better Line Numbers for Decorators and Slice Expressions
67
67
68
68
Mypy now uses more correct line numbers for decorators and slice expressions. In some cases, this
69
69
may necessitate changing the location of a ` # type: ignore ` comment.
0 commit comments