Skip to content

Conversation

@mx-moth
Copy link
Contributor

@mx-moth mx-moth commented Nov 23, 2025

Now that we've dropped Python 3.11 support we can use PEP 695 generics. These are much nicer to use than TypeVar everywhere!

See also #109

Previously they documented actual values in the code, but now that the
generic parameters are more ephemeral, there was nothing to document.
@mx-moth mx-moth self-assigned this Nov 23, 2025
Copy link
Collaborator

@david-sh-csiro david-sh-csiro left a comment

Choose a reason for hiding this comment

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

Looks good! Much cleaner now.

@mx-moth mx-moth merged commit 8501775 into main Nov 24, 2025
15 checks passed
@mx-moth mx-moth deleted the pep-695-generics branch November 24, 2025 00:18
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