Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-20825: Containment test for ip_network in ip_network. | Cheryl Sabella | 2017-10-22 | 1 | -1/+86 |
| | |||||
* | bpo-29931 fix __lt__ check in ipaddress.ip_interface for both v4 and v6. (#879) | s-sanjay | 2017-04-01 | 1 | -8/+29 |
| | | | | | | | | the original logic was just comparing the network address but this is wrong because if the network address is equal then we need to compare the ip address for breaking the tie add more ip_interface comparison tests | ||||
* | Use sequence repetition instead of bytes constructor with integer argument. | Serhiy Storchaka | 2016-09-11 | 1 | -5/+5 |
| | |||||
* | Issue #27895: Spelling fixes (Contributed by Ville Skyttä). | Raymond Hettinger | 2016-08-30 | 1 | -3/+3 |
| | |||||
* | Issue #23804: Merge spelling and NEWS fixes from 3.5 | Martin Panter | 2016-07-11 | 1 | -2/+2 |
|\ | |||||
| * | English spelling and grammar fixes | Martin Panter | 2016-07-11 | 1 | -2/+2 |
| | | |||||
* | | Issue #20508: Improve exception message of IPv{4,6}Network.__getitem__ | Berker Peksag | 2016-06-11 | 1 | -0/+1 |
|/ | | | | Patch by Gareth Rees. | ||||
* | Issue #21386: Implement missing IPv4Address.is_global property | Berker Peksag | 2016-06-11 | 1 | -0/+3 |
| | | | | | | It was documented since 07a5610bae9d. Initial patch by Roger Luethi. | ||||
* | #20973: add total ordering tests for ipaddress | R David Murray | 2016-06-02 | 1 | -0/+33 |
| | | | | Patch by Tommy Beadle. | ||||
* | Issue #26457: Fixed the subnets() methods in IP network classes for the case | Serhiy Storchaka | 2016-03-01 | 1 | -0/+30 |
| | | | | | when resulting prefix length is equal to maximal prefix length. Based on patch by Xiang Zhang. | ||||
* | Remove a duplicate test_addresses key:value as identified by Vincent | Gregory P. Smith | 2016-01-02 | 1 | -1/+0 |
| | | | | Davis reviewing code. | ||||
* | Issue #25523: Merge "a" to "an" fixes from 3.4 into 3.5 | Martin Panter | 2015-11-02 | 1 | -2/+2 |
|\ | |||||
| * | Issue #25523: Correct "a" article to "an" article | Martin Panter | 2015-11-02 | 1 | -2/+2 |
| | | | | | | | | | | | | This changes the main documentation, doc strings, source code comments, and a couple error messages in the test suite. In some cases the word was removed or edited some other way to fix the grammar. | ||||
* | | Issue #23103: Reduced the memory consumption of IPv4Address and IPv6Address. | Serhiy Storchaka | 2015-03-07 | 1 | -0/+7 |
| | | |||||
* | | Issue #23268: Fixed bugs in the comparison of ipaddress classes. | Serhiy Storchaka | 2015-01-26 | 1 | -5/+42 |
|\ \ | |/ | |||||
| * | Issue #23268: Fixed bugs in the comparison of ipaddress classes. | Serhiy Storchaka | 2015-01-26 | 1 | -5/+42 |
| | | |||||
* | | Issue #23266: Restore the performance of ipaddress.collapse_addresses() whith | Serhiy Storchaka | 2015-01-18 | 1 | -5/+9 |
| | | | | | | | | duplicated addresses and simplify the code. | ||||
* | | Fixed tests for issue #23133 (pickling of IPv4Network was not tested). | Serhiy Storchaka | 2015-01-18 | 1 | -4/+4 |
| | | |||||
* | | Issue #23133: Pickling of ipaddress objects now produces more compact and | Serhiy Storchaka | 2015-01-18 | 1 | -7/+24 |
| | | | | | | | | portable representation. | ||||
* | | Issue #23266: Much faster implementation of ipaddress.collapse_addresses() ↵ | Antoine Pitrou | 2015-01-18 | 1 | -1/+2 |
| | | | | | | | | when there are many non-consecutive addresses. | ||||
* | | #20815: small readability improvements in ipaddress tests. | R David Murray | 2014-10-12 | 1 | -4/+9 |
|\ \ | |/ | |||||
| * | #20815: small readability improvements in ipaddress tests. | R David Murray | 2014-10-12 | 1 | -4/+9 |
| | | | | | | | | | | | | Patch by Michel Albert. We don't normally do patches that just tweak whitespace, but ipaddress is relatively new and the package maintainers approved the patch. | ||||
* | | Issue #16531: ipaddress.IPv4Network and ipaddress.IPv6Network now accept an ↵ | Antoine Pitrou | 2014-05-12 | 1 | -0/+113 |
| | | | | | | | | (address, netmask) tuple argument, so as to easily construct network objects from existing addresses. | ||||
* | | Issue #20480: Add ipaddress.reverse_pointer. Patch by Leon Weber. | Eric V. Smith | 2014-04-14 | 1 | -0/+8 |
|/ | |||||
* | Issue #20553. Use specific asserts in ipaddress tests. | Serhiy Storchaka | 2014-02-08 | 1 | -18/+17 |
|\ | |||||
| * | Issue #20553. Use specific asserts in ipaddress tests. | Serhiy Storchaka | 2014-02-08 | 1 | -18/+17 |
| | | |||||
* | | Merge fix for #18805 from 3.3 | Nick Coghlan | 2014-02-08 | 1 | -20/+53 |
|\ \ | |/ | |||||
| * | Issue #18805: better netmask validation in ipaddress | Nick Coghlan | 2014-02-08 | 1 | -20/+53 |
| | | |||||
* | | #17400: correct handling of 100.64.0.0/10, fixing the docs and updating NEWS | Peter Moody | 2013-10-24 | 1 | -1/+3 |
| | | |||||
* | | #17400: fix documentation, add cache to is_global and correctly handle ↵ | Peter Moody | 2013-10-22 | 1 | -0/+1 |
| | | | | | | | | 100.64.0.0/10 | ||||
* | | #17400; ipaddress should make it easy to identify rfc6598 addresses | Peter Moody | 2013-10-21 | 1 | -0/+9 |
|/ | |||||
* | Issue #14814: document the Interface APIs and fix various problems with the ↵ | Nick Coghlan | 2012-08-20 | 1 | -9/+7 |
| | | | | string representations (initial patch by Eli Bendersky). | ||||
* | Issue #14814: Remove redundant property from interface objects - prefixlen ↵ | Nick Coghlan | 2012-08-05 | 1 | -2/+2 |
| | | | | can be accessed via the associated network object | ||||
* | Issue 14814: Docs work showed some more cases of networks pretending to be ↵ | Nick Coghlan | 2012-08-05 | 1 | -2/+2 |
| | | | | addresses and highlighted the weird approach to implementing the 'is_whatever' properties. Impl now illustrates far more clearly that networks have a property if both their network and broadcast addresses have that property | ||||
* | Close #15559: Implementing __index__ creates a nasty interaction with the ↵ | Nick Coghlan | 2012-08-05 | 1 | -8/+9 |
| | | | | bytes constructor. At least for 3.3, ipaddress objects must now be explicitly converted with int() and thus can't be passed directly to the hex() builtin. | ||||
* | Issue 14814: The new systematic tests aren't just about error reporting any ↵ | Nick Coghlan | 2012-07-08 | 1 | -26/+72 |
| | | | | more - change names accordingly. Added and tweaked some example to ensure they were covering the intended code paths | ||||
* | Issue 14814: Remove dead function (noticed by Serhiy Storchaka) | Nick Coghlan | 2012-07-08 | 1 | -1/+0 |
| | |||||
* | Issue 14814: Further error case testing coverage and cleanups | Nick Coghlan | 2012-07-08 | 1 | -73/+67 |
| | |||||
* | Issue 14814: Ensure ordering semantics across all 3 entity types in ↵ | Nick Coghlan | 2012-07-07 | 1 | -61/+97 |
| | | | | ipaddress are consistent and well-defined | ||||
* | Issue 14814: Correctly return NotImplemented from ipaddress._BaseNetwork.__eq__ | Nick Coghlan | 2012-07-07 | 1 | -1/+16 |
| | |||||
* | Issue 14814: Explain how to get more error detail in the ipaddress tutorial, ↵ | Nick Coghlan | 2012-07-07 | 1 | -3/+3 |
| | | | | and tweak the display for octet errors in IPv4 (noticed the formatting problem when adding to the docs) | ||||
* | Issue 14814: Provide more informative error messages in ipaddress, and ↵ | Nick Coghlan | 2012-07-07 | 1 | -146/+407 |
| | | | | ensure that errors are caught as expected | ||||
* | Issue 14814: Eliminate bytes warnings from ipaddress by correctly throwing ↵ | Nick Coghlan | 2012-07-06 | 1 | -27/+34 |
| | | | | an exception early when given bytes data of the wrong length. Also removes 2.x backwards compatibility code from associated tests. | ||||
* | Issue 14814: Better handling of cases where octet/hextet parsing fails, ↵ | Nick Coghlan | 2012-07-06 | 1 | -36/+41 |
| | | | | including ensuring that tracebacks are still clean even when calling class constructors directly | ||||
* | Improve an internal ipaddress test, add a comment explaining why treating ↵ | Nick Coghlan | 2012-06-17 | 1 | -6/+21 |
| | | | | networks as containers of interfaces rather than addresses would prove confusing | ||||
* | #14814: ipaddress: refactor dup code, minor janitoring, bump coverage | Hynek Schlawack | 2012-06-05 | 1 | -28/+148 |
| | | | | | | | | - remove duplicate netmask/hostmask code - make two ifs more pythonic - remove packed property for networks - some minor pep8 stuff - Test coverage is now at 97%, the rest are mostly unreachable safeguards. | ||||
* | #14814: Remove dead code from ipaddress | Hynek Schlawack | 2012-06-04 | 1 | -0/+16 |
| | | | | | _BaseNetwork contained (faulty) methods for creating string representations. I've fixed them and put them to use by eliminating identical overrides. | ||||
* | #14814: Use correct comparison for IP addresses | Hynek Schlawack | 2012-06-04 | 1 | -0/+1 |
| | | | | | ipaddress._BaseV4.is_unspecified() compared IP addresses using "in" which fails. | ||||
* | #14814: Fix errror message creation in ipaddress.collapse_addresses | Hynek Schlawack | 2012-06-01 | 1 | -4/+11 |
| | |||||
* | Issue #14814: Clean out an obsolete property and method from ipaddress ↵ | Nick Coghlan | 2012-05-26 | 1 | -1/+1 |
| | | | | Network objects |