Skip to content

Add changelog for 1.16 - #19138

Merged
JukkaL merged 20 commits into
masterfrom
changelog-1.16
May 29, 2025
Merged

Add changelog for 1.16#19138
JukkaL merged 20 commits into
masterfrom
changelog-1.16

Conversation

@JukkaL

Copy link
Copy Markdown
Collaborator

Related to #18739.

Comment threadCHANGELOG.md Outdated
* `dmypy suggest` can now suggest through contextmanager-based decorators (Anthony Sottile, PR [18948](https://github.com/python/mypy/pull/18948))
* Fix `__r<magic_methods>__` being used under the same `__<magic_method>__` hook (Arnav Jain, PR [18995](https://github.com/python/mypy/pull/18995))
* Prioritize `.pyi` from `-stubs` packages over bundled `.pyi` (Joren Hammudoglu, PR [19001](https://github.com/python/mypy/pull/19001))
* Do not narrow types to Never with binder (Ivan Levkivskyi, PR [18972](https://github.com/python/mypy/pull/18972))

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Duplicated from L320?

Comment threadCHANGELOG.md Outdated
* Fix PEP 695 type alias with a mix of type arguments (PEP 696) (Marc Mueller, PR [18919](https://github.com/python/mypy/pull/18919))
* Allow deeper recursion in mypy daemon, better error reporting (Carter Dodd, PR [17707](https://github.com/python/mypy/pull/17707))
* Fix swapped errors for frozen/non-frozen dataclass inheritance (Nazrawi Demeke, PR [18918](https://github.com/python/mypy/pull/18918))
* Traverse module ancestors when traversing reachable graph nodes during dmypy update (Stanislav Terliakov, PR [18906](https://github.com/python/mypy/pull/18906))

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Belongs to "Fixes to Crashes"?

Comment threadCHANGELOG.md Outdated

@abstractmethod
@overload
deef foo(self, x: str) -> str: ...

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
deef foo(self, x: str) -> str: ...
def foo(self, x: str) -> str: ...

@JukkaLJukkaL mentioned this pull request May 27, 2025
Comment threadCHANGELOG.md Outdated
* Reject duplicate `ParamSpec.{args,kwargs}` at call site (Stanislav Terliakov, PR [18854](https://github.com/python/mypy/pull/18854))
* Make detection of enum members more consistent (sobolevn, PR [18675](https://github.com/python/mypy/pull/18675))
* Admit that `**kwargs` mapping subtypes may have no direct type parameters (Stanislav Terliakov, PR [18850](https://github.com/python/mypy/pull/18850))
* Drop don't suggest `types-setuptools for `pkg_resources` (Shantanu, PR [18840](https://github.com/python/mypy/pull/18840))

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This sentence doesn't parse? It should be either "Drop" or "don't suggest" but not both.

@ilevkivskyiilevkivskyiMay 27, 2025

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also something wrong with backticks here, I think there is one missing after "setuptools".

@sterliakovsterliakovMay 27, 2025

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And missing backtick too late...

@JukkaL
JukkaL merged commit 8c772c7 into masterMay 29, 2025
@JukkaL
JukkaL deleted the changelog-1.16 branch May 29, 2025 11:36
JukkaL added a commit that referenced this pull request May 29, 2025
cdce8p pushed a commit to cdce8p/mypy that referenced this pull request May 31, 2025
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@JukkaL@jorenham@ilevkivskyi@sterliakov