kName = 'Succeed'
>>> obj.WeakName
'Succeed'
Is this expected behavior?
___
Matthew Barnard
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
il.Emit(OpCodes.Ldarg_0);
>
> il.EmitCall(OpCodes.Call, writeString, null);
>
> il.Emit(OpCodes.Ret);
>
>
>
> MyDelegate dlg = (MyDelegate)
> test.CreateDelegate(typeof(MyDelegate), "Hello World!");
>
> dlg.BeginInvoke(new
ne of the list members - Ben Hall - pointed me at one of his blog posts
> > [1].
> >
> >
> >
> >
> >
> >
> http://blog.benhall.me.uk/2008/05/ironpython-classes-within-separate.html
> >
> > ___
> > Users mailing list
> > Users@lists.ironpython.com
> > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
> >
> ___
> Users mailing list
> Users@lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>
--
___
Matthew Barnard
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
looks up and calls a constructor for whatever it found there.
This was the last thing I saw it doing before raising an Access Violation,
though I was looking at the TV whilst stepping so I'm sure I missed
something critical.
And now I can sleep.
On Tue, May 13, 2008 at 8:41 PM, Matthew Ba
ng! Stranger yet
> you can call mi() directly showing the delegate is clearly created correctly
> and working. Anyway, I'll have to look at it closer – it might require
> windbg to figure out what's going wrong here.
>
>
>
> *From:* [EMAIL PROTECTED] [mailt
t 'Finished.'
bar = foo()
mi = MethodInvoker(bar.start)
mi.BeginInvoke(AsyncCallback(bar.finish), None)
___
Matthew Barnard
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
_
> Users mailing list
> Users@lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>
>
--
___
Matthew Barnard
602 540 0652
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
or
> Python classes because IronPython maintains a cache of generated types and
> will reuse a type it has previously generated for any new class you define
> that's compatible with a previously-defined class.
>
>
> On Fri, May 2, 2008 at 9:58 PM, Matthew Barnard &l
object:
>
> class foo(object):
> pass
> theType = clr.GetClrType(foo)
>
> What use do you have for creating a generic with the resulting
> (dynamically-generated) type?
>
> On Fri, May 2, 2008 at 6:30 PM, Matthew Barnard <
> [EMAIL PROTECTED]> wrote:
&
Is the following the only way to create a generic containing a python class?
from System.Collections.Generic import List
from System import Type
class Foo:
>>class stuff<<
l = List[Type.GetType(Foo())]()
I assume this is the nature of dynamic typing, but is there a way to get the
type fro
\Framework\v2.0.50727\System.Xml.dll
And both reference Microsoft.Scripting, which references
Microsoft.Scripting.Core:
C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.dll
C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Configuration.dll
etc.
___
Matthew Barnard
(pri
11 matches
Mail list logo