On Thu, Sep 27, 2012 at 11:50 AM, Dino Viehland <di...@microsoft.com> wrote:
> This is a bit of a hack...  It's there so that "args" is not accepted as a 
> keyword argument.
>
> Because \u00F8 is not a valid identifier in Python there is no possibility 
> that the user can
> provide this as a keyword argument.  We ran into some bug I believe back in 
> the IronPython
> 1.1 time frame where someone was trying to provide args as a keyword arg and 
> this was a
> quick and easy fix.  A better fix would probably to add some 
> [NoKeywordArgBinding] attribute
> to the parameter and then update the overload resolver so that we don't allow 
> binding of
> keyword args for that parameter.   And I suspect that will become necessary 
> for Python 3.x
> support where I think you can have Unicode identifiers (even though this 
> exact identifier
> is unlikely to be used :) ).

OK, so they need to stay in for now.

It looks like we could get most of them by not binding if
[ParamDictionary] or [ParamArray] is present. There are a few other
cases where a special one would be needed.

Opened http://ironpython.codeplex.com/workitem/33180 to track. Not
planning on fixing it before 3.0, though.

Thanks, Dino.

- Jeff
_______________________________________________
Ironpython-users mailing list
Ironpython-users@python.org
http://mail.python.org/mailman/listinfo/ironpython-users

Reply via email to