On Fri, Dec 25, 2009 at 16:35, Frans Schneider
<f.schnei...@de-bleek.demon.nl> 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
Python-nl@python.org
http://mail.python.org/mailman/listinfo/python-nl

Antwoord per e-mail aan