May-17-2019, 03:49 AM
a network has a size. IMHO, a network object should have that same size, obtained via len(). but this seems to be missing in my Python version 3.5.2 (in Ubuntu 16.04.6). can someone who has Python version 3.7.X check it and see if it works? here is how to try it:
import ipaddress len(ipaddress.ip_network('1::/32'))==2**96it should be True. interface objects should work, too, giving the same size.
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.