GitHub / python/typing issues and pull requests
Labelled with: topic: feature
#2036 - Type checking for *args and **kwargs when passing them to another function
Issue -
State: open - Opened by t1m013y 5 months ago
- 10 comments
Labels: topic: feature
#2006 - Need type hint for `getattr`
Issue -
State: open - Opened by STofone 7 months ago
Labels: topic: feature
#1999 - Get generic of typevar as typehint
Issue -
State: open - Opened by STofone 7 months ago
Labels: topic: feature
#1991 - Support for `ParamSpec` for `type`
Issue -
State: open - Opened by nelsyeung 7 months ago
Labels: topic: feature
#1989 - Specify methods that are allowed for inference of partially initialized generics
Issue -
State: open - Opened by vnmabus 7 months ago
Labels: topic: feature
#1984 - "Sealed" `TypedDict`s that don't allow subtypes which introduce additional keys
Issue -
State: closed - Opened by sh-at-cs 7 months ago
- 2 comments
Labels: topic: feature
#1966 - Structural Pattern Matching for Types
Issue -
State: open - Opened by zach-waggoner 8 months ago
- 1 comment
Labels: topic: feature
#1964 - str.contains() method should accept a tuple
Issue -
State: closed - Opened by venturero 8 months ago
- 2 comments
Labels: topic: feature
#1962 - Distinguish between datetime.datetime objects with a timezone and those without
Issue -
State: open - Opened by wojm 8 months ago
Labels: topic: feature
#1952 - `TypedMapping` for extended compatibility?
Issue -
State: open - Opened by ego-thales 8 months ago
- 4 comments
Labels: topic: feature
#1936 - Augmenting third-party packages
Issue -
State: open - Opened by flying-sheep 9 months ago
Labels: topic: feature
#1906 - Proposal: Adding Intersection Types (`&`) to Python Type Hints
Issue -
State: closed - Opened by kamalfarahani 11 months ago
- 2 comments
Labels: topic: feature
#1899 - New GroupedTypeVar type
Issue -
State: open - Opened by MatthewMckee4 12 months ago
Labels: topic: feature
#1872 - Awaitable typeguards
Issue -
State: open - Opened by alexdrydew about 1 year ago
Labels: topic: feature
#1845 - [spec] Can staticmethod calls infer type parameters for the containing class?
Issue -
State: open - Opened by comex over 1 year ago
- 1 comment
Labels: topic: feature
#1835 - Introduce an Unknown type
Issue -
State: closed - Opened by Eyal-Shalev over 1 year ago
- 20 comments
Labels: topic: feature
#1820 - (🎁) `get_type_hints` should add the class to the locals
Issue -
State: closed - Opened by KotlinIsland over 1 year ago
- 1 comment
Labels: topic: feature
#1806 - A generic 'frame' type
Issue -
State: open - Opened by brentonmallen1 over 1 year ago
Labels: topic: feature
#1777 - Idenity Type
Issue -
State: closed - Opened by julien-blanchon over 1 year ago
- 1 comment
Labels: topic: feature
#1773 - Add coerced type narrowing similar to 'cast'
Issue -
State: open - Opened by NoamNol over 1 year ago
Labels: topic: feature
#1754 - Allow multiple `TypeVarTuple` in Generic Classes when they are wrapped.
Issue -
State: closed - Opened by randolf-scholz over 1 year ago
- 5 comments
Labels: topic: feature
#1728 - Introduce a `Language` type to provide consistent language information of strings.
Issue -
State: open - Opened by ilotoki0804 over 1 year ago
Labels: topic: feature
#1606 - Types for "truthy" and "falsy" values
Issue -
State: open - Opened by Feuermurmel almost 2 years ago
Labels: topic: feature
#1572 - Pre-draft proposal: Amend the prior removal of support for unpacking of typevartuples in union. (revisiting pep 646)
Issue -
State: closed - Opened by mikeshardmind almost 2 years ago
- 1 comment
Labels: topic: feature
#1562 - Allow usage of alternative syntax for unions (and other "new-semantics-old-syntax" typing features) inside `if TYPE_CHECKING` blocks if the minimum Python version a given project claims to support can successfully parse feature's syntax.
Issue -
State: open - Opened by elenakrittik almost 2 years ago
Labels: topic: feature
#1557 - Pass variable as final
Issue -
State: open - Opened by cojmeister almost 2 years ago
Labels: topic: feature
#1551 - Allow unary `+` in integer Literals
Issue -
State: closed - Opened by dmoisset almost 2 years ago
- 1 comment
Labels: topic: feature
#1524 - (Partial) keyword argument forwarding
Issue -
State: open - Opened by srittau almost 2 years ago
- 1 comment
Labels: topic: feature
#1523 - Support for Union[*TypeVarTuple]
Issue -
State: closed - Opened by pwuertz almost 2 years ago
- 3 comments
Labels: topic: feature
#1521 - Typing for enums of primitive Python types
Issue -
State: closed - Opened by tokarenko almost 2 years ago
Labels: topic: feature
#1519 - Allow type-hints for Exception arguments (BaseException.args)
Issue -
State: closed - Opened by aha79 almost 2 years ago
- 1 comment
Labels: topic: feature
#1511 - Uses for Intersection in type hints
Issue -
State: closed - Opened by ViktorSky about 2 years ago
- 1 comment
Labels: topic: feature
#1505 - Support decorators that modify parameter types and preserve keywords
Issue -
State: open - Opened by osandov about 2 years ago
Labels: topic: feature
#1499 - `Unused` type ?
Issue -
State: closed - Opened by TruncatedDinoSour about 2 years ago
- 12 comments
Labels: topic: feature
#1495 - PEP 692 follow up: Unpacking compatibility with dataclass/others
Issue -
State: open - Opened by Samreay about 2 years ago
- 8 comments
Labels: topic: feature
#1490 - Merging/Modifying Types
Issue -
State: open - Opened by ZeroIntensity about 2 years ago
- 3 comments
Labels: topic: feature
#1478 - Expose `type(Protocol)` via `types`.
Issue -
State: closed - Opened by randolf-scholz about 2 years ago
- 1 comment
Labels: topic: feature
#1471 - How should we annotate functions that forward to their superclass?
Issue -
State: open - Opened by NeilGirdhar about 2 years ago
- 5 comments
Labels: topic: feature
#1467 - Dynamic and Discriminated Unions
Issue -
State: open - Opened by irgolic about 2 years ago
- 14 comments
Labels: topic: feature
#1454 - Allow use of `Required` and `NotRequired` to make an existing typed dict total or optional
Issue -
State: open - Opened by CaselIT over 2 years ago
- 8 comments
Labels: topic: feature
#1445 - Should operator `|` on `TypedDict` allow for creating intersection-like dicts?
Issue -
State: open - Opened by bluenote10 over 2 years ago
- 5 comments
Labels: topic: feature
#1437 - NameError: name 'TYPE_CHECKING' is not defined
Issue -
State: closed - Opened by vsolet5 over 2 years ago
Labels: topic: feature
#1419 - Ability to use Callable type alias when annotating functions
Issue -
State: open - Opened by OlegAlexander over 2 years ago
- 3 comments
Labels: topic: feature
#1410 - Making functions/methods subscriptable
Issue -
State: open - Opened by Gobot1234 over 2 years ago
Labels: topic: feature
#1405 - Generic ParamSpec in subclass definitions
Issue -
State: open - Opened by alanhdu over 2 years ago
- 2 comments
Labels: topic: feature
#1400 - Consider adding a "TopLevel" keyword that stands in for the top level bound of a corresponding type variable
Issue -
State: open - Opened by NeilGirdhar over 2 years ago
- 6 comments
Labels: topic: feature
#1399 - Feature request: Allow unpacking of type variable bound to typed dict
Issue -
State: open - Opened by NeilGirdhar over 2 years ago
- 7 comments
Labels: topic: feature
#1395 - (🎁) Allow usage of `TypedDict` as a type, such that it can be used in the `bound` of a `TypeVar`
Issue -
State: open - Opened by KotlinIsland over 2 years ago
Labels: topic: feature
#1394 - Allow TypedDict.__required_keys__/__optional_keys__ to be used as Literal[...]
Issue -
State: open - Opened by gh-andre over 2 years ago
- 6 comments
Labels: topic: feature
#1386 - allow `typing.Annotated` to be generic in its metadata
Issue -
State: closed - Opened by DominiqueGarmier over 2 years ago
- 2 comments
Labels: topic: feature
#1383 - Create PEP for Map with bind: match Tuple of parameterized types with parameters from TypeVarTuple
Issue -
State: open - Opened by jmsmdy over 2 years ago
- 6 comments
Labels: topic: feature
#1374 - for loop typing
Issue -
State: closed - Opened by Godwhitelight over 2 years ago
- 2 comments
Labels: topic: feature
#1372 - Add PartialApplication
Issue -
State: open - Opened by NeilGirdhar over 2 years ago
- 4 comments
Labels: topic: feature
#1371 - Proposal: Programmatically create types
Issue -
State: open - Opened by NeilGirdhar over 2 years ago
- 18 comments
Labels: topic: feature
#1362 - Union of empty tuple should return `Never`
Issue -
State: closed - Opened by randolf-scholz over 2 years ago
- 12 comments
Labels: topic: feature
#1359 - Shouldn't get_args(Literal[...]) be usable for type narrowing?
Issue -
State: closed - Opened by ReggX over 2 years ago
- 3 comments
Labels: topic: feature
#1354 - Add covariant/contravariant/invariant properties to a `TypeVar` for binding different `TypeVar`s
Issue -
State: closed - Opened by erezinman almost 3 years ago
- 3 comments
Labels: topic: feature
#1348 - Question about read-only types
Issue -
State: closed - Opened by maufl almost 3 years ago
Labels: topic: feature
#1339 - Support `sys.implementation.name` as feature switch for stubs
Issue -
State: open - Opened by cdce8p almost 3 years ago
Labels: topic: feature
#1337 - `typing.TYPE_CHECKER` object to change types depending on which type checker is being run
Issue -
State: open - Opened by Lunarmagpie almost 3 years ago
- 2 comments
Labels: topic: feature
#1329 - Inferring keyword arguments from attributes
Issue -
State: closed - Opened by GideonBear almost 3 years ago
- 6 comments
Labels: topic: feature
#1323 - Allow `NotRequired[]` to be passed as a `TypeVar`
Issue -
State: open - Opened by not-my-profile almost 3 years ago
- 2 comments
Labels: topic: feature
#1321 - Typing decorators which enrich a class
Issue -
State: open - Opened by lijok almost 3 years ago
- 1 comment
Labels: topic: feature
#1319 - Type hinting a non-iterator (non-consumable) iterable
Issue -
State: closed - Opened by GideonBear almost 3 years ago
- 10 comments
Labels: topic: feature
#1311 - Suggestion: Allow free type variables in type variable bounds that permeate beyond
Issue -
State: open - Opened by schuelermine almost 3 years ago
- 1 comment
Labels: topic: feature
#1309 - Annotations for Type factories
Issue -
State: open - Opened by vors almost 3 years ago
- 7 comments
Labels: topic: feature
#1308 - More Protocols
Issue -
State: open - Opened by Eclips4 almost 3 years ago
- 1 comment
Labels: topic: feature
#1304 - range typing
Issue -
State: open - Opened by Godwhitelight almost 3 years ago
- 11 comments
Labels: topic: feature
#1273 - Type mappings for generics
Issue -
State: open - Opened by jonathanslenders about 3 years ago
- 20 comments
Labels: topic: feature
#1267 - Tuple-like typing for lists in type hints
Issue -
State: closed - Opened by TruncatedDinosour about 3 years ago
- 1 comment
Labels: topic: feature
#1257 - `isinstance` check with nested `Protocol`.
Issue -
State: open - Opened by nstarman about 3 years ago
- 3 comments
Labels: topic: feature
#1252 - ParamSpec: use P.args and P.kwargs in other scopes, such as return types
Issue -
State: open - Opened by chadrik about 3 years ago
- 14 comments
Labels: topic: feature
#1250 - Generic specialization?
Issue -
State: open - Opened by vnmabus about 3 years ago
- 2 comments
Labels: topic: feature
#1216 - TypeVarTuple Transformations Before Unpack
Issue -
State: open - Opened by llchan over 3 years ago
- 22 comments
Labels: topic: feature
#1202 - Generic strings/regex patterns in strings
Issue -
State: open - Opened by Fidget-Spinner over 3 years ago
- 8 comments
Labels: topic: feature
#1160 - Allow `float("inf")` and `float("-inf")` in literals
Issue -
State: open - Opened by antonagestam over 3 years ago
- 21 comments
Labels: topic: feature
#1096 - Introduce `typing.STRICTER_STUBS`
Issue -
State: open - Opened by not-my-profile over 3 years ago
- 40 comments
Labels: topic: feature
#1043 - TypingError: type checker will emit error with a message specified in typing stubs
Issue -
State: open - Opened by Akuli almost 4 years ago
- 15 comments
Labels: topic: feature
#1039 - Annotate function which return a specific module (e.g. `-> Literal[np]`)
Issue -
State: open - Opened by Conchylicultor almost 4 years ago
- 6 comments
Labels: topic: feature
#1009 - ParamSpec: No support for adding keyword-only argument
Issue -
State: open - Opened by ItsDrike almost 4 years ago
- 2 comments
Labels: topic: feature
#1000 - ParamSpec: Allow only `P.args`
Issue -
State: closed - Opened by cdce8p almost 4 years ago
- 14 comments
Labels: topic: feature
#997 - ByteString, specifying length for any bytes-like variable
Issue -
State: open - Opened by covert-encryption almost 4 years ago
- 4 comments
Labels: topic: feature
#996 - TypeGuard type narrowing on returning False
Issue -
State: closed - Opened by ikamensh almost 4 years ago
- 13 comments
Labels: topic: feature
#985 - Make `builtins.property` generic
Issue -
State: closed - Opened by sobolevn almost 4 years ago
- 12 comments
Labels: topic: feature
#930 - Request: an AssertingTypeGuard type for TypeGuard-like semantics
Issue -
State: open - Opened by sirosen about 4 years ago
- 5 comments
Labels: topic: feature
#928 - Add a `import type` feature (like typescript)
Issue -
State: open - Opened by KotlinIsland about 4 years ago
- 4 comments
Labels: topic: feature
#926 - Change PEP 647 to allow for narrowing in the negative case
Issue -
State: closed - Opened by Zomatree about 4 years ago
- 10 comments
Labels: topic: feature
#912 - allow `...` in place of generic parameters
Issue -
State: open - Opened by DetachHead about 4 years ago
- 24 comments
Labels: topic: feature
#900 - Support for alternative generic inference algorithms
Issue -
State: open - Opened by KotlinIsland about 4 years ago
- 5 comments
Labels: topic: feature
#813 - [Feature Request] TypeVar variance definition alias
Issue -
State: closed - Opened by jorenham over 4 years ago
- 22 comments
Labels: topic: feature
#802 - Wrapper/Proxy Generic Type
Issue -
State: open - Opened by hatal175 over 4 years ago
- 11 comments
Labels: topic: feature
#801 - Introduce a Not type
Issue -
State: open - Opened by antonagestam over 4 years ago
- 22 comments
Labels: topic: feature
#788 - Adding loosly defined types
Issue -
State: closed - Opened by cesco-fran almost 5 years ago
- 4 comments
Labels: topic: feature
#786 - Feature Request: Type hint for Fixed Length Homogeneous Sequences
Issue -
State: open - Opened by craigh92 almost 5 years ago
- 7 comments
Labels: topic: feature
#781 - Literal of enum values
Issue -
State: open - Opened by vnmabus almost 5 years ago
- 6 comments
Labels: topic: feature
#776 - TypeVar substitution in get_type_hints
Issue -
State: open - Opened by wyfo almost 5 years ago
- 10 comments
Labels: topic: feature
#769 - [feature] Get the type from a variable
Issue -
State: open - Opened by Dimitri-WEI-Lingfeng almost 5 years ago
- 14 comments
Labels: topic: feature
#689 - Literal for sentinel values
Issue -
State: open - Opened by srittau almost 6 years ago
- 20 comments
Labels: topic: feature
#688 - advanced SimpleNamespace typing
Issue -
State: open - Opened by itajaja about 6 years ago
- 9 comments
Labels: topic: feature
#685 - Record Types
Issue -
State: open - Opened by saulshanabrook about 6 years ago
- 9 comments
Labels: topic: feature