commit | 0d453f507d21197fcb2bb9a0a2b6fcbb816821c9 | [log] [tgz] |
---|---|---|
author | Jelle Zijlstra <jelle.zijlstra@gmail.com> | Fri May 26 11:50:44 2023 -0700 |
committer | GitHub <noreply@github.com> | Fri May 26 20:50:44 2023 +0200 |
tree | f51fd9e0cf73af5c0f1516f32d3af1108f5b95dd | |
parent | 3e04a2dcffc837dc531e4a253d1a2c131cb4b994 [diff] |
Add more detailed versioning policy (#197)
The typing_extensions
module serves two related purposes:
typing.TypeGuard
is new in Python 3.10, but typing_extensions
allows users on previous Python versions to use it too.typing
module.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.
typing_extensions
supports Python versions 3.7 and higher.
See the documentation for a complete listing of module contents.
To run tests, navigate into the src/
directory and run test_typing_extensions.py
.