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 Ilya.Kulakov
Recipients Ilya.Kulakov
Date 2017-03-23.21:59:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1490306388.92.0.69250411121.issue29890@psf.upfronthosting.co.za>
In-reply-to
Content
As per documentation, it should understand the same arguments as IPv*Network.

Unfortunately it does not recognize netmask in string form. Hence the following code will fail:

    ipaddress.ip_interface(('192.168.1.10', '255.255.255.0'))

while the following will work:

    ipaddress.ip_network(('192.168.1.10', '255.255.255.0'), strict=False)
History
Date User Action Args
2017-03-23 21:59:48Ilya.Kulakovsetrecipients: + Ilya.Kulakov
2017-03-23 21:59:48Ilya.Kulakovsetmessageid: <1490306388.92.0.69250411121.issue29890@psf.upfronthosting.co.za>
2017-03-23 21:59:48Ilya.Kulakovlinkissue29890 messages
2017-03-23 21:59:48Ilya.Kulakovcreate