[issue16531] Allow IPNetwork to take a tuple

Nick Coghlan report at bugs.python.org
Fri Nov 23 00:17:45 CET 2012


Nick Coghlan added the comment:

Sounds reasonable, especially as it also allows networks and interfaces
with prefixes other than "/32" or "/128" to be easily constructed based on
integer address values.

Should we also allow integers as the second argument, with the same prefix
length meaning as the corresponding string?

----------

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


More information about the Python-bugs-list mailing list