On Fri, Dec 25, 2009 at 16:35, Frans Schneider <[email protected]> wrote: > No, asserting the fact and giving the CLIPS engine the run instructrion > will fire the rule which does the python-call to MyMethod. As you see > from the output, this works since the output shows 'MyMethod being > initialized'
Yeah, you're wrong here. The Callable.__init__ call happens at module load time, not at MyObject.MyMethod call time. Cheers, Dirkjan _______________________________________________ Python-nl mailing list [email protected] http://mail.python.org/mailman/listinfo/python-nl
