Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython3
/
c5b75db5def1890924d914bc36b54e6a120bf2d7
/
Lib
/
test
/
test_ipaddress.py
a8517ad
Issue #14814: document the Interface APIs and fix various problems with the string representations (initial patch by Eli Bendersky).
by Nick Coghlan
· 12 years ago
e3ded95
Issue #14814: Remove redundant property from interface objects - prefixlen can be accessed via the associated network object
by Nick Coghlan
· 12 years ago
730f67f
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
by Nick Coghlan
· 12 years ago
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
36f8dcd
Issue 14814: Provide more informative error messages in ipaddress, and ensure that errors are caught as expected
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
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
35db513
#14814: Fix errror message creation in ipaddress.collapse_addresses
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
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