Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix a few typos and a double semicolon. Patch by Eitan Adler. | Ezio Melotti | 2013-01-27 | 1 | -1/+1 |
| | |||||
* | Issue #15888: fixing problems in ipaddress doctests. Patch by Chris Jerdonek | Eli Bendersky | 2012-10-07 | 1 | -3/+4 |
| | |||||
* | Close #14814: Avoid depending on struct by using newer features. Also use ↵ | Nick Coghlan | 2012-08-20 | 1 | -8/+6 |
| | | | | enumerate where appropriate (patch by Serhiy Storchaka). Declaring PEP 3144 final at this point - any further changes to code or docs can go in new issues. | ||||
* | Issue #14814: document the Interface APIs and fix various problems with the ↵ | Nick Coghlan | 2012-08-20 | 1 | -3/+6 |
| | | | | string representations (initial patch by Eli Bendersky). | ||||
* | Issue #14814: Remove redundant property from interface objects - prefixlen ↵ | Nick Coghlan | 2012-08-05 | 1 | -9/+1 |
| | | | | 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 | -180/+224 |
| | | | | 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 | -6/+0 |
| | | | | 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 | -10/+13 |
| | | | | 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 | -18/+0 |
| | |||||
* | Issue 14814: Further error case testing coverage and cleanups | Nick Coghlan | 2012-07-08 | 1 | -25/+26 |
| | |||||
* | Issue 14814: Ensure ordering semantics across all 3 entity types in ↵ | Nick Coghlan | 2012-07-07 | 1 | -67/+69 |
| | | | | ipaddress are consistent and well-defined | ||||
* | Issue 14814: Correctly return NotImplemented from ipaddress._BaseNetwork.__eq__ | Nick Coghlan | 2012-07-07 | 1 | -6/+6 |
| | |||||
* | Issue 14814: Explain how to get more error detail in the ipaddress tutorial, ↵ | Nick Coghlan | 2012-07-07 | 1 | -2/+3 |
| | | | | and tweak the display for octet errors in IPv4 (noticed the formatting problem when adding to the docs) | ||||
* | Issue 14814: Make the ipaddress code easier to follow by using newer ↵ | Nick Coghlan | 2012-07-07 | 1 | -91/+67 |
| | | | | language features (patch by Serhiy Storchaka) | ||||
* | Issue 14814: Provide more informative error messages in ipaddress, and ↵ | Nick Coghlan | 2012-07-07 | 1 | -50/+91 |
| | | | | ensure that errors are caught as expected | ||||
* | Issue 14814: %s implies coercion with str() - remove a lot of redundant ↵ | Nick Coghlan | 2012-07-07 | 1 | -34/+33 |
| | | | | str() calls from the ipaddress implementation | ||||
* | Issue 14814: Eliminate bytes warnings from ipaddress by correctly throwing ↵ | Nick Coghlan | 2012-07-06 | 1 | -4/+12 |
| | | | | 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 | -3/+7 |
| | | | | 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 | -11/+10 |
| | | | | networks as containers of interfaces rather than addresses would prove confusing | ||||
* | #14814: Remove redundant code from ipaddress.IPv6Network | Hynek Schlawack | 2012-06-08 | 1 | -13/+1 |
| | | | | | | The strict checks and netmask computing don't make sense if constructed with a ALL_ONES mask based on addresses. Also fix a bug due to mis-indentation of a return statement in the same code block. | ||||
* | #14814: ipaddress: refactor dup code, minor janitoring, bump coverage | Hynek Schlawack | 2012-06-05 | 1 | -112/+59 |
| | | | | | | | | - 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 | -38/+7 |
| | | | | | _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 | -1/+1 |
| | | | | | ipaddress._BaseV4.is_unspecified() compared IP addresses using "in" which fails. | ||||
* | Issue #14814: minor spelling fixes | Sandro Tosi | 2012-06-02 | 1 | -4/+4 |
| | |||||
* | #14814: Fix errror message creation in ipaddress.collapse_addresses | Hynek Schlawack | 2012-06-01 | 1 | -1/+1 |
| | |||||
* | #14814: Remove 2.x's new-style classes syntax from ipaddress | Hynek Schlawack | 2012-06-01 | 1 | -3/+3 |
| | |||||
* | #14814: Remove stale __hex__ method from ipaddress | Hynek Schlawack | 2012-05-31 | 1 | -3/+0 |
| | | | | Obsolete 2.x method. | ||||
* | Issue #14814: Clean out an obsolete property and method from ipaddress ↵ | Nick Coghlan | 2012-05-26 | 1 | -13/+1 |
| | | | | Network objects | ||||
* | Issue #14814: Cleanup ipaddress header comments | Nick Coghlan | 2012-05-26 | 1 | -12/+0 |
| | |||||
* | Issue #14814: In the spirit of TOOWTDI, ditch the redundant version ↵ | Nick Coghlan | 2012-05-26 | 1 | -75/+47 |
| | | | | parameter to the factory functions by using the appropriate direct class references instead | ||||
* | #14814: Some PEP8 adjustments and dead code weeding | Hynek Schlawack | 2012-05-26 | 1 | -27/+17 |
| | |||||
* | Issue #14814: minor improvements as suggested by Hynek Schlawack | Sandro Tosi | 2012-05-23 | 1 | -6/+9 |
| | |||||
* | Issue #14814: improve docstrings and arguments value handling, as per Terry ↵ | Sandro Tosi | 2012-05-23 | 1 | -27/+38 |
| | | | | J. Reedy's comments | ||||
* | Issue #14814: addition of the ipaddress module (stage 1 - code and tests) | Nick Coghlan | 2012-05-20 | 1 | -0/+2193 |