Skip to content

Commit 9ffdf37

Browse files
committed
Add stubgen and stubtest sections
1 parent 52072c9 commit 9ffdf37

1 file changed

Lines changed: 17 additions & 11 deletions

File tree

CHANGELOG.md

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -88,16 +88,31 @@ Contributed by Marc Mueller (PR [18641](https://github.com/python/mypy/pull/1864
8888
* Fix wheel build for cp313-win (Marc Mueller, PR [18560](https://github.com/python/mypy/pull/18560))
8989
* Reduce impact of immortality (introduced in Python 3.12) on reference counting performance (Jukka Lehtosalo, PR [18459](https://github.com/python/mypy/pull/18459))
9090

91+
### Stubgen Improvements
92+
93+
* Fix `TypeAlias` handling (Alexey Makridenko, PR [18960](https://github.com/python/mypy/pull/18960))
94+
* Handle `arg=None` in C extension modules (Anthony Sottile, PR [18768](https://github.com/python/mypy/pull/18768))
95+
* Fix valid type detection to allow pipe unions (Chad Dombrova, PR [18726](https://github.com/python/mypy/pull/18726))
96+
* Include simple decorators in stub files (Marc Mueller, PR [18489](https://github.com/python/mypy/pull/18489))
97+
98+
### Stubtest Improvements
99+
100+
* Make stubtest ignore `__slotnames__` (Nick Pope, PR [19077](https://github.com/python/mypy/pull/19077))
101+
* Fix stubtest tests on 3.14 (Jelle Zijlstra, PR [19074](https://github.com/python/mypy/pull/19074))
102+
* Support for `strict_bytes` in stubtest (Joren Hammudoglu, PR [19002](https://github.com/python/mypy/pull/19002))
103+
* Understand override (Shantanu, PR [18815](https://github.com/python/mypy/pull/18815))
104+
* Better checking of runtime arguments with dunder names (Shantanu, PR [18756](https://github.com/python/mypy/pull/18756))
105+
* Ignore setattr and delattr inherited from object (Stephen Morton, PR [18325](https://github.com/python/mypy/pull/18325))
106+
* Replace old typing_extensions imports in tests (Marc Mueller, PR [18691](https://github.com/python/mypy/pull/18691))
107+
91108
### Miscellanous Fixes and Improvements
92109

93110
* Clear more data in TypeChecker.reset() instead of asserting (Valentin Stanciu, PR [19087](https://github.com/python/mypy/pull/19087))
94111
* Add --strict-bytes to --strict (wyattscarpenter, PR [19049](https://github.com/python/mypy/pull/19049))
95112
* Admit that Final variables are never redefined (Stanislav Terliakov, PR [19083](https://github.com/python/mypy/pull/19083))
96113
* Fall back to Incomplete if we are unable to determine the module name (Stanislav Terliakov, PR [19084](https://github.com/python/mypy/pull/19084))
97-
* Make stubtest ignore `__slotnames__` (Nick Pope, PR [19077](https://github.com/python/mypy/pull/19077))
98114
* Fix crash on multiple unpacks in a bare type application (Stanislav Terliakov, PR [18857](https://github.com/python/mypy/pull/18857))
99115
* Ignore a few override errors in typeshed (Jukka Lehtosalo, PR [19079](https://github.com/python/mypy/pull/19079))
100-
* Fix stubtest tests on 3.14 (Jelle Zijlstra, PR [19074](https://github.com/python/mypy/pull/19074))
101116
* Add some functionality to misc/perf_compare.py (wyattscarpenter, PR [18471](https://github.com/python/mypy/pull/18471))
102117
* Re-add documentation for formatting mypy --help text (wyattscarpenter, PR [19063](https://github.com/python/mypy/pull/19063))
103118
* Speed up bind_self() in trivial cases (Ivan Levkivskyi, PR [19024](https://github.com/python/mypy/pull/19024))
@@ -112,10 +127,8 @@ Contributed by Marc Mueller (PR [18641](https://github.com/python/mypy/pull/1864
112127
* Enable colored output for argparse help in Python 3.14 (Marc Mueller, PR [19021](https://github.com/python/mypy/pull/19021))
113128
* Fix argparse for Python 3.14 (Marc Mueller, PR [19020](https://github.com/python/mypy/pull/19020))
114129
* dmypy suggest can now suggest through contextmanager-based decorators (Anthony Sottile, PR [18948](https://github.com/python/mypy/pull/18948))
115-
* [stubgen] Fix `TypeAlias` handling (Alexey Makridenko, PR [18960](https://github.com/python/mypy/pull/18960))
116130
* Check superclass compatibility of untyped methods if `--check-untyped-defs` is set (Stanislav Terliakov, PR [18970](https://github.com/python/mypy/pull/18970))
117131
* Bug fix of __r<magic_methods>__ being used under the same __<magic_method>__ hook (Arnav Jain, PR [18995](https://github.com/python/mypy/pull/18995))
118-
* support for `strict_bytes` in stubtest (Joren Hammudoglu, PR [19002](https://github.com/python/mypy/pull/19002))
119132
* Prioritize `.pyi` from `-stubs` packages over bundled `.pyi` (Joren Hammudoglu, PR [19001](https://github.com/python/mypy/pull/19001))
120133
* Do not narrow types to Never with binder (Ivan Levkivskyi, PR [18972](https://github.com/python/mypy/pull/18972))
121134
* Local forward refs should precede global forward refs (Ivan Levkivskyi, PR [19000](https://github.com/python/mypy/pull/19000))
@@ -154,7 +167,6 @@ Contributed by Marc Mueller (PR [18641](https://github.com/python/mypy/pull/1864
154167
* add `scipy-stubs` as non-typeshed stub package (Joren Hammudoglu, PR [18832](https://github.com/python/mypy/pull/18832))
155168
* Consolidate descriptor handling in checkmember.py (Ivan Levkivskyi, PR [18831](https://github.com/python/mypy/pull/18831))
156169
* Move some functions from checkmember to typeops (Ivan Levkivskyi, PR [18820](https://github.com/python/mypy/pull/18820))
157-
* stubtest: understand override (Shantanu, PR [18815](https://github.com/python/mypy/pull/18815))
158170
* Add flag to allow more flexible variable redefinition (Jukka Lehtosalo, PR [18727](https://github.com/python/mypy/pull/18727))
159171
* Fix dict.get issue for typeshed update (Marc Mueller, PR [18806](https://github.com/python/mypy/pull/18806))
160172
* Support positional and keyword-only arguments in stubdoc (Paul Ganssle, PR [18762](https://github.com/python/mypy/pull/18762))
@@ -163,20 +175,15 @@ Contributed by Marc Mueller (PR [18641](https://github.com/python/mypy/pull/1864
163175
* Fix crash for callable with *args and suffix against Any (Ivan Levkivskyi, PR [18781](https://github.com/python/mypy/pull/18781))
164176
* Consistently store settable property type (Ivan Levkivskyi, PR [18774](https://github.com/python/mypy/pull/18774))
165177
* Improve docs on type narrowing (Tim Hoffmann, PR [18767](https://github.com/python/mypy/pull/18767))
166-
* handle arg=None in stubgenc (Anthony Sottile, PR [18768](https://github.com/python/mypy/pull/18768))
167-
* stubtest: better checking of runtime args with dunder names (Shantanu, PR [18756](https://github.com/python/mypy/pull/18756))
168178
* Restrict type of `AssignmentExpr.target` to `NameExpr` (bzoracler, PR [18714](https://github.com/python/mypy/pull/18714))
169-
* stubtest: ignore setattr and delattr inherited from object (Stephen Morton, PR [18325](https://github.com/python/mypy/pull/18325))
170179
* Do not blindly undefer on leaving fuction (Ivan Levkivskyi, PR [18674](https://github.com/python/mypy/pull/18674))
171180
* Process superclass methods before subclass methods in semanal (Ivan Levkivskyi, PR [18723](https://github.com/python/mypy/pull/18723))
172-
* stubgen: Fix valid type detection to allow pipe unions (Chad Dombrova, PR [18726](https://github.com/python/mypy/pull/18726))
173181
* Only defer top-level functions (Ivan Levkivskyi, PR [18718](https://github.com/python/mypy/pull/18718))
174182
* Add one more type-checking pass (Ivan Levkivskyi, PR [18717](https://github.com/python/mypy/pull/18717))
175183
* Optimize mypy/solve.py with min instead of sort (Aaron Gokaslan, PR [18688](https://github.com/python/mypy/pull/18688))
176184
* [docs] Fix metaclass usage example (Georg, PR [18686](https://github.com/python/mypy/pull/18686))
177185
* Add an option to exclude everything in .gitignore (Ivan Levkivskyi, PR [18696](https://github.com/python/mypy/pull/18696))
178186
* Add regression test for typing_extensions.Literal and mypy_extensions.TypedDict (Marc Mueller, PR [18694](https://github.com/python/mypy/pull/18694))
179-
* [stubtest] Replace old typing_extensions imports in tests (Marc Mueller, PR [18691](https://github.com/python/mypy/pull/18691))
180187
* Properly account for `member` and `nonmember` in `TypeInfo.enum_members` (sobolevn, PR [18559](https://github.com/python/mypy/pull/18559))
181188
* Fix instance vs tuple subtyping edge case (Ivan Levkivskyi, PR [18664](https://github.com/python/mypy/pull/18664))
182189
* Enable `strict_bytes` in self-check (sobolevn, PR [18670](https://github.com/python/mypy/pull/18670))
@@ -218,7 +225,6 @@ Contributed by Marc Mueller (PR [18641](https://github.com/python/mypy/pull/1864
218225
* Suggest typing.Literal for exit-return error messages (Marc Mueller, PR [18541](https://github.com/python/mypy/pull/18541))
219226
* Allow redefinitions in except/else/finally (Stanislav Terliakov, PR [18515](https://github.com/python/mypy/pull/18515))
220227
* Support properties with setter type different from getter type (Ivan Levkivskyi, PR [18510](https://github.com/python/mypy/pull/18510))
221-
* [stubgen] Include simple decorators in stub files (Marc Mueller, PR [18489](https://github.com/python/mypy/pull/18489))
222228
* Disallow inline config of Python version (Shantanu, PR [18497](https://github.com/python/mypy/pull/18497))
223229
* Update TypedDict imports in tests (Marc Mueller, PR [18528](https://github.com/python/mypy/pull/18528))
224230
* Update NoReturn imports in tests (Marc Mueller, PR [18529](https://github.com/python/mypy/pull/18529))

0 commit comments

Comments
 (0)