[Python-checkins] cpython (3.4): whatsnew: difflib.isbjunk &c were removed, not deprecated.

larry.hastings python-checkins at python.org
Mon Mar 17 07:33:31 CET 2014


http://hg.python.org/cpython/rev/45988af92990
changeset:   89795:45988af92990
branch:      3.4
user:        R David Murray <rdmurray at bitdance.com>
date:        Thu Mar 13 21:34:54 2014 -0400
summary:
  whatsnew: difflib.isbjunk &c were removed, not deprecated.

Also move NEWS item to correct position (it was in 3.3).

files:
  Doc/whatsnew/3.4.rst |  10 ++++++----
  Misc/NEWS            |   5 +++--
  2 files changed, 9 insertions(+), 6 deletions(-)


diff --git a/Doc/whatsnew/3.4.rst b/Doc/whatsnew/3.4.rst
--- a/Doc/whatsnew/3.4.rst
+++ b/Doc/whatsnew/3.4.rst
@@ -1503,10 +1503,6 @@
 Deprecated Python Modules, Functions and Methods
 ------------------------------------------------
 
-* :meth:`difflib.SequenceMatcher.isbjunk` and
-  :meth:`difflib.SequenceMatcher.isbpopular` were removed: use ``x in sm.bjunk`` and
-  ``x in sm.bpopular``, where *sm* is a :class:`~difflib.SequenceMatcher` object.
-
 * As mentioned in :ref:`whatsnew-pep-451`, a number of :mod:`importilb`
   methods and functions are deprecated: :meth:`importlib.find_loader` is
   replaced by :func:`importlib.util.find_spec`;
@@ -1612,6 +1608,12 @@
 * :class:`inspect.Signature`: positional-only parameters are now required
   to have a valid name.
 
+* :meth:`difflib.SequenceMatcher.isbjunk` and
+  :meth:`difflib.SequenceMatcher.isbpopular` were deprecated in 3.2, and have
+  now been removed: use ``x in sm.bjunk`` and
+  ``x in sm.bpopular``, where *sm* is a :class:`~difflib.SequenceMatcher` object
+  (:issue:`13248`).
+
 
 Code Cleanups
 -------------
diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -2987,6 +2987,9 @@
 - Issue #17467: add readline and readlines support to mock_open in
   unittest.mock.
 
+- Issue #13248: removed deprecated and undocumented difflib.isbjunk,
+  isbpopular.
+
 - Issue #17192: Update the ctypes module's libffi to v3.0.13.  This
   specifically addresses a stack misalignment issue on x86 and issues on
   some more recent platforms.
@@ -4412,8 +4415,6 @@
 Library
 -------
 
-- Issue #13248: removed deprecated and undocumented difflib.isbjunk, isbpopular.
-
 - Issue #13370: Ensure that ctypes works on Mac OS X when Python is compiled
   using the clang compiler.
 

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list