Kaydet (Commit) 67c1cb20 authored tarafından Ned Deily's avatar Ned Deily

Issue #29316: Restore the provisional status of typing module and add

corresponding note to documentation. Patch by Ivan L.
üst 398ef5c0
...@@ -8,6 +8,13 @@ ...@@ -8,6 +8,13 @@
**Source code:** :source:`Lib/typing.py` **Source code:** :source:`Lib/typing.py`
.. note::
The typing module has been included in the standard library on a
:term:`provisional basis <provisional api>`. New features might
be added and API may change even between minor releases if deemed
necessary by the core developers.
-------------- --------------
This module supports type hints as specified by :pep:`484` and :pep:`526`. This module supports type hints as specified by :pep:`484` and :pep:`526`.
......
...@@ -120,7 +120,7 @@ Significant improvements in the standard library: ...@@ -120,7 +120,7 @@ Significant improvements in the standard library:
:ref:`Local Time Disambiguation <whatsnew36-pep495>`. :ref:`Local Time Disambiguation <whatsnew36-pep495>`.
* The :mod:`typing` module received a number of * The :mod:`typing` module received a number of
:ref:`improvements <whatsnew36-typing>` and is no longer provisional. :ref:`improvements <whatsnew36-typing>`.
* The :mod:`tracemalloc` module has been significantly reworked * The :mod:`tracemalloc` module has been significantly reworked
and is now used to provide better output for :exc:`ResourceWarning` and is now used to provide better output for :exc:`ResourceWarning`
...@@ -1544,11 +1544,8 @@ to filter block traces by their address space (domain). ...@@ -1544,11 +1544,8 @@ to filter block traces by their address space (domain).
typing typing
------ ------
Starting with Python 3.6 the :mod:`typing` module is no longer provisional Since the :mod:`typing` module is :term:`provisional <provisional api>`,
and its API is considered stable. all changes introduced in Python 3.6 have also been
Since the :mod:`typing` module was :term:`provisional <provisional api>`
in Python 3.5, all changes introduced in Python 3.6 have also been
backported to Python 3.5.x. backported to Python 3.5.x.
The :mod:`typing` module has a much improved support for generic type The :mod:`typing` module has a much improved support for generic type
......
...@@ -47,6 +47,9 @@ Core and Builtins ...@@ -47,6 +47,9 @@ Core and Builtins
Library Library
------- -------
- Issue #29316: Restore the provisional status of typing module, add
corresponding note to documentation. Patch by Ivan L.
- Issue #29219: Fixed infinite recursion in the repr of uninitialized - Issue #29219: Fixed infinite recursion in the repr of uninitialized
ctypes.CDLL instances. ctypes.CDLL instances.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment