-------
New :func:`hashlib.pbkdf2_hmac` function.
-
(Contributed by Christian Heimes in :issue:`18582`)
Added a new :func:`html.unescape` function that converts HTML5 character
references to the corresponding Unicode characters.
-
(Contributed by Ezio Melotti in :issue:`2927`)
Added a new *convert_charrefs* keyword argument to
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`)
The *strict* argument of :class:`~html.parser.HTMLParser` is now deprecated.
-
(Contributed by Ezio Melotti in :issue:`15114`)
----
mmap objects can now be weakref'ed.
-
(Contributed by Valerie Lambert in :issue:`4885`.)
The repr of :ref:`regex objects <re-objects>` now includes the pattern
and the flags; the repr of :ref:`match objects <match-objects>` now
includes the start, end, and the part of the string that matched.
-
(Contributed by Serhiy Storchaka in :issue:`13592` and :issue:`17087`.)
---
TLSv1.1 and TLSv1.2 support.
-
(Contributed by Michele Orrù and Antoine Pitrou in :issue:`16692`)
* New diagnostic functions :func:`~ssl.get_default_verify_paths`,
Support for server-side SNI using the new
:meth:`ssl.SSLContext.set_servername_callback` method.
-
(Contributed by Daniel Black in :issue:`8109`.)
------
Streaming struct unpacking using :func:`struct.iter_unpack`.
-
(Contributed by Antoine Pitrou in :issue:`17804`.)
------
Add support.for ``data:`` URLs in :mod:`urllib.request`.
-
(Contributed by Mathias Panzenböck in :issue:`16423`.)
Support for easy dynamically-generated subtests using the
:meth:`~unittest.TestCase.subTest` context manager.
-
(Contributed by Antoine Pitrou in :issue:`16997`.)
Add an event-driven parser for non-blocking applications,
:class:`~xml.etree.ElementTree.XMLPullParser`.
-
(Contributed by Antoine Pitrou in :issue:`17741`.)
Add a filter function to ignore some packages (tests for instance),
:meth:`~zipfile.PyZipFile.writepy`.
-
(Contributed by Christian Tismer in :issue:`19274`.)
==================
Tab-completion is now enabled by default in the interactive interpreter.
-
(Contributed by Antoine Pitrou and Éric Araujo in :issue:`5845`.)
Python invocation changes