Python: listing IP ranges
<p>I have problem with the netaddr package - version 0.7.5. This code works as expected and prints out the list of ip addresses in the range:</p>

<pre><code>from netaddr import IPNetwork

ipnetwork = '192.168.0.0/24'
print list(IPNetwork(ipnetwork).iter_hosts())
</code></pre>

<p>However, if I change the network to, say, '192.168.0.0/8' my script just hangs:</p>

<pre><code>from netaddr import IPNetwork

ipnetwork = '192.168.0.0/8'
print list(IPNetwork(ipnetwork).iter_hosts())
</code></pre>

<p>Am I missing something or is this a bug?</p>

<p><strong>EDIT</strong></p>

<p>Looks like I was missing something by not realising how big that range is!</p>
