gintas/django-picklefield — pull request #5 by charettes (2012-04-06 18:54:06+00:00)
Title: Make sure ObjectWrapper is considered internal and is optimized it with slots

A small patch that mark `ObjectWrapper` as *private* to the `fields` module and use `__slots__` to avoid a full dict creation. Plus the usage of *slots* make sure we get an `AttributeError` if the `_ObjectWrapper` leaks out of the internals somehow.