GitXplorerGitXplorer
p

typing_extensions

public
422 stars
105 forks
18 issues

Commits

List of commits on branch main.
Verified
28493326b1a0f10f46e9a1ed85ff8da6341942ca

Remove typeguard PyPy tests (#463)

hhauntsaninja committed 7 days ago
Verified
d9509f902c20e3d51c62b8abe522809b4760c0ff

Copy the coroutine status in deprecated (#438)

ssrittau committed 21 days ago
Verified
70cec91bec65155dc339d631ede2a933582558df

Add logging for third party installs (#436)

hhauntsaninja committed 2 months ago
Verified
e239100563edd4699d6cc74bdfe27b50aad88d61

Add TypeExpr (#430)

JJelleZijlstra committed 3 months ago
Verified
ece1201226c557f7328638e065b4a6c5ec4e13ce

Backport bugfixes made to how `inspect.get_annotations()` deals with PEP-695 (#428)

AAlexWaygood committed 3 months ago
Verified
2d33f1f51df3f9f1601aae9a068e36937f78e966

Add typing_extensions.get_annotations (#423)

JJelleZijlstra committed 3 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.