[issue22876] ip_interface can't be broadcast or number net

Вячеслав report at bugs.python.org
Sat Nov 15 00:04:39 CET 2014


New submission from Вячеслав:

ip_interface can't be network or broadcast address. Probably should throw an exception in such cases

>>> ip_interface(u'192.168.1.0/25')
IPv4Interface(u'192.168.1.0/25')

>>> ip_interface(u'192.168.1.127/25')
IPv4Interface(u'192.168.1.127/25')

----------
components: Library (Lib)
messages: 231194
nosy: m01, ncoghlan, pmoody, python-dev, Вячеслав
priority: normal
severity: normal
status: open
title: ip_interface can't be broadcast or number net
type: behavior
versions: Python 2.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22876>
_______________________________________


More information about the Python-bugs-list mailing list