New submission from Ilya Kulakov:

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(('', ''))

while the following will work:

    ipaddress.ip_network(('', ''), strict=False)

messages: 290062
nosy: Ilya.Kulakov
priority: normal
severity: normal
status: open
title: Constructor of ipaddress.IPv*Interface does not follow documentation
type: behavior
versions: Python 3.5, Python 3.6

Python tracker <>
Python-bugs-list mailing list

Reply via email to