36 Commits (20f8728bf0cce877c1908b15ddc59e2d1011ad0f)

Author SHA1 Message Date
Nick Coghlan 932346f572 Issue #18805: better netmask validation in ipaddress 12 years ago
Ezio Melotti 30b9d5d3af #18705: fix a number of typos. Patch by Févry Thibault. 13 years ago
Ezio Melotti 3f5db3940f Fix a few typos and a double semicolon. Patch by Eitan Adler. 14 years ago
Eli Bendersky 948af23a77 Issue #15888: fixing problems in ipaddress doctests. Patch by Chris Jerdonek 14 years ago
Nick Coghlan db7920b978 Close #14814: Avoid depending on struct by using newer features. Also use 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. 14 years ago
Nick Coghlan a8517ad3d9 Issue #14814: document the Interface APIs and fix various problems with the string representations (initial patch by Eli Bendersky). 14 years ago
Nick Coghlan e3ded955f3 Issue #14814: Remove redundant property from interface objects - prefixlen can be accessed via the associated network object 14 years ago
Nick Coghlan 730f67f2fa Issue 14814: Docs work showed some more cases of networks pretending to be 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 14 years ago
Nick Coghlan e0c3f5edc0 Close #15559: Implementing __index__ creates a nasty interaction with the 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. 14 years ago
Nick Coghlan 07c4e33c07 Issue 14814: The new systematic tests aren't just about error reporting any more - change names accordingly. Added and tweaked some example to ensure they were covering the intended code paths 14 years ago
Nick Coghlan 27396a1807 Issue 14814: Remove dead function (noticed by Serhiy Storchaka) 14 years ago
Nick Coghlan 297b143c6d Issue 14814: Further error case testing coverage and cleanups 14 years ago
Nick Coghlan 3008ec070f Issue 14814: Ensure ordering semantics across all 3 entity types in ipaddress are consistent and well-defined 14 years ago
Nick Coghlan 9a9c28ce7a Issue 14814: Correctly return NotImplemented from ipaddress._BaseNetwork.__eq__ 14 years ago
Nick Coghlan b582ecc562 Issue 14814: Explain how to get more error detail in the ipaddress tutorial, and tweak the display for octet errors in IPv4 (noticed the formatting problem when adding to the docs) 14 years ago
Nick Coghlan 7319f69f49 Issue 14814: Make the ipaddress code easier to follow by using newer language features (patch by Serhiy Storchaka) 14 years ago
Nick Coghlan 36f8dcde06 Issue 14814: Provide more informative error messages in ipaddress, and ensure that errors are caught as expected 14 years ago
Nick Coghlan 912238e3ac Issue 14814: %s implies coercion with str() - remove a lot of redundant str() calls from the ipaddress implementation 14 years ago
Nick Coghlan 5cf896fea8 Issue 14814: Eliminate bytes warnings from ipaddress by correctly throwing an exception early when given bytes data of the wrong length. Also removes 2.x backwards compatibility code from associated tests. 14 years ago
Nick Coghlan 3c2570caf2 Issue 14814: Better handling of cases where octet/hextet parsing fails, including ensuring that tracebacks are still clean even when calling class constructors directly 14 years ago
Nick Coghlan d972265df8 Improve an internal ipaddress test, add a comment explaining why treating networks as containers of interfaces rather than addresses would prove confusing 14 years ago
Hynek Schlawack ed36b2e55b #14814: Remove redundant code from ipaddress.IPv6Network 14 years ago
Hynek Schlawack 91c5a34613 #14814: ipaddress: refactor dup code, minor janitoring, bump coverage 14 years ago
Hynek Schlawack 454a74df23 #14814: Remove dead code from ipaddress 14 years ago
Hynek Schlawack bcd304480f #14814: Use correct comparison for IP addresses 14 years ago
Sandro Tosi b4386d36f1 Issue #14814: minor spelling fixes 14 years ago
Hynek Schlawack 35db513187 #14814: Fix errror message creation in ipaddress.collapse_addresses 14 years ago
Hynek Schlawack c4b78a3e15 #14814: Remove 2.x's new-style classes syntax from ipaddress 14 years ago
Hynek Schlawack 7e0229e90d #14814: Remove stale __hex__ method from ipaddress 14 years ago
Nick Coghlan 2c58910d3d Issue #14814: Clean out an obsolete property and method from ipaddress Network objects 14 years ago
Nick Coghlan aff73f91cc Issue #14814: Cleanup ipaddress header comments 14 years ago
Nick Coghlan 51c3067551 Issue #14814: In the spirit of TOOWTDI, ditch the redundant version parameter to the factory functions by using the appropriate direct class references instead 14 years ago
Hynek Schlawack 072b1e1485 #14814: Some PEP8 adjustments and dead code weeding 14 years ago
Sandro Tosi b95c63413d Issue #14814: minor improvements as suggested by Hynek Schlawack 14 years ago
Sandro Tosi 876ecad9f5 Issue #14814: improve docstrings and arguments value handling, as per Terry J. Reedy's comments 14 years ago
Nick Coghlan dc9b2555a8 Issue #14814: addition of the ipaddress module (stage 1 - code and tests) 14 years ago