Issue #19165: The formatter module graduates to full deprecation.

This commit is contained in:
Brett Cannon 2014-03-21 10:52:33 -04:00
parent 9ab748013b
commit a77d0c36e5
3 changed files with 6 additions and 2 deletions

View File

@ -165,7 +165,8 @@ Unsupported Operating Systems
Deprecated Python modules, functions and methods Deprecated Python modules, functions and methods
------------------------------------------------ ------------------------------------------------
* None yet. * The :mod:`formatter` module has now graduated to full deprecation and is still
slated for removal in Python 3.6.
Deprecated functions and types of the C API Deprecated functions and types of the C API

View File

@ -21,7 +21,7 @@ manage and inserting data into the output.
import sys import sys
import warnings import warnings
warnings.warn('the formatter module is deprecated and will be removed in ' warnings.warn('the formatter module is deprecated and will be removed in '
'Python 3.6', PendingDeprecationWarning) 'Python 3.6', DeprecationWarning)
AS_IS = None AS_IS = None

View File

@ -23,6 +23,9 @@ Core and Builtins
Library Library
------- -------
- Issue #19165: The formatter module now raises DeprecationWarning instead of
PendingDeprecationWarning.
- Issue #13936: Remove the ability of datetime.time instances to be considered - Issue #13936: Remove the ability of datetime.time instances to be considered
false in boolean contexts. false in boolean contexts.