GitXplorerGitXplorer
p

typing_extensions

public
422 stars
105 forks
18 issues

Commits

List of commits on branch main.
Verified
e1250ff869e7ee5ad05170d8a4b65469f13801c3

Prepare release 4.12.2 (#426)

AAlexWaygood committed 3 months ago
Verified
53bcdded534494674f893112f71d3be344d65363

Avoid error if origin has a buggy __eq__ (#422)

JJelleZijlstra committed 4 months ago
Verified
726963800030ab35ba5b975fc3a60486c26c5050

Prepare release 4.12.1 (#418)

JJelleZijlstra committed 4 months ago
Verified
8dfcf3c74a4f5d736a6d2ce8d82c3e85cd0c5b18

Fix `TypeError` on nested `Annotated` types where the inner type has unhashable metadata (#417)

AAlexWaygood committed 4 months ago
Verified
d76f5911b7d44aa1ff26de22e76047ca6c53f840

Switch from flake8 to ruff (#414)

AAlexWaygood committed 4 months ago
Verified
920d60d09e929e23657a4459dd446fb428715981

Support my PEP 649 branch (#412)

JJelleZijlstra committed 4 months ago

README

The README file for this repository.

Typing Extensions

Chat at https://gitter.im/python/typing

DocumentationPyPI

Overview

The typing_extensions module serves two related purposes:

  • Enable use of new type system features on older Python versions. For example, typing.TypeGuard is new in Python 3.10, but typing_extensions allows users on previous Python versions to use it too.
  • Enable experimentation with new type system PEPs before they are accepted and added to the typing module.

typing_extensions is treated specially by static type checkers such as mypy and pyright. Objects defined in typing_extensions are treated the same way as equivalent forms in typing.

typing_extensions uses Semantic Versioning. The major version will be incremented only for backwards-incompatible changes. Therefore, it's safe to depend on typing_extensions like this: typing_extensions >=x.y, <(x+1), where x.y is the first version that includes all features you need.

Included items

See the documentation for a complete listing of module contents.

Contributing

See CONTRIBUTING.md for how to contribute to typing_extensions.