fusionbox/dinero — pull request #9 by gavinwahl (2012-09-26 22:29:37+00:00)
Title: Dinero objects can not be pickled

When pickle tries to restore a dinero object, it tries to get its `__setstate__` method. This calls `__getattr__` on the dinero object, which tries to access `self.data`, which doesn't exist yet. This results in `__getattr__` calling itself over and over again.

Here's my solution. I don't like it.