Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
024a4621
Commit
024a4621
authored
Mar 13, 2014
by
R David Murray
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
whatsnew: difflib.isbjunk &c were removed, not deprecated.
Also move NEWS item to correct position (it was in 3.3).
parent
95953138
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
6 deletions
+9
-6
Doc/whatsnew/3.4.rst
Doc/whatsnew/3.4.rst
+6
-4
Misc/NEWS
Misc/NEWS
+3
-2
No files found.
Doc/whatsnew/3.4.rst
View file @
024a4621
...
...
@@ -2051,10 +2051,6 @@ using ``-Wd``).
Deprecations in the Python API
------------------------------
* :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`;
...
...
@@ -2194,6 +2190,12 @@ removed:
that do not have a __format__ method that handles it. See :issue:`7994` for
background.
* :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
-------------
...
...
Misc/NEWS
View file @
024a4621
...
...
@@ -3077,6 +3077,9 @@ Library
- 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
.
...
...
@@ -4512,8 +4515,6 @@ Core and Builtins
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
.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment