The characters are there to ensure that we don't have a clash between these 
argument names and a users named argument names.  For example if it was just 
"args" and you attempted to pass a keyword argument named "args" we would think 
we got two values for args.

The characters are specified using the \u.... syntax so that the files don't 
have to be stored as Unicode files with a specified BOM.  This compiles just 
fine w/ csc (there was a report that Mono was having problems with it - not 
sure if that's still the case).  We recently ran into an internal tool that 
didn't like it and we've switched to using a Latin-1 character I believe 
instead although I'm not sure if that'd help you.

You can always remove the characters from the file if you're having issues with 
some other tool and change the argument name to something really long and 
strange.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mathew Yeates
Sent: Thursday, November 09, 2006 2:58 PM
To: [email protected]
Subject: [IronPython] garbage in the source file

Hi
I just tried compiling the source code but it has random characters in
it. See IronPython/Runtime/PythonModule.cs line 57
 public static PythonModule MakeModule(ICallerContext context,
DynamicType cls, params object[] args\u03c4)

Mathew

_______________________________________________
users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
_______________________________________________
users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to