-
Notifications
You must be signed in to change notification settings - Fork 237
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
prepare release 3.10.0.0 #805
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Changing the tox env versions for the typing
module is a good catch considering #784.
description = 'Backported and Experimental Type Hints for Python 3.5+' | ||
long_description = '''\ | ||
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch, I opened python/peps#1942 to fix it.
@@ -9,23 +9,24 @@ | |||
'to install the typing package.\n') | |||
exit(1) | |||
|
|||
version = '3.7.4.3' | |||
version = '3.10.0.0' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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