[Zope-CMF] Content types based on Python objects

2007-11-28 Thread Charlie Clark
Hi, I'm working on a new content type for working with tables. The object is based on the Python dictionary class with __getitem__, __setitem__ and __delitem__ overwritten to allow access to individual cells allowing for very compact and convenient access to individual cells. Great, I

Re: [Zope-CMF] Content types based on Python objects

2007-11-28 Thread Charlie Clark
Am 28.11.2007 um 14:03 schrieb Charlie Clark: class Grid(dict, PortalContent) ... TypeError: Error when calling the metaclass bases multiple bases have instance lay-out conflict Looks like using the old favourite UserDict solve the incompatability problem. class Grid(UserDict,