Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6dfc632

Browse files
committed
whatsnew: difflib.isbjunk &c were removed, not deprecated.
Also move NEWS item to correct position (it was in 3.3).
1 parent 21317b6 commit 6dfc632

2 files changed

Lines changed: 9 additions & 6 deletions

File tree

Doc/whatsnew/3.4.rst

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1503,10 +1503,6 @@ using ``-Wd``).
15031503
Deprecated Python Modules, Functions and Methods
15041504
------------------------------------------------
15051505

1506-
* :meth:`difflib.SequenceMatcher.isbjunk` and
1507-
:meth:`difflib.SequenceMatcher.isbpopular` were removed: use ``x in sm.bjunk`` and
1508-
``x in sm.bpopular``, where *sm* is a :class:`~difflib.SequenceMatcher` object.
1509-
15101506
* As mentioned in :ref:`whatsnew-pep-451`, a number of :mod:`importilb`
15111507
methods and functions are deprecated: :meth:`importlib.find_loader` is
15121508
replaced by :func:`importlib.util.find_spec`;
@@ -1612,6 +1608,12 @@ removed:
16121608
* :class:`inspect.Signature`: positional-only parameters are now required
16131609
to have a valid name.
16141610

1611+
* :meth:`difflib.SequenceMatcher.isbjunk` and
1612+
:meth:`difflib.SequenceMatcher.isbpopular` were deprecated in 3.2, and have
1613+
now been removed: use ``x in sm.bjunk`` and
1614+
``x in sm.bpopular``, where *sm* is a :class:`~difflib.SequenceMatcher` object
1615+
(:issue:`13248`).
1616+
16151617

16161618
Code Cleanups
16171619
-------------

Misc/NEWS

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2987,6 +2987,9 @@ Library
29872987
- Issue #17467: add readline and readlines support to mock_open in
29882988
unittest.mock.
29892989

2990+
- Issue #13248: removed deprecated and undocumented difflib.isbjunk,
2991+
isbpopular.
2992+
29902993
- Issue #17192: Update the ctypes module's libffi to v3.0.13. This
29912994
specifically addresses a stack misalignment issue on x86 and issues on
29922995
some more recent platforms.
@@ -4412,8 +4415,6 @@ Core and Builtins
44124415
Library
44134416
-------
44144417

4415-
- Issue #13248: removed deprecated and undocumented difflib.isbjunk, isbpopular.
4416-
44174418
- Issue #13370: Ensure that ctypes works on Mac OS X when Python is compiled
44184419
using the clang compiler.
44194420

0 commit comments

Comments
 (0)