Ilya Kulakov added the comment: You can initialize ip_interface via a tuple of 2 elements: IP address and a prefix (prefixlen or string representation of a netmask).
I believe the issue can be closed now. ---------- nosy: +Ilya.Kulakov _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22962> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com