zodb3

PersistentSet in ZODB 3

ZODB provides a PersistentList and a PersistentMapping, but I'd like a PersistentSet. I wrote a quick class that mirrors the ancient PersistentList from ZODB 2. Because there's no UserSet in Python, I had to extend from the C-based built-in set. class PersistentSet(UserSet, Persistent): def __iand__(self, other): set.__iand__(other...

How to retrieve objects using a class attribute in python with zodb

I have a class in which there's a attribute Name of the person.Based on this name I want to retireve that particular object by comparing parameters and return this object in a function....newbie here ...

Can someone explain what exactly this error means,TypeError: issubclass() arg 1 must be a class

I have zero idea as to why I'm getting this error. ...