|
9 | 9 | 'to install the typing package.\n') |
10 | 10 | exit(1) |
11 | 11 |
|
12 | | -version = '3.7.4.3' |
| 12 | +version = '3.10.0.0' |
13 | 13 | description = 'Backported and Experimental Type Hints for Python 3.5+' |
14 | 14 | long_description = '''\ |
15 | 15 | Typing Extensions -- Backported and Experimental Type Hints for Python |
16 | 16 |
|
17 | | -The ``typing`` module was added to the standard library in Python 3.5 on |
18 | | -a provisional basis and will no longer be provisional in Python 3.7. However, |
19 | | -this means users of Python 3.5 - 3.6 who are unable to upgrade will not be |
| 17 | +The ``typing`` module was added to the standard library in Python 3.5, but |
| 18 | +many new features have been added to the module since then. |
| 19 | +This means users of Python 3.5 - 3.6 who are unable to upgrade will not be |
20 | 20 | able to take advantage of new types added to the ``typing`` module, such as |
21 | | -``typing.Text`` or ``typing.Coroutine``. |
| 21 | +``typing.Protocol`` or ``typing.TypedDict``. |
22 | 22 |
|
23 | | -The ``typing_extensions`` module contains both backports of these changes |
24 | | -as well as experimental types that will eventually be added to the ``typing`` |
25 | | -module, such as ``Protocol`` or ``TypedDict``. |
| 23 | +The ``typing_extensions`` module contains backports of these changes. |
| 24 | +Experimental types that will eventually be added to the ``typing`` |
| 25 | +module are also included in ``typing_extensions``, such as |
| 26 | +``typing.ParamSpec`` and ``typing.TypeGuard``. |
26 | 27 |
|
27 | | -Users of other Python versions should continue to install and use |
28 | | -the ``typing`` module from PyPi instead of using this one unless specifically |
| 28 | +Users of Python versions before 3.5 should install and use |
| 29 | +the ``typing`` module from PyPI instead of using this one, unless specifically |
29 | 30 | writing code that must be compatible with multiple Python versions or requires |
30 | 31 | experimental types. |
31 | 32 | ''' |
|
43 | 44 | 'Programming Language :: Python :: 3.7', |
44 | 45 | 'Programming Language :: Python :: 3.8', |
45 | 46 | 'Programming Language :: Python :: 3.9', |
| 47 | + 'Programming Language :: Python :: 3.10', |
46 | 48 | 'Topic :: Software Development', |
47 | 49 | ] |
48 | 50 |
|
|
57 | 59 | version=version, |
58 | 60 | description=description, |
59 | 61 | long_description=long_description, |
60 | | - author='Guido van Rossum, Jukka Lehtosalo, Lukasz Langa, Michael Lee', |
| 62 | + author='Guido van Rossum, Jukka Lehtosalo, Łukasz Langa, Michael Lee', |
61 | 63 | |
62 | 64 | url='https://github.com/python/typing/blob/master/typing_extensions/README.rst', |
63 | 65 | license='PSF', |
|
0 commit comments