[IronPython] Location of CallTargetN

Brian Quinlan brian at sweetapp.com
Mon Sep 4 11:31:41 CEST 2006


It seems like the location of the CallTarget1..n wrappers has changed i.e.

 >>> import IronPython.Runtime
 >>> IronPython.Runtime.CallTarget0
Traceback (most recent call last):
   File , line 0, in <stdin>##10
AttributeError: 'module' object has no attribute 'CallTarget0'

But the IronPython tutorial has not been updated i.e.

avalon.py:

37 def CallBack(f, p = DispatcherPriority.Normal):
38     Application.Current.Dispatcher.BeginInvoke(
            p, IronPython.Runtime.CallTarget0(f))
39

So does anyone know where these functions live now?

Cheers,
Brian



More information about the Ironpython-users mailing list