Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython3
/
e0c3f5edc0f20cc28363258df501758c1bdb1ca7
/
Lib
/
ipaddress.py
e0c3f5e
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.
by Nick Coghlan
· 12 years ago
07c4e33
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
by Nick Coghlan
· 12 years ago
27396a1
Issue 14814: Remove dead function (noticed by Serhiy Storchaka)
by Nick Coghlan
· 12 years ago
297b143
Issue 14814: Further error case testing coverage and cleanups
by Nick Coghlan
· 12 years ago
3008ec0
Issue 14814: Ensure ordering semantics across all 3 entity types in ipaddress are consistent and well-defined
by Nick Coghlan
· 12 years ago
9a9c28c
Issue 14814: Correctly return NotImplemented from ipaddress._BaseNetwork.__eq__
by Nick Coghlan
· 12 years ago
b582ecc
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)
by Nick Coghlan
· 12 years ago
7319f69
Issue 14814: Make the ipaddress code easier to follow by using newer language features (patch by Serhiy Storchaka)
by Nick Coghlan
· 12 years ago
36f8dcd
Issue 14814: Provide more informative error messages in ipaddress, and ensure that errors are caught as expected
by Nick Coghlan
· 12 years ago
912238e
Issue 14814: %s implies coercion with str() - remove a lot of redundant str() calls from the ipaddress implementation
by Nick Coghlan
· 12 years ago
5cf896f
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.
by Nick Coghlan
· 12 years ago
3c2570c
Issue 14814: Better handling of cases where octet/hextet parsing fails, including ensuring that tracebacks are still clean even when calling class constructors directly
by Nick Coghlan
· 12 years ago
d972265
Improve an internal ipaddress test, add a comment explaining why treating networks as containers of interfaces rather than addresses would prove confusing
by Nick Coghlan
· 12 years ago
ed36b2e
#14814: Remove redundant code from ipaddress.IPv6Network
by Hynek Schlawack
· 12 years ago
91c5a34
#14814: ipaddress: refactor dup code, minor janitoring, bump coverage
by Hynek Schlawack
· 12 years ago
454a74d
#14814: Remove dead code from ipaddress
by Hynek Schlawack
· 12 years ago
bcd3044
#14814: Use correct comparison for IP addresses
by Hynek Schlawack
· 12 years ago
b4386d3
Issue #14814: minor spelling fixes
by Sandro Tosi
· 12 years ago
35db513
#14814: Fix errror message creation in ipaddress.collapse_addresses
by Hynek Schlawack
· 12 years ago
c4b78a3
#14814: Remove 2.x's new-style classes syntax from ipaddress
by Hynek Schlawack
· 12 years ago
7e0229e
#14814: Remove stale __hex__ method from ipaddress
by Hynek Schlawack
· 12 years ago
2c58910
Issue #14814: Clean out an obsolete property and method from ipaddress Network objects
by Nick Coghlan
· 12 years ago
aff73f9
Issue #14814: Cleanup ipaddress header comments
by Nick Coghlan
· 12 years ago
51c3067
Issue #14814: In the spirit of TOOWTDI, ditch the redundant version parameter to the factory functions by using the appropriate direct class references instead
by Nick Coghlan
· 12 years ago
072b1e1
#14814: Some PEP8 adjustments and dead code weeding
by Hynek Schlawack
· 12 years ago
b95c634
Issue #14814: minor improvements as suggested by Hynek Schlawack
by Sandro Tosi
· 12 years ago
876ecad
Issue #14814: improve docstrings and arguments value handling, as per Terry J. Reedy's comments
by Sandro Tosi
· 12 years ago
dc9b255
Issue #14814: addition of the ipaddress module (stage 1 - code and tests)
by Nick Coghlan
· 12 years ago