Issue #14814: addition of the ipaddress module (stage 1 - code and tests)

This commit is contained in:
Nick Coghlan 2012-05-20 21:01:57 +10:00
parent 7db768cf0e
commit dc9b2555a8
5 changed files with 3347 additions and 0 deletions

View file

@ -851,6 +851,15 @@ already exists. It is based on the C11 'x' mode to fopen().
(Contributed by David Townshend in :issue:`12760`) (Contributed by David Townshend in :issue:`12760`)
ipaddress
---------
The new :mod:`ipaddress` module provides tools for creating and manipulating
objects representing IPv4 and IPv6 addresses, networks and interfaces (i.e.
an IP address associated with a specific IP subnet).
(Contributed by Google and Peter Moody in :pep:`3144`)
lzma lzma
---- ----

2193
Lib/ipaddress.py Normal file

File diff suppressed because it is too large Load diff

1142
Lib/test/test_ipaddress.py Normal file

File diff suppressed because it is too large Load diff

View file

@ -702,6 +702,7 @@ Florian Mladitsch
Doug Moen Doug Moen
The Dragon De Monsyne The Dragon De Monsyne
Skip Montanaro Skip Montanaro
Peter Moody
Paul Moore Paul Moore
Derek Morr Derek Morr
James A Morrison James A Morrison

View file

@ -42,6 +42,8 @@ Core and Builtins
Library Library
------- -------
- PEP 3144, Issue #14814: Added the ipaddress module
- Issue #14426: Correct the Date format in Expires attribute of Set-Cookie - Issue #14426: Correct the Date format in Expires attribute of Set-Cookie
Header in Cookie.py. Header in Cookie.py.