Message261037
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. |
|
Date |
User |
Action |
Args |
2016-03-01 03:22:09 | xiang.zhang | set | recipients:
+ xiang.zhang, ncoghlan, pmoody, out |
2016-03-01 03:22:09 | xiang.zhang | set | messageid: <1456802529.91.0.257131846238.issue26457@psf.upfronthosting.co.za> |
2016-03-01 03:22:09 | xiang.zhang | link | issue26457 messages |
2016-03-01 03:22:09 | xiang.zhang | create | |
|