id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 12826 Use __slots__ for some simple objects. Sebastian Noack nobody I have started to introduce __slots__ for some simple object. See attached patch. There are probably more places where __slots__ would make sense. But I have started with django.utils.datastructures.* and django.utils.tree.Node and subclasses of them. Slots make object creation faster and use less memory than object dicts. They are used to improve performance on a lot of python's builtin types and can be used in own code for simple objects. Cleanup/optimization closed Core (Other) Normal wontfix Accepted 1 0 0 1 0 0