If I unpack the dill 0.2.2 tarball, cd to the unpacked directory, import it directly into a python 2.7.6 session started via /usr/bin/python on Ubuntu 14.04, and try importing atexit and serializing ...
However, this interacts badly with some Python C extensions that have their own stdlib atexit hooks, particularly because in normal CPython operation the python atexit is called first, then stdlib ...