Branch: refs/heads/master Home: https://github.com/python/cpython Commit: 7bd8d3e794782582a4ad1c9749424fff86802c3e https://github.com/python/cpython/commit/7bd8d3e794782582a4ad1c9749424fff86802c3e Author: s-sanjay <sanjay537 at gmail.com> Date: 2017年04月01日 (2017年4月01日) Changed paths: M Lib/ipaddress.py M Lib/test/test_ipaddress.py M Misc/NEWS Log Message: ----------- bpo-29931 fix __lt__ check in ipaddress.ip_interface for both v4 and v6. (#879) 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