changeset: 98768:bcee1364e2dc branch: 3.5 parent: 98766:f56006107a4b user: Brett Cannon date: Fri Oct 16 12:09:33 2015 -0700 files: Doc/library/formatter.rst Lib/formatter.py Misc/NEWS description: Issue #25407: Drop the mention of the formatter module being removed in Python 3.6. The new PEP 4 policy of any module existing in both 2.7 and 3.5 applies here, hence the module will be with us for a bit longer. diff -r f56006107a4b -r bcee1364e2dc Doc/library/formatter.rst --- a/Doc/library/formatter.rst Fri Oct 16 11:23:11 2015 +0300 +++ b/Doc/library/formatter.rst Fri Oct 16 12:09:33 2015 -0700 @@ -5,9 +5,8 @@ :synopsis: Generic output formatter and device interface. :deprecated: -.. deprecated-removed:: 3.4 3.6 - Due to lack of usage, the formatter module has been deprecated and is slated - for removal in Python 3.6. +.. deprecated:: 3.4 + Due to lack of usage, the formatter module has been deprecated. This module supports two interface definitions, each with multiple diff -r f56006107a4b -r bcee1364e2dc Lib/formatter.py --- a/Lib/formatter.py Fri Oct 16 11:23:11 2015 +0300 +++ b/Lib/formatter.py Fri Oct 16 12:09:33 2015 -0700 @@ -20,8 +20,8 @@ import sys import warnings -warnings.warn('the formatter module is deprecated and will be removed in ' - 'Python 3.6', DeprecationWarning, stacklevel=2) +warnings.warn('the formatter module is deprecated', DeprecationWarning, + stacklevel=2) AS_IS = None diff -r f56006107a4b -r bcee1364e2dc Misc/NEWS --- a/Misc/NEWS Fri Oct 16 11:23:11 2015 +0300 +++ b/Misc/NEWS Fri Oct 16 12:09:33 2015 -0700 @@ -45,6 +45,9 @@ Library ------- +- Issue #25407: Remove mentions of the formatter module being removed in + Python 3.6. + - Issue #25406: Fixed a bug in C implementation of OrderedDict.move_to_end() that caused segmentation fault or hang in iterating after moving several items to the start of ordered dict.