Under C#, you can overload OnPaint on a class
derived from Form and then it will automatically be called upon the paint
event. I find that under IronPython that I am forced to explicitly add the
OnPaint method to the paint message handler list. Is this by design?
import sys
sys.LoadAss
I have tried everything that I can think of to access the
Microsoft.Win32 assembly, but I can’t seem to get it. What is the canonical
way of accomplishing this?
Kirk
___
users-ironpython.com mailing list
users-ironpython.com@lists.ironpy
I can’t seem to change the members of an array. Is
this a known problem?
import sys
sys.LoadAssemblyByName("System")
sys.LoadAssemblyByName("System.Drawing")
from System import*
from System.Drawing import *
apt = Array.CreateInstance(Point, 1)
apt[0] = Point(1,2)
print a
It seems that IronPython is comfortable with double
data types but not single’s. To get around this I am forced to to a
Convert.ToDouble(singleThingy) every time that I find one. Is there a plan to
fix this?
import sys
sys.LoadAssemblyByName("System")
sys.LoadAssemblyByName("
I encounter an error when building 0.7.5 (earlier
version build fine)
'IronPython.Objects.Dict.IEnumerable.GetEnumerator()':
containing type does not implement interface 'System.Collections.IEnumerable’’;
File:Dict.cs; Line: 189
'IronPython.Objects.CustomDict.IEnumerable.GetEnumerator(
# This works on CPython but not on IronPython 9.2
def f (i):
def g ():
return i+1
return g()
print f(3)
___
users-ironpython.com mailing list
users-ironpython.com@lists.ironpython.com
http://lists.ironpython.com/listi