This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients ncoghlan, pitrou, pmoody, serhiy.storchaka
Date 2012-11-23.09:50:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1353664246.99.0.358963315735.issue16531@psf.upfronthosting.co.za>
In-reply-to
Content
How about ipaddress.IPv4Network((3232235520, 16)), ipaddress.IPv4Network((3232235520, 65535)) and ipaddress.IPv4Network((3232235520, 4294901760))?

>>> ipaddress.IPv4Address(3232235520)
IPv4Address('192.168.0.0')
>>> ipaddress.IPv4Address(65535)
IPv4Address('0.0.255.255')
>>> ipaddress.IPv4Address(4294901760)
IPv4Address('255.255.0.0')
>>> ipaddress.IPv4Network('192.168.0.0/0.0.255.255')
IPv4Network('192.168.0.0/16')
>>> ipaddress.IPv4Network('192.168.0.0/255.255.0.0')
IPv4Network('192.168.0.0/16')
History
Date User Action Args
2012-11-23 09:50:47serhiy.storchakasetrecipients: + serhiy.storchaka, ncoghlan, pitrou, pmoody
2012-11-23 09:50:46serhiy.storchakasetmessageid: <1353664246.99.0.358963315735.issue16531@psf.upfronthosting.co.za>
2012-11-23 09:50:46serhiy.storchakalinkissue16531 messages
2012-11-23 09:50:46serhiy.storchakacreate