Skip to content

Conversation

@srittau
Copy link
Collaborator

@srittau srittau commented Apr 11, 2025

Remove overloads and type vars. Introduce a protocol for the
quote_via argument. This means that the interface accepted by the
supplied quote_via is stricter, and is not dependent on the actual
supplied types in the query argument, but must work with all
possible query types.

Closes: #4234

srittau and others added 2 commits April 11, 2025 13:08
Remove overloads and type vars. Introduce a protocol for the
`quote_via` argument. This means that the interface accepted by the
supplied `quote_via` is stricter, and is not dependent on the actual
supplied types in the `query` argument, but must work with all
possible query types.

Closes: python#4234
@github-actions

This comment has been minimized.

@srittau srittau marked this pull request as ready for review April 11, 2025 11:34
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@Avasam
Copy link
Collaborator

Avasam commented Apr 14, 2025

After Akuli's comment is resolved #13815 (comment) this LGTM

@github-actions
Copy link
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@srittau srittau merged commit de317e1 into python:main Apr 14, 2025
55 checks passed
@srittau srittau deleted the urlencode branch April 14, 2025 09:11
mmingyu pushed a commit to mmingyu/typeshed that referenced this pull request May 16, 2025
Remove overloads and type vars. Introduce a protocol for the
`quote_via` argument. This means that the interface accepted by the
supplied `quote_via` is stricter, and is not dependent on the actual
supplied types in the `query` argument, but must work with all
possible query types.
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.

Issue with urlencode typeshed annotation starting in mypy 0.780

3 participants