summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2014-05-15 20:55:40 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2014-05-15 20:55:40 (GMT)
commit0dfce56cd170ff349b91493090814466e163767b (patch)
treea6ff96b41aea3bab8690728474e2a2b5178cd44c
parentb9d9ce73d7738e452324ab43c19331cf50dcae14 (diff)
downloadcpython-0dfce56cd170ff349b91493090814466e163767b.zip
cpython-0dfce56cd170ff349b91493090814466e163767b.tar.gz
cpython-0dfce56cd170ff349b91493090814466e163767b.tar.bz2
Mention ipaddress improvements.
-rw-r--r--Doc/whatsnew/3.5.rst15
1 files changed, 15 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.5.rst b/Doc/whatsnew/3.5.rst
index 52c3e21..91cec97 100644
--- a/Doc/whatsnew/3.5.rst
+++ b/Doc/whatsnew/3.5.rst
@@ -164,6 +164,14 @@ inspect
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 @@ The following performance enhancements have been added:
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
=======================