GitHub CopilotWrite better code with AI | MCP RegistryIntegrate external tools | ActionsAutomate any workflow | CodespacesInstant dev environments | IssuesPlan and track work | Code ReviewManage code changes | Code QualityEnforce quality at merge | Why GitHub | Marketplace | View all features | Enterprises | Small and medium teams | Startups | View all use cases | View all industries | View all solutions | AI | Software Development | DevOps | Security | View all topics | Customer stories | Events & webinars | Ebooks & reports | Business insights | Trust center | Partners | View all resources
Pinned Discussions
Welcome to Python Type School!
Sort by:Latest activity
Filter by label
Filter Use alt + click/return to exclude labels.
Categories, most helpful, and community links
Categories
LoadingCommunity links
Discussions
You must be logged in to vote
Distribute return type over union
asked
Jul 16, 2025 in
· Unanswered
You must be logged in to vote
What are typing.IO, TextIO, and BinaryIO good for?
asked
Aug 9, 2021 in
· Unanswered
You must be logged in to vote
Is a type variable with repeated constraints valid?
asked
Apr 8, 2026 in
· Unanswered
You must be logged in to vote
Supporting Self for Free Functions?
asked
May 23, 2026 in
· Answered
You must be logged in to vote
asked
May 11, 2026 in
· Answered
You must be logged in to vote
asked
May 13, 2026 in
· Unanswered
You must be logged in to vote
Is is_typeddict with Generics supposed to eval to false?
Other topics not covered
asked
Apr 21, 2026 in
· Unanswered
You must be logged in to vote
Deep interactions between Protocols and overloads
asked
Jul 29, 2025 in
· Answered
You must be logged in to vote
Proposal: Support tuple[T, N] syntax for fixed-length homogeneous tuples
started
Aug 11, 2025 in
You must be logged in to vote
Does assert_type is supposed to work with Protocol?
asked
Jul 24, 2024 in
· Answered
You must be logged in to vote
Reasons for not allowing generics in ClassVar?
started
Jul 1, 2023 in
You must be logged in to vote
problems implementing overloads on some flexible class methods
asked
Jul 8, 2025 in
· Unanswered
You must be logged in to vote
mypy and logging.Logger subclasses
asked
Dec 16, 2021 in
· Answered
You must be logged in to vote
started
Feb 26, 2026 in
You must be logged in to vote
@overload with multiple Generic[Any]
asked
Jan 23, 2026 in
· Unanswered
You must be logged in to vote
CallableFunction as a drop-in replacement for Callable
asked
Feb 22, 2026 in
· Unanswered
You must be logged in to vote
Does converter also support default argument in field specifiers of dataclass_transform?
started
Feb 22, 2026 in
You must be logged in to vote
Proposal: KeyType and ElementType for TypedDicts (also, Map)
started
Jun 16, 2023 in
You must be logged in to vote
What is the idiomatic way of reusing key/values of TypedDict when total=False and True is needed?
asked
Jan 15, 2026 in
· Answered
You must be logged in to vote
Type hint for attribute that might not exist
asked
Jan 23, 2025 in
· Unanswered
You must be logged in to vote
Returing generic type from indirect factory methods?
asked
Jan 26, 2026 in
· Unanswered
You must be logged in to vote
Immutable Sequence of float with length 3 as argument
started
Jan 28, 2026 in
You must be logged in to vote
Should type checkers trust assert statements with mutable values?
started
Jan 21, 2026 in
You must be logged in to vote
Typing for a MutableMapping that contains specific key-value pairs
asked
Jul 22, 2022 in
· Unanswered
You must be logged in to vote
Clarifying appropriate use cases for Literal types in the guides
started
Jan 11, 2026 in
Previous
…