Repository navigation
python typing Discussions
Pinned Discussions
Sort by: Latest activity Latest activity Date created Top: Past day Top: Past week Top: Past month Top: Past year Top: AllFilter by label
Sorry, something went wrong.
Filter LoadingSorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
No labels found. Sorry about that.
Use alt + click/return to exclude labels.
Categories, most helpful, and community links
Categories
LoadingUh oh!
There was an error while loading. Please reload this page.
Community links
Discussions
-
You must be logged in to vote
🙏
How to type universal class-based decorator?
tokarenko asked Nov 20, 2026 in Q&A · Unanswered3
-
You must be logged in to vote
👩🏫
Requesting review of my PR https://github.com/python/mypy/pull/22445
PratyushD21 started Nov 14, 2026 in Reviews · Closed1
-
You must be logged in to vote
🙏
What are the actual allowed types of each individual overload?
bzoracler asked Jul 25, 2025 in Q&A · Unanswered1
-
You must be logged in to vote
🙏
hunterhogan asked Feb 22, 2026 in Q&A · UnansweredCallableFunctionas a drop-in replacement forCallable3
-
You must be logged in to vote
🙏
When using TypeAlias, does the interpreter always substitute the type for the TypeAlias?
hunterhogan asked Oct 7, 2025 in Q&A · Closed · Answered3
-
You must be logged in to vote
🙏
Is a type variable with repeated constraints valid?
bzoracler asked Apr 8, 2026 in Q&A · Unanswered2
-
You must be logged in to vote
🙏
Widening generic types when calling methods in context.
randolf-scholz asked Oct 25, 2025 in Q&A · Unanswered3
-
You must be logged in to vote
🙏
Distribute return type over union
randolf-scholz asked Jul 16, 2025 in Q&A · Unanswered1
-
You must be logged in to vote
🙏
generic type inference when combining containers with different element types
bitcleo asked Oct 17, 2026 in Q&A · Unanswered1
-
You must be logged in to vote
🙏
How to use functools.wraps with method decorators
sfc-gh-bchinn asked Nov 25, 2025 in Q&A · Unanswered2
-
You must be logged in to vote
🙏
Optinal in
ninanomenon asked May 13, 2026 in Q&A · UnansweredCallablewith self2
-
You must be logged in to vote
🙏
How to declare a generic type is covariant with new-style syntax?
DFEvans asked Oct 14, 2026 in Q&A · Unanswered2
-
You must be logged in to vote
🙏
Can I allow implementors of a protocol to use any method parameter type as long as it conforms to a given protocol?
cwoelf asked Feb 26, 2025 in Q&A · Answered1
-
You must be logged in to vote
🙏
What to do when I need to unpack a dictionary?
Kludex asked Dec 18, 2024 in Q&A · Unanswered7
-
You must be logged in to vote
🙏
Is
topic: other Other topics not covered semohr asked Apr 21, 2026 in Q&A · Unansweredis_typeddictwith Generics supposed to eval to false?6
-
You must be logged in to vote
🙏
Static type assertions for testing
whitphx asked Jan 17, 2022 in Q&A · Answered28
-
You must be logged in to vote
🙏
Add a
Natuworkguy asked Sep 11, 2026 in Q&A · Closed · Unansweredsetfuncdecorator for attaching functions to an existing class or object1
-
You must be logged in to vote
🙏
What are
JelleZijlstra asked Aug 9, 2021 in Q&A · Unansweredtyping.IO,TextIO, andBinaryIOgood for?6
-
You must be logged in to vote
🙏
Supporting
Natuworkguy asked May 23, 2026 in Q&A · AnsweredSelffor Free Functions?4
-
You must be logged in to vote
🙏
Unbound ParamSpec, but why?
hannes-ucsc asked May 11, 2026 in Q&A · Answered1
-
You must be logged in to vote
🙏
Expected TypedDict key to be string literal for Union of
AllexVeldman asked May 19, 2026 in Q&A · Closed · AnsweredTypedDictanddict5
-
You must be logged in to vote
🙏
Deep interactions between
RBerga06 asked Jul 29, 2025 in Q&A · AnsweredProtocols andoverloads2
-
You must be logged in to vote
🙏
Are type-checker directives in the body of a
bzoracler asked Jan 30, 2025 in Q&A · Closed · AnsweredTypedDictclass disallowed?6
-
You must be logged in to vote
🗳️
Proposal: Support tuple[T, N] syntax for fixed-length homogeneous tuples
exprator-python started Aug 11, 2025 in Polls3
-
You must be logged in to vote
🙏
Does
rayansostenes asked Jul 24, 2024 in Q&A · Answeredassert_typeis supposed to work withProtocol?8