[issue42477] ip_interface addition and subtraction changes netmask

2020-11-28 Thread E. Paine
Change by E. Paine : -- components: +Library (Lib) nosy: +pmoody versions: +Python 3.10 -Python 3.9 ___ Python tracker ___ ___ Pytho

[issue42477] ip_interface addition and subtraction changes netmask

2020-11-26 Thread Wyko ter Haar
New submission from Wyko ter Haar : 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') IPv4Inter