GitXplorerGitXplorer
p

typing_extensions

public
422 stars
105 forks
18 issues

Commits

List of commits on branch main.
Verified
e792bce5508dad9f5f00066ad615d231cc1d64c1

Ignore fewer flake8 rules when linting tests (#413)

AAlexWaygood committed 4 months ago
Verified
f90a8dc40b60bf43510b8611a07d8cc570544ffe

Prepare release 4.12.0 (#408)

JJelleZijlstra committed 4 months ago
Verified
118e1a604a857d54cb70a2a1f930b425676d6cb4

Make sure `isinstance(typing_extensions.ParamSpec("P"), typing.TypeVar)` is unaffected by `sys.setprofile()` (#407)

AAlexWaygood committed 4 months ago
Verified
910141ab8295b422851f83ffc46c9eb04bbca719

Add security documentation (#403)

JJelleZijlstra committed 4 months ago
Verified
0dbc7c971f7ec61f12a1466f8d8f222bdf9a4b31

Prepare release 4.12.0rc1 (#402)

JJelleZijlstra committed 4 months ago
Verified
1da5d3d24441cc059fe4d49131588b719ee41d59

Update actions/setup-python (#401)

ssrittau 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.