@@ -372,43 +372,6 @@ New, Improved, and Deprecated Modules
372372
373373 (Contributed by Ross Light; :issue:`4285`.)
374374
375- * A new module, :mod: `ipaddr ` has been added to the standard library.
376- It provides classes to represent, verify and manipulate IPv4 and IPv6
377- host and network addresses.
378-
379- The :func: `ipaddr.IP ` factory function creates an address object from
380- a string or integer representing the IP or the IP and prefix/netmask.
381- The objects provide a number of attributes for direct access to
382- components of the full address::
383-
384- >>> addr = IP('2001:658:22A:CAFE:200::1/64')
385- >>> for attr in ['ip', 'ip_ext', 'ip_ext_full', 'network', 'network_ext',
386- ... 'hostmask', 'hostmask_ext', 'broadcast', 'broadcast_ext',
387- ... 'netmask', 'netmask_ext', 'prefixlen']:
388- ... print(attr, '=', getattr(addr, attr))
389- ...
390- ip = 42540616829182469433547762482097946625
391- ip_ext = 2001:658:22a:cafe:200::1
392- ip_ext_full = 2001:0658:022a:cafe:0200:0000:0000:0001
393- network = 42540616829182469433403647294022090752
394- network_ext = 2001:658:22a:cafe::
395- hostmask = 18446744073709551615
396- hostmask_ext = ::ffff:ffff:ffff:ffff
397- broadcast = 42540616829182469451850391367731642367
398- broadcast_ext = 2001:658:22a:cafe:ffff:ffff:ffff:ffff
399- netmask = 340282366920938463444927863358058659840
400- netmask_ext = 64
401- prefixlen = 64
402-
403- Each address object supports a number of simple properties including:
404- ``is_private ``, ``is_multicast ``, ``is_loopback ``, and ``is_link_local ``.
405-
406- Additionally, the address objects provide a sort order for IP addresses,
407- support for address ranges (stored as lists of addresses), and subnet
408- computations.
409-
410- (Contributed by Google, :issue: `3959 `.)
411-
412375* The :mod: `nntplib ` and :mod: `imaplib ` modules now support IPv6.
413376
414377 (Contributed by Derek Morr; :issue: `1655 ` and :issue: `1664 `.)
0 commit comments