Understanding Attributes, Dicts and Slots in Python – Bas codes Python classes can have arbitrary attributes. How are they stored and how do they impact performance?