Commit 9dd74769 authored by Raymond Hettinger's avatar Raymond Hettinger

Update whatsnew for imaplib changes. Move importlib work to end of section.

parent a18cf7e0
...@@ -349,23 +349,23 @@ New, Improved, and Deprecated Modules ...@@ -349,23 +349,23 @@ New, Improved, and Deprecated Modules
(Contributed by Ross Light; :issue:`4285`.) (Contributed by Ross Light; :issue:`4285`.)
* A new module, :mod:`importlib` was added. It provides a complete, portable,
pure Python reference implementation of the :keyword:`import` statement and its
counterpart, the :func:`__import__` function. It represents a substantial
step forward in documenting and defining the actions that take place during
imports.
(Contributed by Brett Cannon.)
* A new module, :mod:`ipaddr` has been added to the standard library. * A new module, :mod:`ipaddr` has been added to the standard library.
It provides classes to represent, verify and manipulate IPv4 and IPv6 It provides classes to represent, verify and manipulate IPv4 and IPv6
host and network addresses. host and network addresses.
(Contributed by Google, :issue:`3959`.) (Contributed by Google, :issue:`3959`.)
* The :mod:`nntplib` module now supports IPv6. * The :mod:`nntplib` :mod:`imaplib` modules now support IPv6.
(Contributed by Derek Morr; :issue:`1664`.) (Contributed by Derek Morr; :issue:`1655` and :issue:`1664`.)
* A new module, :mod:`importlib` was added. It provides a complete, portable,
pure Python reference implementation of the :keyword:`import` statement and its
counterpart, the :func:`__import__` function. It represents a substantial
step forward in documenting and defining the actions that take place during
imports.
(Contributed by Brett Cannon.)
Optimizations Optimizations
============= =============
...@@ -407,11 +407,13 @@ Major performance enhancements have been added: ...@@ -407,11 +407,13 @@ Major performance enhancements have been added:
only with :class:`str`, not with :class:`bytes`. That change makes the only with :class:`str`, not with :class:`bytes`. That change makes the
module more closely conform to the `JSON specification <http://json.org/>`_ module more closely conform to the `JSON specification <http://json.org/>`_
which is defined in terms of Unicode. which is defined in terms of Unicode.
(Contributed by Bob Ippolito and converted to Py3.1 by Antoine Pitrou (Contributed by Bob Ippolito and converted to Py3.1 by Antoine Pitrou
and Benjamin Peterson; :issue:`4136`.) and Benjamin Peterson; :issue:`4136`.)
* Unpickling now interns the attribute names of pickled objects. This saves * Unpickling now interns the attribute names of pickled objects. This saves
memory and allows pickles to be smaller. memory and allows pickles to be smaller.
(Contributed by Jake McGuire and Antoine Pitrou; :issue:`5084`.) (Contributed by Jake McGuire and Antoine Pitrou; :issue:`5084`.)
Build and C API Changes Build and C API Changes
...@@ -452,9 +454,8 @@ Changes to Python's build process and to the C API include: ...@@ -452,9 +454,8 @@ Changes to Python's build process and to the C API include:
* Added :ctype:`PyCapsule` as a replacement for the :ctype:`PyCObject` API. * Added :ctype:`PyCapsule` as a replacement for the :ctype:`PyCObject` API.
The principal difference is that the new type has a well defined interface The principal difference is that the new type has a well defined interface
for passing typing safety information and a less complicated signature for passing typing safety information and a less complicated signature
for calling a destructor. for calling a destructor. The old type had a problematic API and is now
deprecated.
The old type had a problematic API and is now deprecated.
(Contributed by Larry Hastings; :issue:`5630`.) (Contributed by Larry Hastings; :issue:`5630`.)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment