marvin-zhao / ipaddr-py

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

IPAddress/IPNetwork objects not picklable #106

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. cPickle.dumps(IPNetwork("192.168.0.1"))

What is the expected output? What do you see instead?

IPNetwork isn't pickleable

What version of the product are you using? On what operating system?

2.1.10 on py2.7

Attached patch makes it pickleable

Original issue reported on code.google.com by klaussfr...@gmail.com on 31 Oct 2013 at 6:13

Attachments: