Message381918
When increasing IPv4Interface('10.0.0.0/29)' by 1, I would expect to get IPv4Interface('10.0.0.1/29') . Unfortunately, it seems to change the netmask on it as well. That seems really unintuitive to me.
For example:
>>> ip_interface('10.0.0.0/24')
IPv4Interface('10.0.0.0/24')
>>>
>>> ip_interface('10.0.0.0/24')+1
IPv4Interface('10.0.0.1/32') |
|
Date |
User |
Action |
Args |
2020-11-26 23:14:02 | wyko.ter.haar | set | recipients:
+ wyko.ter.haar |
2020-11-26 23:14:02 | wyko.ter.haar | set | messageid: <1606432442.0.0.505453565085.issue42477@roundup.psfhosted.org> |
2020-11-26 23:14:01 | wyko.ter.haar | link | issue42477 messages |
2020-11-26 23:14:01 | wyko.ter.haar | create | |
|