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 wyko.ter.haar
Recipients wyko.ter.haar
Date 2020-11-26.23:14:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1606432442.0.0.505453565085.issue42477@roundup.psfhosted.org>
In-reply-to
Content
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')
History
Date User Action Args
2020-11-26 23:14:02wyko.ter.haarsetrecipients: + wyko.ter.haar
2020-11-26 23:14:02wyko.ter.haarsetmessageid: <1606432442.0.0.505453565085.issue42477@roundup.psfhosted.org>
2020-11-26 23:14:01wyko.ter.haarlinkissue42477 messages
2020-11-26 23:14:01wyko.ter.haarcreate