]> granicus.if.org Git - python/commitdiff
Issue #19165: The formatter module graduates to full deprecation.
authorBrett Cannon <brett@python.org>
Fri, 21 Mar 2014 14:52:33 +0000 (10:52 -0400)
committerBrett Cannon <brett@python.org>
Fri, 21 Mar 2014 14:52:33 +0000 (10:52 -0400)
Doc/whatsnew/3.5.rst
Lib/formatter.py
Misc/NEWS

index dfd1bea24d06b062c5a761bd6be5e29ba0036fb5..f11291b2aaa7f15f8c385c039d23bdd5bbe84b60 100644 (file)
@@ -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
index d8cca52e307feafaef3178c0d8c582ae8be91c9d..769bd6a90a548a655083b92f0f92bdb93a0f1902 100644 (file)
@@ -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
index e7dbfa7c9ee00e8cdc43c55e30a7b4cf36e9a780..ccc1f57ff5b8dadd78e9000c0d215eefdd00032e 100644 (file)
--- 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.