diff options
author | s-sanjay <sanjay537@gmail.com> | 2017-04-01 06:09:53 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2017-04-01 06:09:53 (GMT) |
commit | 7bd8d3e794782582a4ad1c9749424fff86802c3e (patch) | |
tree | 8d61336154beda73513828f3451ad62e894ac7fc /Misc/NEWS | |
parent | 1f5425ff69ea0531d869b4f9fa28bd3f66ca3de7 (diff) | |
download | cpython-7bd8d3e794782582a4ad1c9749424fff86802c3e.zip cpython-7bd8d3e794782582a4ad1c9749424fff86802c3e.tar.gz cpython-7bd8d3e794782582a4ad1c9749424fff86802c3e.tar.bz2 |
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
Diffstat (limited to 'Misc/NEWS')
-rw-r--r-- | Misc/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -301,6 +301,9 @@ Extension Modules Library ------- +- bpo-29931: Fixed comparison check for ipaddress.ip_interface objects. + Patch by Sanjay Sundaresan. + - bpo-29953: Fixed memory leaks in the replace() method of datetime and time objects when pass out of bound fold argument. |