Xiang Zhang added the comment:

I am not sure. Actually there is a special case for mask 31, you can see 
#27863. Its result includes both the network and broadcast address. Add Nick to 
see his opinion.

FYI, ipaddress (ipaddr in Py2) always return empty for 32. But there is other 
library returning network address for 32, for example netaddr.

----------
nosy: +ncoghlan
status: closed -> open
type:  -> behavior
versions: +Python 3.7 -Python 3.4, Python 3.5

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue28577>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to