Repository navigation
Roadmap
David Foster edited this page Oct 21, 2026
·
104 revisions
Reduce: Quirks, Caveats, and Gotchas
- Change eval=True default to eval=False (#41)
- Need to fix TypedDict value expression handling to strip qualifiers like
Annotatedeven when eval=False
- Need to fix TypedDict value expression handling to strip qualifiers like
- Consider eliminating strict=False support, which also implies eliminating NewType support.
Also:
- Improve documentation:
- Automate computation of code coverage % across all supported Python versions. Advertise in README prominently. Resources:
Requests for the following features or PRs implementing them will be rejected as "out of scope" for the trycast library.
- Add support for recognizing types that cannot appear in JSON:
- typing.Iterable
- typing.Iterator
- typing.Generator
- typing.ContextManager
- –––
- User-defined generic types
- Typeguard supports these types by allowing users to write custom matchers as a plugin
- TypeVar
- Nominal vs structural subtyping: Sized, Iterable
-
Special typing primitives
- ... (many more)
-
Generic concrete collections
- typing.Set
- typing.FrozenSet
- ... (many more)
-
Abstract Base Classes
- typing.Iterable
- typing.Iterator
- typing.Generator
- typing.ContextManager
- ... (many more)
- Protocols
- –––
- ⎋ See also types supported by typeguard
- ⎋ See also types supported by PEP 585 (Type Hinting Generics In Standard Collections)