Re: [Zope-dev] problems setting up methods for a product that registers no classes

2005-09-30 Thread Chris Withers
Dieter Maurer wrote: You could use part of the old style initialization, the methods declaration to be precise. You see an example in .../Products/ZSQLMethods/__init__.py. Be warned, however: the old style initialization puts the declared methods on the OFS.Folder class. Yeah, I thought

[Zope-dev] problems setting up methods for a product that registers no classes

2005-09-29 Thread Chris Withers
...zdb in this case. I need to make a global recompile function available, since zdb requires the co_filename attribute of the script's func_code object to be set to something meaningful, rather than the useless Script (Python) it usually gets set to. Once zdb is installed, any scripts

Re: [Zope-dev] problems setting up methods for a product that registers no classes

2005-09-29 Thread Dieter Maurer
Chris Withers wrote at 2005-9-29 09:17 +0100: ...zdb in this case. I need to make a global recompile function available, since zdb requires the co_filename attribute of the script's func_code object to be set to something meaningful, rather than the useless Script (Python) it usually gets set