]> granicus.if.org Git - python/commit
Issue 14814: Eliminate bytes warnings from ipaddress by correctly throwing an excepti...
authorNick Coghlan <ncoghlan@gmail.com>
Fri, 6 Jul 2012 15:43:31 +0000 (01:43 +1000)
committerNick Coghlan <ncoghlan@gmail.com>
Fri, 6 Jul 2012 15:43:31 +0000 (01:43 +1000)
commit5cf896fea8005478bcc2bcd6e10e4572ae5fe2be
tree12c10c0e0469c5d57f967e9993cb6992ae2f31d7
parent3c2570caf219fab4fea9d17a5e6bc5cba741b547
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.
Lib/ipaddress.py
Lib/test/test_ipaddress.py