"braver" <deliverable at gmail.com> writes: > I need a magical expanding hash with the following properties: ... > I have such a class in ruby. Can python do that? Python's built-in dict objects don't do that but you could write such a class pretty straightforwardly.