[Zope] Is there a list-of-dictionaries-like property?

Juergen R. Plasser / HEXAGON plasser@hexagon.at
Mon, 11 Feb 2002 17:04:00 +0100


I hope you don't mind my stupid question, but I want to hear the expert's 
opinions.

Is there a simple way to implement a Python-like list of dictionaries as 
property within a ZClass? I need to store a data structure like this (a 
list of dictionaries):

[{'uid':1,'status':0},{'uid':2,'status':1},{'uid':3,'status':0},{'uid':4,'s
tatus':3}]

The obvoius thing to do would be creating a new class or am I missing 
something?

Thanks for some hints,
Juergen