[IronPython] stack overflow issue

Benjamin West bewest at gmail.com
Tue Jun 19 14:30:05 PDT 2007


> >>>
> >> Hmm... well the super call isn't necessary with Form and __init__. Does
> >> that help?
> >
> > Why not?  This is just a test case.  In my application, __init__ does
> > other things that are required.  I also like the way ironpython treats
> > keyword arguments for controls.
> >
> The call from AppForm to DefaultForm is needed, but the Form __init__ is
> effectively a no-op (construction is done in __new__). So the call from
> DefualtForm to Form is unnecessary.
>
> In your case the args and keywargs are actually applied in __new__ -
> which you haven't overridden...
>
> OTOH - I can see that there may be cases where this is a genuine problem.
>
> Michael Foord
>

Michael, ah.  That's quite informative.  Thanks! FWIW, your web pages
have been quite helpful as well.

Thanks,
-Ben


More information about the users mailing list