Missing support for pickling
Created originally on Bitbucket by Anonymous
Failed example: pickle.dump(v, stream) Exception raised: Traceback (most recent call last): File "/usr/lib/python2.7/doctest.py", line 1315, in __run compileflags, 1) in test.globs File "<doctest README.txt[58]>", line 1, in pickle.dump(v, stream) File "/usr/lib/python2.7/pickle.py", line 1370, in dump Pickler(file, protocol).dump(obj) File "/usr/lib/python2.7/pickle.py", line 224, in dump self.save(obj) File "/usr/lib/python2.7/pickle.py", line 331, in save self.save_reduce(obj=obj, *rv) File "/usr/lib/python2.7/pickle.py", line 400, in save_reduce save(func) File "/usr/lib/python2.7/pickle.py", line 286, in save f(self, obj) # Call unbound method with explicit self File "/usr/lib/python2.7/pickle.py", line 753, in save_global (obj, module, name)) PicklingError: Can't pickle <type 'datetime.datetime'>: it's not the same object as datetime.datetime
A pull request will follow...