summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2014-03-21 14:52:33 (GMT)
committerBrett Cannon <brett@python.org>2014-03-21 14:52:33 (GMT)
commita77d0c36e561c3f56dee1c4b0fdd9451d6f8a894 (patch)
tree9857bb7e775dae53c9e28bbc15491c99c571f125
parent9ab748013b00d6873b07c15ce50927104f5ece63 (diff)
downloadcpython-a77d0c36e561c3f56dee1c4b0fdd9451d6f8a894.zip
cpython-a77d0c36e561c3f56dee1c4b0fdd9451d6f8a894.tar.gz
cpython-a77d0c36e561c3f56dee1c4b0fdd9451d6f8a894.tar.bz2
Issue #19165: The formatter module graduates to full deprecation.
-rw-r--r--Doc/whatsnew/3.5.rst3
-rw-r--r--Lib/formatter.py2
-rw-r--r--Misc/NEWS3
3 files changed, 6 insertions, 2 deletions
diff --git a/Doc/whatsnew/3.5.rst b/Doc/whatsnew/3.5.rst
index dfd1bea..f11291b 100644
--- a/Doc/whatsnew/3.5.rst
+++ b/Doc/whatsnew/3.5.rst
@@ -165,7 +165,8 @@ Unsupported Operating Systems
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
diff --git a/Lib/formatter.py b/Lib/formatter.py
index d8cca52..769bd6a 100644
--- a/Lib/formatter.py
+++ b/Lib/formatter.py
@@ -21,7 +21,7 @@ manage and inserting data into the output.
import sys
import warnings
warnings.warn('the formatter module is deprecated and will be removed in '
- 'Python 3.6', PendingDeprecationWarning)
+ 'Python 3.6', DeprecationWarning)
AS_IS = None
diff --git a/Misc/NEWS b/Misc/NEWS
index e7dbfa7..ccc1f57 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -23,6 +23,9 @@ Core and Builtins
Library
-------
+- Issue #19165: The formatter module now raises DeprecationWarning instead of
+ PendingDeprecationWarning.
+
- Issue #13936: Remove the ability of datetime.time instances to be considered
false in boolean contexts.