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
0d8775f1
Commit
0d8775f1
authored
Mar 08, 2014
by
R David Murray
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
whatsnew: tidy up html notes, add porting note for expand_charrefs.
parent
c1e7fd6c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
9 deletions
+15
-9
Doc/whatsnew/3.4.rst
Doc/whatsnew/3.4.rst
+15
-9
No files found.
Doc/whatsnew/3.4.rst
View file @
0d8775f1
...
...
@@ -830,16 +830,16 @@ by Jonas Borgström in :issue:`18240`.)
html
----
Added a new :func:`html.unescape` function that converts HTML5 character
references to the corresponding Unicode characters.
(Contributed by Ezio Melotti in
:issue:`2927`)
New function :func:`~html.unescape` function converts HTML5 character references to
the corresponding Unicode characters. (Contributed by Ezio Melotti in
:issue:`2927`)
Added a new *convert_charrefs* keyword argument to
:class:`~html.parser.HTMLParser` that, when ``True``, automatically converts
all character references. For backward-compatibility, its value defaults
to ``False``, but it will change to ``True`` in future versions, so you
are invited to set it explicitly and update your code to use this new feature.
(Contributed
by Ezio Melotti in :issue:`13633`)
:class:`~html.parser.HTMLParser` accepts a new keyword argument
*convert_charrefs* that, when ``True``, automatically converts all character
references. For backward-compatibility, its value defaults to ``False``, but
it will change to ``True`` in a future version of Python, so you are invited to
set it explicitly and update your code to use this new feature. (Contributed
by Ezio Melotti in :issue:`13633`)
The *strict* argument of :class:`~html.parser.HTMLParser` is now deprecated.
(Contributed by Ezio Melotti in :issue:`15114`)
...
...
@@ -2135,6 +2135,12 @@ Changes in the Python API
* :mod:`audioop` functions now raise an error immediately if passed string
input, instead of failing randomly later on (:issue:`16685`).
* The new *convert_charrefs* argument to :class:`~html.parser.HTMLParser`
currently defaults to ``False`` for backward compatibility, but will
eventually be changed to default to ``True``. It is recommended that you add
this keyword, with the appropriate value, to any
:class:`~html.parser.HTMLParser` calls in your code.
Changes in the C API
--------------------
...
...
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