Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean-up typing_extensions -- typing_extensions #932

Merged
merged 32 commits into from Nov 11, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
297017d
Unconditional _collections_abc._check_methods import
AA-Turner Sep 15, 2021
aef48a2
HAVE_PROTOCOLS is True on all supported versions
AA-Turner Sep 15, 2021
6c60077
Remove sys.version_info gates on unsupported versions
AA-Turner Sep 15, 2021
f32c280
Remove TYPING_3_5_* gates
AA-Turner Sep 15, 2021
2c4e79f
Remove SUBCLASS_CHECK_FORBIDDEN gates
AA-Turner Sep 15, 2021
a7fbda3
Remove ASYNCIO gates
AA-Turner Sep 15, 2021
011cfb6
Remove PY36 gates
AA-Turner Sep 15, 2021
87a9e10
Remove HAVE_PROTOCOLS gate
AA-Turner Sep 15, 2021
ab64fc9
Remove remaining sys.version_info gates
AA-Turner Sep 15, 2021
14236e8
Address flake8 warnings
AA-Turner Sep 15, 2021
406c807
Unconditionally import where possible
AA-Turner Sep 15, 2021
5579ed8
_geqv was removed in Python 3.6
AA-Turner Sep 15, 2021
93b0a7d
Unconditionally define values where possible
AA-Turner Sep 15, 2021
d3dcbcc
Remove now unused _define_guard
AA-Turner Sep 15, 2021
ea6657a
Remove OLD_GENERICS
AA-Turner Sep 15, 2021
ccdcb44
Use f-strings
AA-Turner Sep 15, 2021
f0bad77
Use new style super()
AA-Turner Sep 15, 2021
d9f613f
Names will always exist
AA-Turner Sep 15, 2021
dafcd01
Use f-strings in tests
AA-Turner Sep 15, 2021
b18d1e7
Use !r in f-strings
AA-Turner Sep 16, 2021
e0af14f
Inline _generic_new
AA-Turner Sep 16, 2021
8df7fdf
Inline typing imports
AA-Turner Sep 16, 2021
eda545a
Remove unused type variables
AA-Turner Sep 16, 2021
38cbc89
Localise helper imports
AA-Turner Sep 16, 2021
14c8165
Pick up unchanged .formats -> f-strings
AA-Turner Sep 16, 2021
f03471f
Inline TypingMeta
AA-Turner Sep 16, 2021
307544b
Swap Protocol definitions for 3.6 and 3.7 for consistency with all ot…
AA-Turner Sep 16, 2021
ef763f1
Inline _tp_cache, _TypingEllipsis, _TypingEmpty
AA-Turner Sep 16, 2021
51b21ee
Localise imports for modules only used once
AA-Turner Sep 16, 2021
0c96a6f
Inline _GenericAlias
AA-Turner Sep 16, 2021
bdc560f
Fix a typo
AA-Turner Sep 16, 2021
12ec8de
Changes from review
AA-Turner Nov 11, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
18 changes: 18 additions & 0 deletions typing_extensions/CHANGELOG
Expand Up @@ -2,3 +2,21 @@

Starting with version 4.0.0, typing_extensions uses Semantic Versioning.
See the README for more information.

Dropped support for Python versions 3.5 and older.

Simplified backports for Python 3.6.0 and newer.
Patch by Adam Turner (@AA-Turner).

## Removed in version 4.0.0

The following non-exported but non-private names have been removed as they are
unneeded for supporting Python 3.6 and newer.

- TypingMeta
- OLD_GENERICS
- SUBS_TREE
- HAVE_ANNOTATED
- HAVE_PROTOCOLS
- V_co
- VT_co