Topics tagged typing (original) (raw)

Topic Replies Views Activity
Typing a decorator factory Typing help , typing 2 52 June 17, 2025
Copy *args, **kwargs type annotations from object constructor when passing them to the constructor Python Help typing 10 197 June 14, 2025
Incompatible types in assignment when casting function argument Python Help typing 13 191 June 13, 2025
Return type Self: returning subclass Python Help typing 6 285 June 10, 2025
How do I tell the typechecker that my class is frozen? Typing typing 10 330 June 9, 2025
How to annotate class Methods to return only instances of their class or subclass in python Python Help typing 5 127 June 9, 2025
Why math.gcd compute faster than %? Python Help documentation , help , typing 9 304 June 9, 2025
Generics over container types? Python Help typing 4 98 June 9, 2025
Amend PEP 586 to make `enum` values subtypes of `Literal` Typing typing 5 554 June 6, 2025
PEP 728: TypedDict with Typed Extra Items PEPs typing 154 7809 June 5, 2025
Narrow type parameters (rather than variables) Python Help typing 2 135 June 5, 2025
PEP 718: subscriptable functions PEPs typing , builtins 48 7365 June 4, 2025
T-Strings doc, PEP 750, and Amish barn raising Documentation documentation , typing , pycon 8 421 June 3, 2025
Calling a function that expects `T | Sequence[T]`. (typecheckers diverge) Typing typing 2 173 June 2, 2025
Why doesn't this method register as an instance of the Protocol? Python Help typing 1 75 May 31, 2025
Statically typed variables enforcement Ideas typing 49 1075 May 31, 2025
[Spec] Modifying a `ClassVar` on an instance Typing typing 3 172 May 27, 2025
Unbounded tuple unions Typing typing 2 298 May 24, 2025
Generic type inference from another generic type Typing typing 11 373 May 21, 2025
How to properly hint a class factory with ParamSpec Python Help typing 7 3659 May 21, 2025
Communicating to static analysis tools that a type is dynamically generated and informing them of how Typing typing 3 116 May 20, 2025
Self as TypeVar default Typing typing 13 387 May 20, 2025
Removing type checker internals from typeshed Typing typing 11 492 May 17, 2025
`@concrete` decorator Typing typing 4 399 May 15, 2025
Add a `__len__` and `__getitem__` ABC to `collections.abc` Ideas typing 9 232 May 15, 2025
Differentiating between initialized and uninitialized assignments on class toplevel Typing typing 15 469 May 12, 2025
PEP 764: Inlined typed dictionaries PEPs typing 56 3732 May 4, 2025
Best practice for type checking and assert statement Python Help typing 4 14237 April 29, 2025
Challenges of Static Typing for Curried Functions in Python Typing help , typing 4 240 April 24, 2025
__str__ attributes for basic python object should be agnostic Ideas typing , stdlib 8 318 April 23, 2025