Re: [Metakit] Closing storages (again)

2004-01-02 Thread Jean-Claude Wippler
[EMAIL PROTECTED] wrote: So now my question is this: Are weak references to PyStorage objects unsupported simply because the necessary stuff to support them was just never added? (It doesn't *look* as though it would take much to support this.) Or is there some more fundamental reason weak

Re: [Metakit] Question

2004-01-02 Thread Jean-Claude Wippler
chris mollis wrote: I have a question about the best way to validate information on reads/writes to the db.  For example, I'd like to make sure that data that is written out during a particular commit (by calculating a hash of data written, perhaps) can be verified again when the database is

Re: [Metakit] Closing storages (again)

2004-01-02 Thread Brian Kelley
[EMAIL PROTECTED] wrote: You can solve this problem by creating a weakref proxy to this class which is a drop-in replacement to the storage class. import metakit class storage: def __init__(self, filename=None, mode=None): if filename and mode: self.__db =