Skip to content

Conversation

@jorenham
Copy link
Contributor

@jorenham jorenham commented May 4, 2025

It's @final, so I figured that the similar concerns for Mapping from python/typing#273 don't apply here 🤷.

But I admit that amount of # type: ignore's is a bit sketchy...

@jorenham jorenham force-pushed the MappingProxyType-covariant-key-type branch 3 times, most recently from f447c14 to 01b423b Compare May 4, 2025 15:48
@github-actions

This comment has been minimized.

@brianschubert
Copy link
Collaborator

This has conflicts now

@jorenham jorenham force-pushed the MappingProxyType-covariant-key-type branch from 01b423b to 1f6c0c2 Compare September 6, 2025 22:18
@github-actions
Copy link
Contributor

github-actions bot commented Sep 6, 2025

Diff from mypy_primer, showing the effect of this PR on open source code:

discord.py (https://github.com/Rapptz/discord.py)
- discord/ext/commands/hybrid.py:629: error: Overlap between argument names and ** TypedDict items: "name", "description"  [misc]
+ discord/ext/commands/hybrid.py:629: error: Overlap between argument names and ** TypedDict items: "description", "name"  [misc]
- discord/ext/commands/hybrid.py:834: error: Overlap between argument names and ** TypedDict items: "with_app_command", "name"  [misc]
+ discord/ext/commands/hybrid.py:834: error: Overlap between argument names and ** TypedDict items: "name", "with_app_command"  [misc]
- discord/ext/commands/hybrid.py:858: error: Overlap between argument names and ** TypedDict items: "with_app_command", "name"  [misc]
+ discord/ext/commands/hybrid.py:858: error: Overlap between argument names and ** TypedDict items: "name", "with_app_command"  [misc]
- discord/ext/commands/bot.py:290: error: Overlap between argument names and ** TypedDict items: "with_app_command", "name"  [misc]
+ discord/ext/commands/bot.py:290: error: Overlap between argument names and ** TypedDict items: "name", "with_app_command"  [misc]
- discord/ext/commands/bot.py:314: error: Overlap between argument names and ** TypedDict items: "with_app_command", "name"  [misc]
+ discord/ext/commands/bot.py:314: error: Overlap between argument names and ** TypedDict items: "name", "with_app_command"  [misc]

Copy link
Collaborator

@srittau srittau left a comment

Choose a reason for hiding this comment

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

Makes sense to me, thanks!

@srittau srittau merged commit 3542650 into python:main Oct 8, 2025
63 checks passed
@jorenham jorenham deleted the MappingProxyType-covariant-key-type branch October 8, 2025 14:50
Sign up for free to 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.

3 participants