Conversation
Fidget-Spinner
left a comment
There was a problem hiding this comment.
Thanks! Changing the tox env versions for the typing module is a good catch considering #784.
| Typing Extensions -- Backported and Experimental Type Hints for Python | ||
|
|
||
| The ``typing`` module was added to the standard library in Python 3.5 on | ||
| a provisional basis and will no longer be provisional in Python 3.7. However, |
There was a problem hiding this comment.
Off topic: I see #247 and python/cpython#16204 saying typing became implicitly non-provisional in 3.7 because no new features were added, but PEP 484 still says Status: | Provisional ? Maybe that PEP needs discussion/updating once Guido's back.
There was a problem hiding this comment.
Good catch, I opened python/peps#1942 to fix it.
| exit(1) | ||
|
|
||
| version = '3.7.4.3' | ||
| version = '3.10.0.0' |
There was a problem hiding this comment.
I wonder if it's too early to also add to the classifiers list below this the following classifier: 'Programming Language :: Python :: 3.10', while you're at it?
There was a problem hiding this comment.
Yeah I was thinking about that. Let me just run the test suite on current CPython master to be sure.
There was a problem hiding this comment.
I hope I didn't do any double work here, but FWIW, the latest CPython master runs the tests with no errors on my machine.
| The ``typing_extensions`` module contains backports of these changes. | ||
| Experimental types that will eventually be added to the ``typing`` | ||
| module are also included in ``typing_extensions``, such as | ||
| ``typing.ParamSpec`` and ``typing.TypeGuard``. |
There was a problem hiding this comment.
And also IntVar, which still doesn't have a PEP proposing it.
PEP 484 is still marked as "Provisional", but as @Fidget-Spinner pointed out in python/typing#805, it shouldn't be any more. python/cpython#16204 removed talk about typing's provisional status from the module docs, and enhancements to typing have been in the form of new PEPs for the last few release cycles. Going to mark this as a draft so Guido can have a chance to comment once he's back.
Also update the description for typing-extensions