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`)
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
----

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
The Dragon De Monsyne
Skip Montanaro
Peter Moody
Paul Moore
Derek Morr
James A Morrison

View File

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