[Python-checkins] cpython: Mention ipaddress improvements.

antoine.pitrou python-checkins at python.org
Thu May 15 22:55:47 CEST 2014


http://hg.python.org/cpython/rev/758323c8556a
changeset:   90721:758323c8556a
user:        Antoine Pitrou <solipsis at pitrou.net>
date:        Thu May 15 22:55:40 2014 +0200
summary:
  Mention ipaddress improvements.

files:
  Doc/whatsnew/3.5.rst |  15 +++++++++++++++
  1 files changed, 15 insertions(+), 0 deletions(-)


diff --git a/Doc/whatsnew/3.5.rst b/Doc/whatsnew/3.5.rst
--- a/Doc/whatsnew/3.5.rst
+++ b/Doc/whatsnew/3.5.rst
@@ -164,6 +164,14 @@
   subclassing of :class:`~inspect.Signature` easier (contributed
   by Yury Selivanov and Eric Snow in :issue:`17373`).
 
+ipaddress
+---------
+
+* :class:`ipaddress.IPv4Network` and :class:`ipaddress.IPv6Network` now
+  accept an ``(address, netmask)`` tuple argument, so as to easily construct
+  network objects from existing addresses (contributed by Peter Moody
+  and Antoine Pitrou in :issue:`16531`).
+
 signal
 ------
 
@@ -189,6 +197,13 @@
   data) for large objects. ``calloc()`` is used instead of ``malloc()`` to
   allocate memory for these objects.
 
+* Some operations on :class:`~ipaddress.IPv4Network` and
+  :class:`~ipaddress.IPv6Network` have been massively sped up, such as
+  :meth:`~ipaddress.IPv4Network.subnets`, :meth:`~ipaddress.IPv4Network.supernet`,
+  :func:`~ipaddress.summarize_address_range`, :func:`~ipaddress.collapse_addresses`.
+  The speed up can range from 3x to 15x.
+  (:issue:`21486`, :issue:`21487`, :issue:`20826`)
+
 
 Build and C API Changes
 =======================

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list