File tree 1 file changed +7
-3
lines changed
1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 4
4
5
5
### Performance improvements
6
6
7
- TODO
7
+ Mypy may be 5-30% faster. This improvement comes largely from tuning the performance of the
8
+ garbage collector.
9
+
10
+ Contributed by Jukka Lehtosalo (PR [ 18306] ( https://github.com/python/mypy/pull/18306 ) ).
8
11
9
12
### Drop Support for Python 3.8
10
13
@@ -33,13 +36,14 @@ Use this flag to disable this behavior. `--strict-bytes` will be enabled by defa
33
36
Contributed by Ali Hamdan (PR [ 18137] ( https://github.com/python/mypy/pull/18263/ ) ) and
34
37
Shantanu Jain (PR [ 13952] ( https://github.com/python/mypy/pull/13952 ) ).
35
38
36
- ### Improvements to partial type handling in loops
39
+ ### Improvements to reachability analysis and partial type handling in loops
37
40
38
41
This change results in mypy better modelling control flow within loops and hence detecting several
39
42
issues it previously did not detect. In some cases, this change may require use of an additional
40
43
explicit annotation of a variable.
41
44
42
- Contributed by Christoph Tyralla (PR [ 18180] ( https://github.com/python/mypy/pull/18180 ) ).
45
+ Contributed by Christoph Tyralla (PR [ 18180] ( https://github.com/python/mypy/pull/18180 ) ,
46
+ [ PR] ( https://github.com/python/mypy/pull/18433 ) ).
43
47
44
48
(Speaking of partial types, another reminder that mypy plans on enabling ` --local-partial-types `
45
49
by default in ** mypy 2.0** ).
You can’t perform that action at this time.
0 commit comments