[issue29890] Constructor of ipaddress.IPv*Interface does not follow documentation
Ilya Kulakov
report at bugs.python.org
Thu Mar 23 17:59:48 EDT 2017
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(('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)
----------
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 <report at bugs.python.org>
<http://bugs.python.org/issue29890>
_______________________________________
More information about the Python-bugs-list
mailing list