uqfoundation/dill — pull request #47 by matsjoyce (2014-06-04 16:21:14+00:00)
Title: Allow module level type's __dicts__ to be saved

A possible fix for #42. It suffers from similar issues to #41, as it pickles everything, but that could be fixed by a "clean" version of the type to compare against.
```pycon
Python 3.4.1 (default, May 19 2014, 17:23:49)
[GCC 4.9.0 20140507 (prerelease)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import dill, abc, re, os, sys, imp
>>> a=abc.ABCMeta
>>> a.zzz=1
>>> dill.dump_session()
>>>
========================Restart========================
Python 3.4.1 (default, May 19 2014, 17:23:49)
[GCC 4.9.0 20140507 (prerelease)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import dill
>>> dill.load_session()
>>> a.zzz
1
>>>

Python 2.7.6 (default, Feb 26 2014, 12:07:17)
[GCC 4.8.2 20140206 (prerelease)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import dill, abc, re, os, sys, imp
>>> a=abc.ABCMeta
>>> a.zzz=1
>>> dill.dump_session()
>>>
========================Restart========================
>>> import dill
>>> dill.load_session()
>>> a.zzz
1
>>>
```