h0arry / ipaddr-py

Automatically exported from code.google.com/p/ipaddr-py
0 stars 0 forks source link

Add support for changing the prefixlen on existing objects #112

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
We had a need to change the prefixlen on existing IPvXNetwork objects, this is 
added in https://codereview.appspot.com/211620043/

Take a look and let me know if there is anything else you need.

thanks,

David

Original issue reported on code.google.com by david.ro...@gmail.com on 12 Mar 2015 at 9:48

GoogleCodeExporter commented 9 years ago
I need to go back through my old mail (if I can find it) but I suspect that 
there's some pythonic reason why creating a new object with the desired 
prefixlen is preferable. Out of curiosity, why is that insufficient? 
memory/computation reasons?

Original comment by pmo...@google.com on 17 Mar 2015 at 6:07