Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

gh-124787: Fix TypeAliasType and incorrect type_params #124795

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 11, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update Misc/NEWS.d/next/Library/2024-09-30-20-46-32.gh-issue-124787.3…
…FnJnP.rst

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
  • Loading branch information
sobolevn and JelleZijlstra authored Oct 8, 2024
commit 3b3440bfb829186e4ade5dfb02816a921a8e7fd6
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Fix :class:`typing.TypeAliasType` with incorrect ``type_params`` argument.
Now it raises a :exc:`TypeError` when: 1. A type var without default follows
a type var with default 2. Not a typelike parameter passed in
``type_params`` tuple
Now it raises a :exc:`TypeError` when a type parameter without a default
follows one with a default, and when an entry in the ``type_params`` tuple
is not a type parameter object.
Loading
Morty Proxy This is a proxified and sanitized view of the page, visit original site.