This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author xiang.zhang
Recipients ncoghlan, out, pmoody, xiang.zhang
Date 2016-03-01.03:22:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1456802529.91.0.257131846238.issue26457@psf.upfronthosting.co.za>
In-reply-to
Content
In old ipaddr.py, IPv4Network('192.0.2.0/31').subnet() returns [IPv4Network('192.0.2.0/32'), IPv4Network('192.0.2.1/32')], but ipaddress returns only [IPv4Network('192.0.2.0/32')]. 

It seems simply change end to end+1 in https://hg.python.org/cpython/file/tip/Lib/ipaddress.py#l921 can solve the problem and pass the test. But maybe there are some side effects.
History
Date User Action Args
2016-03-01 03:22:09xiang.zhangsetrecipients: + xiang.zhang, ncoghlan, pmoody, out
2016-03-01 03:22:09xiang.zhangsetmessageid: <1456802529.91.0.257131846238.issue26457@psf.upfronthosting.co.za>
2016-03-01 03:22:09xiang.zhanglinkissue26457 messages
2016-03-01 03:22:09xiang.zhangcreate