Re: [IronPython] CLR class constructors and arrays

2007-07-31 Thread Eric Rochester
bothersome we could add it to the 1.1.1 bug list, but in > the meantime I'd suggest the workaround Michael mentioned (wrapping the args > up in the tuple) > > Cheers, > John > > -Original Message- > From: [EMAIL PROTECTED] [mailto: > [EMAIL PROTECTED] On Beh

Re: [IronPython] CLR class constructors and arrays

2007-07-30 Thread Eric Rochester
h: > pc = ParamCall(('a', 'b', 'c')) > > passing a tuple instead of an array. > > Still looks like a bug. > > Michael > http://www.ironpython.info/ > > Eric Rochester wrote: > > Hi, > > > > I've been using IronPyt

[IronPython] CLR class constructors and arrays

2007-07-30 Thread Eric Rochester
ze > File , line 0, in NonDefaultNew##54 > TypeError: ParamCall() takes exactly 1 argument (3 given) > I have also tried wrapping the arguments in a tuple and calling it like ParamCall( *(args,) ), but the results are the same. If anyone has any suggestions for work-arounds or clues as to what I'm doing wrong, I'd be glad to hear them. Thanks, -- Eric Rochester ___ Users mailing list Users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com