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 :) ).

> -----Original Message-----
> From: Jeff Hardy [mailto:jdha...@gmail.com]
> Sent: Thursday, September 27, 2012 8:28 AM
> To: Pawel Jasinski; Dino Viehland
> Cc: ironpython-users@python.org
> Subject: Re: [Ironpython-users] utf in source \u00F8
> 
> Very weird. I have no idea when those would have been introduced, or why.
> I expected 00F8 to be a non-breaking space or similar, but no, it's an ΓΈ. As 
> far
> as I know, no one from Sweden has ever worked on IronPython. :)
> 
> That isn't the only file containing it, either. I wonder if, for some reason,
> those aren't shown in visual studio?
> 
> I can't see any issue with removing them, but I would like to know how they
> got there.
> 
> - Jeff
> 
> On Thu, Sep 27, 2012 at 2:09 AM, Pawel Jasinski <pawel.jasin...@gmail.com>
> wrote:
> > Short update
> > I have looked at 2.6 in codeplex and the \u00f8 is there, so I think
> > it is not my editor or my git settings.
> >
> http://ironpython.codeplex.com/SourceControl/changeset/view/87420#992
> 0
> > 96 _______________________________________________
> > Ironpython-users mailing list
> > Ironpython-users@python.org
> > http://mail.python.org/mailman/listinfo/ironpython-users
> 
> 



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

Reply via email to