From 67c1cb20086e58a2514e78019de2e72b5f5b8e17 Mon Sep 17 00:00:00 2001 From: Ned Deily Date: Fri, 20 Jan 2017 10:13:23 -0500 Subject: [PATCH] Issue #29316: Restore the provisional status of typing module and add corresponding note to documentation. Patch by Ivan L. --- Doc/library/typing.rst | 7 +++++++ Doc/whatsnew/3.6.rst | 9 +++------ Misc/NEWS | 3 +++ 3 files changed, 13 insertions(+), 6 deletions(-) diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst index fd6bded005..cd59d10ca2 100644 --- a/Doc/library/typing.rst +++ b/Doc/library/typing.rst @@ -8,6 +8,13 @@ **Source code:** :source:`Lib/typing.py` +.. note:: + + The typing module has been included in the standard library on a + :term:`provisional basis `. 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`. diff --git a/Doc/whatsnew/3.6.rst b/Doc/whatsnew/3.6.rst index 2c5b0f499a..f6c71d374c 100644 --- a/Doc/whatsnew/3.6.rst +++ b/Doc/whatsnew/3.6.rst @@ -120,7 +120,7 @@ Significant improvements in the standard library: :ref:`Local Time Disambiguation `. * The :mod:`typing` module received a number of - :ref:`improvements ` and is no longer provisional. + :ref:`improvements `. * The :mod:`tracemalloc` module has been significantly reworked and is now used to provide better output for :exc:`ResourceWarning` @@ -1544,11 +1544,8 @@ to filter block traces by their address space (domain). typing ------ -Starting with Python 3.6 the :mod:`typing` module is no longer provisional -and its API is considered stable. - -Since the :mod:`typing` module was :term:`provisional ` -in Python 3.5, all changes introduced in Python 3.6 have also been +Since the :mod:`typing` module is :term:`provisional `, +all changes introduced in Python 3.6 have also been backported to Python 3.5.x. The :mod:`typing` module has a much improved support for generic type diff --git a/Misc/NEWS b/Misc/NEWS index 138539b418..9f62022e37 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -47,6 +47,9 @@ Core and Builtins 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 ctypes.CDLL instances. -- 2.40.0