[Python-checkins] peps: Update from Peter Moody
barry.warsaw
python-checkins at python.org
Mon May 14 16:25:16 CEST 2012
http://hg.python.org/peps/rev/d5b90dfe1c92
changeset: 4373:d5b90dfe1c92
user: Barry Warsaw <barry at python.org>
date: Mon May 14 10:25:14 2012 -0400
summary:
Update from Peter Moody
files:
pep-3144.txt | 24 ++++++++++++++++++++----
1 files changed, 20 insertions(+), 4 deletions(-)
diff --git a/pep-3144.txt b/pep-3144.txt
--- a/pep-3144.txt
+++ b/pep-3144.txt
@@ -59,6 +59,23 @@
return iterators. This includes, subnets, address_exclude,
summarize_address_range and collapse_address_list.
+ * A number of methods and functions which returned containers in ipaddr now
+ return iterators. This includes, subnets, address_exclude,
+ summarize_address_range and collapse_address_list.
+
+
+ Due to the backwards incompatible API changes between ipaddress and ipaddr,
+ the proposal is to add the module using the new provisional API status:
+
+ * http://docs.python.org/dev/glossary.html#term-provisional-package
+
+
+ Relevant messages on python-dev:
+
+ * http://mail.python.org/pipermail/python-dev/2012-January/116016.html
+ * http://mail.python.org/pipermail/python-dev/2012-February/116656.html
+ * http://mail.python.org/pipermail/python-dev/2012-February/116688.html
+
Due to the backwards incompatible API changes between ipaddress and ipaddr,
the proposal is to add the module using the new provisional API status:
@@ -118,8 +135,7 @@
_BaseV4 - Provides methods and variables (eg, _max_prefixlen)
common to all IPv4 classes.
- _BaseV6 - Provides methods and variables common to all IPv6
- classes.
+ _BaseV6 - Provides methods and variables common to all IPv6 classes.
Comparisons between objects of differing IP versions results in a
TypeError [1]. Additionally, comparisons of objects with
@@ -132,10 +148,10 @@
Reference Implementation:
The current reference implementation can be found at:
- https://code.google.com/p/ipaddr-py/source/browse/branches/3144/ipaddress.py
+ http://code.google.com/p/ipaddress-py/source/browse/ipaddress.py
Or see the tarball to include the README and unittests.
- http://code.google.com/p/ipaddr-py/downloads/detail?name=3144.tar.gz
+ http://code.google.com/p/ipaddress-py/downloads/detail?name=ipaddress-1.0.tar.gz
More information about using the reference implementation can be
found at: http://code.google.com/p/ipaddr-py/wiki/Using3144
--
Repository URL: http://hg.python.org/peps
More information about the Python-checkins
mailing list