Richard Jones wrote:

On Monday 19 January 2004 22:54, Jean-Claude Wippler wrote:


Richard Jones wrote:


I'm considering removing support for metakit from Roundup


Ouch, that would be most unfortunate. As I understand, MK is one of
the faster bindings for Roundup.



It's actually the fastest. Unfortunately, it's also the least-supported. I honestly have little idea how it works. Also, metakit's lack of explicit null has caused some difficultly, but I've managed some work-arounds for that - which in some cases means just skipping some unit tests :(




I'll be happy to take a look at the python code. I checked the most recent out of CVS played with it for a little while and have my first fix :)

in back_metakit.py
class _Database the __getattr__ statement should be

   def __getattr__(self, classname):
       if classname == 'transactions':
           return self.dirty

       # fall back on the classes
       try:
           return self.getclass(classname)
       except KeyError, msg:
           raise AttributeError(str(msg))

Otherwise admin.py will throw exceptions in Python 2.2, 2.3 when executing statements like "if self.db"

Do you have any crashing scenerios that you could forward?

Brian

_____________________________________________
Metakit mailing list  -  [EMAIL PROTECTED]
http://www.equi4.com/mailman/listinfo/metakit

Reply via email to