From fuzzyman at voidspace.org.uk Thu Apr 1 01:34:10 2010 From: fuzzyman at voidspace.org.uk (Michael Foord) Date: Thu, 01 Apr 2010 00:34:10 +0100 Subject: [IronPython] Gestalt, IronPython in Silverlight and embedded xaml In-Reply-To: <1B42307CD4AADD438CDDA2FE1121CC92173128F2@TK5EX14MBXC136.redmond.corp.microsoft.com> References: <4BB2915D.6050309@voidspace.org.uk> <1B42307CD4AADD438CDDA2FE1121CC92173128F2@TK5EX14MBXC136.redmond.corp.microsoft.com> Message-ID: <4BB3DBF2.2060502@voidspace.org.uk> On 31/03/2010 03:06, Jimmy Schementi wrote: >> I still need to package my app into a zip file and serve it locally (doesn't work from the filesystem) >> > Michael, what do you exactly mean by this? You need your app to run out of browser? > > I mean that if I develop in an html file I can't view it from the filesystem in a browser but must still have a locally running server for the scripts to run. >> It doesn't seem to me that embedded xaml is working >> > First of all, docs/spec issue: the current online bits only support application/xml+xaml, and the docs have application/xaml+xml. oferchrisakes. Yes, switching solved the problem. This leads into an interesting point - the docs show the following as the public url to use for dlr.js: http://gestalt.ironpython.net/dlr-latest.js This means any backwards incompatible changes are *guaranteed* to break apps using it. :-) What are needed are versioned URLs so that you can specify precisely which version to use. Are these available, I couldn't find them in the docs but I may just not be looking in the right place. > The release that will be online in a few days supports both. After correcting that you will get a SL control created on the page; here's the exact HTML (with a Text attribute added to the TextBlock to make it obvious that it worked): > > > > > > > > > > > Then, if you add the following Python script-tag after the XAML script tag, it will update the text: > > > > Note the *class="inlineXAML"* attribute; if you did not include this, the code would run against a different Silverlight control than the one created by your *id="inlineXAML"* tag. In fact, it would run against a SL control that is essentially hidden, so app.RootVisual would be None. In short, giving a XAML script-tag an ID lets you pick the Python script-tags that will run against it by setting their class attribute to the same value. > > I'll update the docs accordingly... > > Thanks for your help. I wasn't using the class attribute which would have caused me problems even if I had been using the right xml type declaration. I did think that the docs said all un-scoped scripts were run against the default control, but using an explicit scope is no problem. Michael > ~Jimmy > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > -- http://www.ironpythoninaction.com/ http://www.voidspace.org.uk/blog READ CAREFULLY. By accepting and reading this email you agree, on behalf of your employer, to release me from all obligations and waivers arising from any and all NON-NEGOTIATED agreements, licenses, terms-of-service, shrinkwrap, clickwrap, browsewrap, confidentiality, non-disclosure, non-compete and acceptable use policies (?BOGUS AGREEMENTS?) that I have entered into with your employer, its partners, licensors, agents and assigns, in perpetuity, without prejudice to my ongoing rights and privileges. You further represent that you have the authority to release me from any BOGUS AGREEMENTS on behalf of your employer. From Jimmy.Schementi at microsoft.com Thu Apr 1 05:04:14 2010 From: Jimmy.Schementi at microsoft.com (Jimmy Schementi) Date: Thu, 1 Apr 2010 03:04:14 +0000 Subject: [IronPython] Gestalt, IronPython in Silverlight and embedded xaml In-Reply-To: <4BB3DBF2.2060502@voidspace.org.uk> References: <4BB2915D.6050309@voidspace.org.uk> <1B42307CD4AADD438CDDA2FE1121CC92173128F2@TK5EX14MBXC136.redmond.corp.microsoft.com> <4BB3DBF2.2060502@voidspace.org.uk> Message-ID: <1B42307CD4AADD438CDDA2FE1121CC9217315993@TK5EX14MBXC136.redmond.corp.microsoft.com> > I mean that if I develop in an html file I can't view it from the filesystem in a > browser but must still have a locally running server for the scripts to run. Yes, this is true today; I think mainly because dlr.xap depends on downloading Microsoft.Scripting.slvx at startup, and that must be failing from the file-system. If the assemblies were in the XAP, I'm pretty sure it'll work, and I think that's what will happen in the future. http://ironpython.codeplex.com/WorkItem/View.aspx?WorkItemId=26672. Though, do you really not have a machine that has a web-server running on it anyway, be it Apache or IIS? I like that it doesn't *require* me to use Chiron. > This means any backwards incompatible changes are *guaranteed* to break > apps using it. :-) What are needed are versioned URLs so that you can specify > precisely which version to use. The first "Note" in the docs addresses this: http://ironpython.net/browser/docs.html#setup "Note: using the gestalt.ironpython.net version is preferred, especially in production. However, please pick a specific version (like dlr-20100305.js, rather than dlr-latest.js), as this will ensure your application keeps working between releases; dlr-latest.js will always point to the most recent version." But I guess that should be called out a bit more obviously? > Are these [other versions] available, I couldn't find them in the > docs but I may just not be looking in the right place. The online versions aren't enumerated anywhere, as there's just two: http://gestalt.ironpython.net/dlr-20100305.js http://gestalt.ironpython.net/dlr-20091120.js For the next release I can start maintaining this list on the website. > I did think that the docs said all un-scoped scripts were run against the default > control, but using an explicit scope is no problem. Yes, that's true; un-scoped scripts are run against the "default control", which is defined as the control automatically added to the page when dlr*.js is run, and has a width/height of 1px; basically for DOM-only apps. If you have a XAML script-tag though, that DOM-only control is still added to the page, forcing you to always scope your script-tag if you're using XAML. I guess you assumed the "default control" meant the "first control"? I'm a bit unsure about what the right behavior should be, so I just left it as-is; let me know what you think: http://ironpython.codeplex.com/WorkItem/View.aspx?WorkItemId=26673 ~js From avinhan at gmail.com Thu Apr 1 09:59:36 2010 From: avinhan at gmail.com (Aravin) Date: Thu, 1 Apr 2010 15:59:36 +0800 Subject: [IronPython] pyFlakes pySmell In-Reply-To: <4BAB6AB5.1090205@voidspace.org.uk> References: <4BAB4495.1050206@voidspace.org.uk> <4BAB6AB5.1090205@voidspace.org.uk> Message-ID: Hi Guys, Thanks for the information on this. Jeff, I tried to download and compiler your _ast library, but it's giving me errors. Error 1 'IronPython.Runtime.PythonModule' does not contain a definition for 'TryGetName' and no extension method 'TryGetName' accepting a first argument of type 'IronPython.Runtime.PythonModule' could be found (are you missing a using directive or an assembly reference?) _ast\_ast.cs 114 50 _ast Error 2 The best overloaded method match for 'IronPython.Runtime.CodeContext.CodeContext(IronPython.Runtime.PythonDictionary, IronPython.Runtime.ModuleContext)' has some invalid arguments _ast\_ast.cs 119 35 _ast Error 3 Argument '2': cannot convert from 'IronPython.Runtime.PythonContext' to 'IronPython.Runtime.ModuleContext' _ast\_ast\_ast.cs 119 75 _ast I'm using IronPython 2.6RC1. Am I doing something wrong? Also, if anyone is interested, I updated the compiler package found in FePy to work with IronPython 2.6RC1. I'm able to run pyFlakes on IronPython using it (also tried pySmell and it works so far). I'm fixing up errors as I encounter them. Is there any test cases that I can run to make sure that the implementation works? So if anyone wants to use the compiler package, let me know and I can put it up on codeplex or something. Is there a way to convert the compiler.ast to _ast? Thanks, Aravin On Thu, Mar 25, 2010 at 9:52 PM, Michael Foord wrote: > On 25/03/2010 13:44, Jeff Hardy wrote: > >> On Thu, Mar 25, 2010 at 5:10 AM, Michael Foord >> wrote: >> >> >>> They almost certainly use the compiler / ast modules that aren't >>> available >>> for IronPython. You can ship CPython as part of your application though, >>> without needing it to be installed. >>> >>> >> http://bitbucket.org/jdhardy/_ast/ >> >> There's one compiler error under 2.6 (a function is missing/renamed); >> I just haven't had a chance to figure it out. >> >> That said, if pyflakes/pysmell use 'compiler' instead of 'ast', you're >> probably hooped. Compiler is unlikely to ever be supported. >> >> > > I think FePy used to have support for the compiler module, but I'm having a > hard time figuring out where that was implemented. > > All the best, > > Michael > > > - Jeff >> _______________________________________________ >> Users mailing list >> Users at lists.ironpython.com >> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com >> >> > > > -- > http://www.ironpythoninaction.com/ > http://www.voidspace.org.uk/blog > > READ CAREFULLY. By accepting and reading this email you agree, on behalf of > your employer, to release me from all obligations and waivers arising from > any and all NON-NEGOTIATED agreements, licenses, terms-of-service, > shrinkwrap, clickwrap, browsewrap, confidentiality, non-disclosure, > non-compete and acceptable use policies (?BOGUS AGREEMENTS?) that I have > entered into with your employer, its partners, licensors, agents and > assigns, in perpetuity, without prejudice to my ongoing rights and > privileges. You further represent that you have the authority to release me > from any BOGUS AGREEMENTS on behalf of your employer. > > > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > -------------- next part -------------- An HTML attachment was scrubbed... URL: From cgencer at gmail.com Thu Apr 1 10:59:36 2010 From: cgencer at gmail.com (Can Gencer) Date: Thu, 1 Apr 2010 10:59:36 +0200 Subject: [IronPython] IronPython with CherryPy through WSGI Memory issue Message-ID: Hello, I am trying to use CherryPy through IronPython. I am using a custom web server written in C# and I am using the NWSGI handler available here (http://nwsgi.codeplex.com/) with some modifications to work with my custom web server instead of IIS. Everything works after some tweaking done to CherryPy. I re-use the application callable that is retrieved from the main script that is compiled into CompiledCode . However the memory usage never seems to go down, and goes up with every HTTP request, even if I force GC.Collect() after every request. The WSGI handler is invoking the delegate returned from the main python script with some parameters that are standard in WSGI, such as a start_response delegate Everytime a request is made, the handler will invoke the application callable that is stored as a reference. CherryPy also has a built in web server that is using WSGI that can be invoked with CPython. When testing that, there are no memory leaks. Any ideas on what the problem could be? From fuzzyman at voidspace.org.uk Thu Apr 1 13:44:03 2010 From: fuzzyman at voidspace.org.uk (Michael Foord) Date: Thu, 01 Apr 2010 12:44:03 +0100 Subject: [IronPython] Gestalt, IronPython in Silverlight and embedded xaml In-Reply-To: <1B42307CD4AADD438CDDA2FE1121CC9217315993@TK5EX14MBXC136.redmond.corp.microsoft.com> References: <4BB2915D.6050309@voidspace.org.uk> <1B42307CD4AADD438CDDA2FE1121CC92173128F2@TK5EX14MBXC136.redmond.corp.microsoft.com> <4BB3DBF2.2060502@voidspace.org.uk> <1B42307CD4AADD438CDDA2FE1121CC9217315993@TK5EX14MBXC136.redmond.corp.microsoft.com> Message-ID: <4BB48703.1010005@voidspace.org.uk> On 01/04/2010 04:04, Jimmy Schementi wrote: >> I mean that if I develop in an html file I can't view it from the filesystem in a >> browser but must still have a locally running server for the scripts to run. >> > Yes, this is true today; I think mainly because dlr.xap depends on downloading Microsoft.Scripting.slvx at startup, and that must be failing from the file-system. If the assemblies were in the XAP, I'm pretty sure it'll work, and I think that's what will happen in the future. http://ironpython.codeplex.com/WorkItem/View.aspx?WorkItemId=26672. > > Though, do you really not have a machine that has a web-server running on it anyway, be it Apache or IIS? I like that it doesn't *require* me to use Chiron. > I *never* have a machine running IIS and my Windows VM doesn't have Apache setup on it - so as far as I'm concerned I *do* still need Chiron running. I can see that being able to use an alternative server is an advantage though. > >> This means any backwards incompatible changes are *guaranteed* to break >> apps using it. :-) What are needed are versioned URLs so that you can specify >> precisely which version to use. >> > The first "Note" in the docs addresses this:http://ironpython.net/browser/docs.html#setup > > Ah - I just missed that note. Now you mention it, it is pretty obvious, so just me being dense. :-) > "Note: using the gestalt.ironpython.net version is preferred, especially in production. However, please pick a specific version (like dlr-20100305.js, rather than dlr-latest.js), as this will ensure your application keeps working between releases; dlr-latest.js will always point to the most recent version." > > But I guess that should be called out a bit more obviously? > > A list of available versions would be nice, preferably specifying which version of IronPython / IronRuby they use and a list of changes in each version. >> Are these [other versions] available, I couldn't find them in the >> docs but I may just not be looking in the right place. >> > The online versions aren't enumerated anywhere, as there's just two: > > http://gestalt.ironpython.net/dlr-20100305.js > http://gestalt.ironpython.net/dlr-20091120.js > > For the next release I can start maintaining this list on the website. > > Great. >> I did think that the docs said all un-scoped scripts were run against the default >> control, but using an explicit scope is no problem. >> > Yes, that's true; un-scoped scripts are run against the "default control", which is defined as the control automatically added to the page when dlr*.js is run, and has a width/height of 1px; basically for DOM-only apps. If you have a XAML script-tag though, that DOM-only control is still added to the page, forcing you to always scope your script-tag if you're using XAML. I guess you assumed the "default control" meant the "first control"? I'm a bit unsure about what the right behavior should be, so I just left it as-is; let me know what you think: http://ironpython.codeplex.com/WorkItem/View.aspx?WorkItemId=26673 > Ok. I don't like the *idea* of an extra invisible Silverlight control but am prepared to take your word that it isn't an issue in practise. My 'skimming' (i.e. not reading properly) of the docs implied to me that all unscoped scripts would run in the same control - but in fact if you have a xaml script that *has* to create a new control. So unscoped Python scripts all run in the default (invisible) control and unscoped xaml creates a new control that isn't then used by code. I don't have concrete suggestions for making this clearer - other than to strongly recommend in the docs that all code / xaml is scoped. Michael > ~js > > -- http://www.ironpythoninaction.com/ http://www.voidspace.org.uk/blog READ CAREFULLY. By accepting and reading this email you agree, on behalf of your employer, to release me from all obligations and waivers arising from any and all NON-NEGOTIATED agreements, licenses, terms-of-service, shrinkwrap, clickwrap, browsewrap, confidentiality, non-disclosure, non-compete and acceptable use policies (?BOGUS AGREEMENTS?) that I have entered into with your employer, its partners, licensors, agents and assigns, in perpetuity, without prejudice to my ongoing rights and privileges. You further represent that you have the authority to release me from any BOGUS AGREEMENTS on behalf of your employer. From fuzzyman at voidspace.org.uk Thu Apr 1 13:47:29 2010 From: fuzzyman at voidspace.org.uk (Michael Foord) Date: Thu, 01 Apr 2010 12:47:29 +0100 Subject: [IronPython] pyFlakes pySmell In-Reply-To: References: <4BAB4495.1050206@voidspace.org.uk> <4BAB6AB5.1090205@voidspace.org.uk> Message-ID: <4BB487D1.2040704@voidspace.org.uk> On 01/04/2010 08:59, Aravin wrote: > [snip...] > Also, if anyone is interested, I updated the compiler package found in > FePy to work with IronPython 2.6RC1. > I'm able to run pyFlakes on IronPython using it (also tried pySmell > and it works so far). > I'm fixing up errors as I encounter them. Is there any test cases that > I can run to make sure that the implementation works? > So if anyone wants to use the compiler package, let me know and I can > put it up on codeplex or something. If you could make this publicly available somewhere that would be great. There are quite a few projects that require the compiler package. All the best, Michael Foord > Is there a way to convert the compiler.ast to _ast? > Thanks, > Aravin > On Thu, Mar 25, 2010 at 9:52 PM, Michael Foord > > wrote: > > On 25/03/2010 13:44, Jeff Hardy wrote: > > On Thu, Mar 25, 2010 at 5:10 AM, Michael Foord > > > wrote: > > They almost certainly use the compiler / ast modules that > aren't available > for IronPython. You can ship CPython as part of your > application though, > without needing it to be installed. > > http://bitbucket.org/jdhardy/_ast/ > > There's one compiler error under 2.6 (a function is > missing/renamed); > I just haven't had a chance to figure it out. > > That said, if pyflakes/pysmell use 'compiler' instead of > 'ast', you're > probably hooped. Compiler is unlikely to ever be supported. > > > I think FePy used to have support for the compiler module, but I'm > having a hard time figuring out where that was implemented. > > All the best, > > Michael > > > - Jeff > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > > > > -- > http://www.ironpythoninaction.com/ > http://www.voidspace.org.uk/blog > > READ CAREFULLY. By accepting and reading this email you agree, on > behalf of your employer, to release me from all obligations and > waivers arising from any and all NON-NEGOTIATED agreements, > licenses, terms-of-service, shrinkwrap, clickwrap, browsewrap, > confidentiality, non-disclosure, non-compete and acceptable use > policies (?BOGUS AGREEMENTS?) that I have entered into with your > employer, its partners, licensors, agents and assigns, in > perpetuity, without prejudice to my ongoing rights and privileges. > You further represent that you have the authority to release me > from any BOGUS AGREEMENTS on behalf of your employer. > > > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > > > > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > -- http://www.ironpythoninaction.com/ http://www.voidspace.org.uk/blog READ CAREFULLY. By accepting and reading this email you agree, on behalf of your employer, to release me from all obligations and waivers arising from any and all NON-NEGOTIATED agreements, licenses, terms-of-service, shrinkwrap, clickwrap, browsewrap, confidentiality, non-disclosure, non-compete and acceptable use policies (?BOGUS AGREEMENTS?) that I have entered into with your employer, its partners, licensors, agents and assigns, in perpetuity, without prejudice to my ongoing rights and privileges. You further represent that you have the authority to release me from any BOGUS AGREEMENTS on behalf of your employer. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jdhardy at gmail.com Thu Apr 1 17:15:10 2010 From: jdhardy at gmail.com (Jeff Hardy) Date: Thu, 1 Apr 2010 09:15:10 -0600 Subject: [IronPython] pyFlakes pySmell In-Reply-To: References: <4BAB4495.1050206@voidspace.org.uk> <4BAB6AB5.1090205@voidspace.org.uk> Message-ID: On Thu, Apr 1, 2010 at 1:59 AM, Aravin wrote: > Hi Guys, > > Thanks for the information on this. > > Jeff, I tried to download and compiler your _ast library, but it's giving > me?errors. > > ... > > I'm using IronPython 2.6RC1. Am I doing something wrong? Probably not. I haven't gotten it working with the latest 2.6 releases (I think it worked with Beta 1 or something like that). I'm pretty sure it's a simple fix, but I just haven't got around to it. - Jeff From davidjensen at usa.net Thu Apr 1 17:47:06 2010 From: davidjensen at usa.net (David Jensen) Date: Thu, 01 Apr 2010 11:47:06 -0400 Subject: [IronPython] ironpython window in Microsoft Office Application Message-ID: <844oDaPUg3728S18.1270136826@cmsweb18.cms.usa.net> Can an IronPython interpreter window be placed in an office application, such as Outlook 2007? Outlook 2007 is quite customizable. The forms can be modified. An IronPython interpreter window would be more useful than VBA, since VBA is not interactive (I have not used it much). I have VS 2008 Professional. Can this be used? Can the IP window be put in without it? I am sure I run IP or CP outside of office using com objects. David Jensen From merllab at microsoft.com Thu Apr 1 17:53:34 2010 From: merllab at microsoft.com (merllab at microsoft.com) Date: Thu, 1 Apr 2010 08:53:34 -0700 Subject: [IronPython] IronPython 2.6 CodePlex Source Update Message-ID: <7028bf07-2522-4965-b334-a121ea24663a@tk5-exsmh-c101.redmond.corp.microsoft.com> This is an automated email letting you know that sources have recently been pushed out. You can download these newer sources directly from http://ironpython.codeplex.com/SourceControl/changeset/view/65175. ADDED SOURCES $/IronPython/IronPython_Main/Src/Tests/pyc/stdmodules_ok.ps1 DELETED SOURCES $/IronPython/IronPython_Main/Src/Runtime/Microsoft.Dynamic/Runtime/DynamicStackFrame.cs MODIFIED SOURCES $/IronPython/IronPython_Main/Src/Runtime/Microsoft.Dynamic/Interpreter/Instructions/ControlFlowInstructions.cs $/IronPython/IronPython_Main/Src/Runtime/Microsoft.Dynamic/Interpreter/Instructions/InstructionList.cs $/IronPython/IronPython_Main/Src/IronPython/Compiler/Ast/AstMethods.cs $/IronPython/IronPython_Main/Src/Runtime/Microsoft.Dynamic/Generation/Snippets.cs $/IronPython/IronPython_Main/Src/IronPython/Runtime/PythonDynamicStackFrame.cs $/IronPython/IronPython_Main/Src/Hosts/SilverLight/Microsoft.Scripting.Silverlight/ErrorFormatter.cs $/IronPython/IronPython_Main/Src/Hosts/SilverLight/Chiron/Properties/AssemblyInfo.cs $/IronPython/IronPython_Main/Src/IronPython/Compiler/PythonScriptCode.cs $/IronPython/IronPython_Main/Src/IronPython/Compiler/RuntimeScriptCode.cs $/IronPython/IronPython_Main/Src/IronPython/Runtime/PythonDictionary.cs $/IronPython/IronPython_Main/Src/IronPython/Runtime/Exceptions/PythonExceptions.cs $/IronPython/IronPython_Main/Src/IronPython/Runtime/Types/PythonTypeUserDescriptorSlot.cs $/IronPython/IronPython_Main/Src/IronPython/Runtime/Types/PythonType.cs $/IronPython/IronPython_Main/Src/AssemblyVersion.cs $/IronPython/IronPython_Main/Src/IronPython/Runtime/Operations/PythonOps.cs $/IronPython/IronPython_Main/Src/Runtime/Microsoft.Dynamic/Properties/AssemblyInfo.cs $/IronPython/IronPython_Main/Src/Runtime/Microsoft.Dynamic/Microsoft.Dynamic.csproj $/IronPython/IronPython_Main/Src/Runtime/Microsoft.Dynamic/Runtime/ExceptionHelpers.cs $/IronPython/IronPython_Main/Src/Runtime/Microsoft.Dynamic/Interpreter/Interpreter.cs $/IronPython/IronPython_Main/Src/Runtime/Microsoft.Dynamic/Interpreter/LightCompiler.cs $/IronPython/IronPython_Main/Src/IronPython/Runtime/Operations/UserTypeOps.cs $/IronPython/IronPython_Main/Src/IronPython/Runtime/WeakRef.cs $/IronPython/IronPython_Main/Src/IronPython/Runtime/Generator.cs $/IronPython/IronPython_Main/Src/IronPython/Runtime/List.cs $/IronPython/IronPython_Main/Src/IronPython/Runtime/PythonContext.cs $/IronPython/IronPython_Main/Src/IronPython/Runtime/Importer.cs $/IronPython/IronPython_Main/Src/IronPython/Runtime/ObjectAttributesAdapter.cs $/IronPython/IronPython_Main/Src/IronPython/Compiler/Ast/WithStatement.cs $/IronPython/IronPython_Main/Src/IronPython/Compiler/Ast/TryStatement.cs $/IronPython/IronPython_Main/Src/IronPython/Compiler/Ast/ScopeStatement.cs $/IronPython/IronPython_Main/Src/Runtime/Microsoft.Dynamic/Utils/ArrayUtils.cs $/IronPython/IronPython_Main/Src/Runtime/Microsoft.Dynamic/Runtime/ScriptingRuntimeHelpers.cs $/IronPython/IronPython_Main/Src/Runtime/Microsoft.Scripting.Debugging/AssemblyInfo.cs $/IronPython/IronPython_Main/Src/Runtime/Microsoft.Scripting.Core/Properties/ExtensionAssemblyInfo.cs $/IronPython/IronPython_Main/Src/Runtime/Microsoft.Scripting/Hosting/ExceptionOperations.cs $/IronPython/IronPython_Main/Src/Runtime/Microsoft.Scripting/Microsoft.Scripting.csproj $/IronPython/IronPython_Main/Src/Runtime/Microsoft.Scripting.Core/Properties/AssemblyInfo.cs $/IronPython/IronPython_Main/Src/Runtime/Microsoft.Scripting/Hosting/TokenCategorizer.cs $/IronPython/IronPython_Main/Src/Runtime/Microsoft.Scripting/Runtime/DynamicStackFrame.cs $/IronPython/IronPython_Main/Src/Runtime/Microsoft.Scripting/Properties/AssemblyInfo.cs $/IronPython/IronPython_Main/Src/Runtime/Microsoft.Scripting/Runtime/LanguageContext.cs $/IronPython/IronPython_Main/Src/Runtime/Microsoft.Scripting/Runtime/TokenizerService.cs $/IronPython/IronPython_Main/Src/Tests/pyc/stdmodules_ok.ps1 $/IronPython/IronPython_Main/Src/Tests/pyc/test_pyc.ps1 CHECKIN COMMENTS -------------------------------------------------------------------------------- Changeset Id: 1708300 Date: 3/31/2010 8:52:23 PM Cleans up exception handling in IronPython to fix a source of memory leak bugs. Improves the interpreter?s support for rethrowing exceptions. Adds support for getting DynamicStackFrames via the hosting APIs ExceptionOperations class rather than going to some static helper. The big change here is that IronPython now adds the stack frames that an exception has propagated through via try/catch blocks instead of storing them in a ThreadStatic variable and attaching them when the exception is caught. We used to do the thread static because we used to frequently use try/fault blocks ? but when we switched to using DynamicMethod?s for all of our optimized code gen we never almost no opportunities to use try/fault blocks ? not that we have code paths that would use them even if we did. Because we always have try/catch?s we may as well take care of this to clean up the memory leaks which have been reported by users. This also means we no longer need to clear stack frames throughout the code base. This also adds a new hosting API to get the dynamic stack frames ? we currently have a static API in ScriptingRuntimeHelpers that people have been using. Instead I?ve moved this to ExceptionOperations and have a virtual on LanguageContext which languages can override. This pulls a bunch of code from ScriptingRuntimeHelpers into PythonExceptions as we?re the only consumer (this is a post-2.6 change so I?m opening the flood gates on breaking changes). Also adds support for proper rethrow in the interpreter. Whenever we take an exception we now go into a HandleException method. This method can recurse for each exception which is caught (we?re limited to the number of throws actually available in the exception handler) and returns when the exception is done being handled. If we encounter a rethrow we now have the exception on the stack in our catch block so we can properly re-throw it. (Shelveset: EhCleanupFinal3;REDMOND\dinov | SNAP CheckinId: 10621) -------------------------------------------------------------------------------- Changeset Id: 1708006 Date: 3/31/2010 5:19:57 PM Added a fairly thorough regression for http://ironpython.codeplex.com/WorkItem/View.aspx?WorkItemId=26593. We now precompile the entire CPython standard library for every checkin (as a test). (Shelveset: PRECOMPILE_TEST;REDMOND\dfugate | SNAP CheckinId: 10617) -------------------------------------------------------------------------------- Changeset Id: 1708300 Date: 3/31/2010 8:52:23 PM Cleans up exception handling in IronPython to fix a source of memory leak bugs. Improves the interpreter?s support for rethrowing exceptions. Adds support for getting DynamicStackFrames via the hosting APIs ExceptionOperations class rather than going to some static helper. The big change here is that IronPython now adds the stack frames that an exception has propagated through via try/catch blocks instead of storing them in a ThreadStatic variable and attaching them when the exception is caught. We used to do the thread static because we used to frequently use try/fault blocks ? but when we switched to using DynamicMethod?s for all of our optimized code gen we never almost no opportunities to use try/fault blocks ? not that we have code paths that would use them even if we did. Because we always have try/catch?s we may as well take care of this to clean up the memory leaks which have been reported by users. This also means we no longer need to clear stack frames throughout the code base. This also adds a new hosting API to get the dynamic stack frames ? we currently have a static API in ScriptingRuntimeHelpers that people have been using. Instead I?ve moved this to ExceptionOperations and have a virtual on LanguageContext which languages can override. This pulls a bunch of code from ScriptingRuntimeHelpers into PythonExceptions as we?re the only consumer (this is a post-2.6 change so I?m opening the flood gates on breaking changes). Also adds support for proper rethrow in the interpreter. Whenever we take an exception we now go into a HandleException method. This method can recurse for each exception which is caught (we?re limited to the number of throws actually available in the exception handler) and returns when the exception is done being handled. If we encounter a rethrow we now have the exception on the stack in our catch block so we can properly re-throw it. (Shelveset: EhCleanupFinal3;REDMOND\dinov | SNAP CheckinId: 10621) From dinov at microsoft.com Thu Apr 1 19:20:59 2010 From: dinov at microsoft.com (Dino Viehland) Date: Thu, 1 Apr 2010 17:20:59 +0000 Subject: [IronPython] ironpython window in Microsoft Office Application In-Reply-To: <844oDaPUg3728S18.1270136826@cmsweb18.cms.usa.net> References: <844oDaPUg3728S18.1270136826@cmsweb18.cms.usa.net> Message-ID: <1A472770E042064698CB5ADC83A12ACD394E4662@TK5EX14MBXC118.redmond.corp.microsoft.com> David Jensen: > Can an IronPython interpreter window be placed in an office application, such > as Outlook 2007? Outlook 2007 is quite customizable. The forms can be > modified. An IronPython interpreter window would be more useful than VBA, > since VBA is not interactive (I have not used it much). I have VS 2008 > Professional. Can this be used? Can the IP window be put in without it? I am > sure I run IP or CP outside of office using com objects. This can be done but you'll need to implement the REPL window or find an existing one out there. There are plenty of WPF based REPL windows which have been developed (in particular for Silverlight) so you might be able to borrow the code from there. Once you do that you just need to put pieces of the Office object model in a ScriptScope so that the scripts can access them. From slide.o.mix at gmail.com Thu Apr 1 19:22:15 2010 From: slide.o.mix at gmail.com (Slide) Date: Thu, 1 Apr 2010 10:22:15 -0700 Subject: [IronPython] ironpython window in Microsoft Office Application In-Reply-To: <844oDaPUg3728S18.1270136826@cmsweb18.cms.usa.net> References: <844oDaPUg3728S18.1270136826@cmsweb18.cms.usa.net> Message-ID: On Thu, Apr 1, 2010 at 8:47 AM, David Jensen wrote: > Can an IronPython interpreter window be placed in an office application, such > as Outlook 2007? Outlook 2007 is quite customizable. The forms can be > modified. An IronPython interpreter window would be more useful than VBA, > since VBA is not interactive (I have not used it much). I have ?VS 2008 > Professional. Can this be used? Can the IP window be put in without it? I am > sure I run IP or CP outside of office using com objects. > > > David Jensen > This sounds like a great idea! From dinov at microsoft.com Thu Apr 1 19:27:12 2010 From: dinov at microsoft.com (Dino Viehland) Date: Thu, 1 Apr 2010 17:27:12 +0000 Subject: [IronPython] IronPython with CherryPy through WSGI Memory issue In-Reply-To: References: Message-ID: <1A472770E042064698CB5ADC83A12ACD394E46D9@TK5EX14MBXC118.redmond.corp.microsoft.com> Can Gencer wrote: > I am trying to use CherryPy through IronPython. I am using a custom > web server written in C# and I am using the NWSGI handler available > here (http://nwsgi.codeplex.com/) with some modifications to work with > my custom web server instead of IIS. > > Everything works after some tweaking done to CherryPy. I re-use the > application callable that is retrieved from the main script that is > compiled into CompiledCode . However the memory usage never seems to > go down, and goes up with every HTTP request, even if I force > GC.Collect() after every request. > > The WSGI handler is invoking the delegate returned from the main > python script with some parameters that are standard in WSGI, such as > a start_response delegate Everytime a request is made, the handler > will invoke the application callable that is stored as a reference. > > CherryPy also has a built in web server that is using WSGI that can be > invoked with CPython. When testing that, there are no memory leaks. > > Any ideas on what the problem could be? The one issue that I know people have been running into is related to exception handling leaking memory. 2.6.1 has some improvements to prevent this from happening but it still might happen. 2.7 will have a permanent fix for this (which is available on CodePlex in as of this morning). To see if this is the problem you can check ExceptionHelpers.DynamicStackFrames and see if it's growing larger. You can set it to null if it is. If that's not it I can give some suggestions on how to debug it but usually involes windbg. From jdhardy at gmail.com Thu Apr 1 20:08:22 2010 From: jdhardy at gmail.com (Jeff Hardy) Date: Thu, 1 Apr 2010 12:08:22 -0600 Subject: [IronPython] IronPython with CherryPy through WSGI Memory issue In-Reply-To: References: Message-ID: On Thu, Apr 1, 2010 at 2:59 AM, Can Gencer wrote: > Hello, Hi Can, You are, to my knowledge, the first person besides me to use NWSGI for anything, so thank you! > Everything works after some tweaking done to CherryPy. I re-use the > application callable that is retrieved from the main script that is > compiled into CompiledCode . However the memory usage never seems to > go down, and goes up with every HTTP request, even if I force > GC.Collect() after every request. I haven't done any stress testing of NWSGI because my uses don't have any where near the traffic to need it :). It's quite possible that I'm holding to references to something (code objects maybe?) past there usefulness. Would it be possible to make the Python/CherryPy portion public? I'd like to take a look at it and try it out. Hopefully it's not hard to find, or I'll be reading Tess Ferrandez and learning how to use windbg again. Ugh. - Jeff From merllab at microsoft.com Thu Apr 1 21:07:17 2010 From: merllab at microsoft.com (merllab at microsoft.com) Date: Thu, 1 Apr 2010 12:07:17 -0700 Subject: [IronPython] IronPython 2.6 CodePlex Source Update Message-ID: This is an automated email letting you know that sources have recently been pushed out. You can download these newer sources directly from http://ironpython.codeplex.com/SourceControl/changeset/view/65179. MODIFIED SOURCES $/IronPython/IronPython_2_6/Src/AssemblyVersion.cs $/IronPython/IronPython_2_6/Src/Runtime/Microsoft.Dynamic/Properties/AssemblyInfo.cs $/IronPython/IronPython_2_6/Src/Runtime/Microsoft.Scripting.Core/Properties/ExtensionAssemblyInfo.cs $/IronPython/IronPython_2_6/Src/Runtime/Microsoft.Scripting.Core/Properties/AssemblyInfo.cs $/IronPython/IronPython_2_6/Src/Hosts/SilverLight/Chiron/Properties/AssemblyInfo.cs $/IronPython/IronPython_2_6/Src/Runtime/Microsoft.Scripting.Debugging/AssemblyInfo.cs $/IronPython/IronPython_2_6/Src/Runtime/Microsoft.Scripting/Properties/AssemblyInfo.cs From cgencer at gmail.com Thu Apr 1 23:44:02 2010 From: cgencer at gmail.com (Can Gencer) Date: Thu, 1 Apr 2010 23:44:02 +0200 Subject: [IronPython] IronPython with CherryPy through WSGI Memory issue In-Reply-To: References: Message-ID: On Thu, Apr 1, 2010 at 8:08 PM, Jeff Hardy wrote: > On Thu, Apr 1, 2010 at 2:59 AM, Can Gencer wrote: >> Hello, > > Hi Can, > You are, to my knowledge, the first person besides me to use NWSGI for > anything, so thank you! > >> Everything works after some tweaking done to CherryPy. I re-use the >> application callable that is retrieved from the main script that is >> compiled into CompiledCode . However the memory usage never seems to >> go down, and goes up with every HTTP request, even if I force >> GC.Collect() after every request. > > I haven't done any stress testing of NWSGI because my uses don't have > any where near the traffic to need it :). It's quite possible that I'm > holding to references to something (code objects maybe?) past there > usefulness. > > Would it be possible to make the Python/CherryPy portion public? I'd > like to take a look at it and try it out. > > Hopefully it's not hard to find, or I'll be reading Tess Ferrandez and > learning how to use windbg again. Ugh. > > - Jeff Hello, The CherryPy code is very simple. I just have a "main.py" that gets executed from the WSGI handler. All its doing is serving a static html file that displays a lot of images which are stored under the "/static" path. I am using CherryPy 3.1.2 --------------------------- import cherrypy class HelloWorld: def index(self): return open('test.html').read() index.exposed = True import os.path tutconf = os.path.join(os.path.dirname(__file__), 'app.conf') current_dir = os.path.dirname(os.path.abspath(__file__)) appconfig = {'/static' : { 'tools.staticdir.dir': os.path.join(current_dir, 'static'), 'tools.staticdir.on' : True } } cherrypy.config.update(tutconf) application = cherrypy.tree.mount(HelloWorld(), "/", config=appconfig) --------------------------- The app.conf looks like this (not sure if it's relevant, it was more related to me testing a bunch of different stuff..) --------------------------- [global] tools.caching.on = False tools.sessions.on = False tools.sessions.timeout = 10 tools.encode.on: True tools.encode.encoding: 'utf8' log.screen = True --------------------------- The html file I used for testing looks like this --------------------------- ... --------------------------- To get CherryPy working, I edited two files process/plugins.py, changed import signal as _signal to try: import signal as _signal except: _signal = None as signal package doesn't exist in IronPyhton. Another change I made was related to threading, as without this change CherryPy doesn't work thread safe and the local thread storage seems to get corrupted.. in __init__.py, replaced from threading import local as _local with from cherrypy._cpthreadinglocal import local as _local I don't know if the IronPython local module is buggy or this is something related to CherryPy.. but this change seems to fix it. It would be great if you can test this out with IIS and see if you get the same results.. I don't know if IIS keeps one process in memory for every request, but my web server is running as one process and reusing the application callable I will try Dino's suggestion about ExceptionHelpers.DynamicStackFrames, is that a static class? From cgencer at gmail.com Fri Apr 2 00:17:56 2010 From: cgencer at gmail.com (Can Gencer) Date: Fri, 2 Apr 2010 00:17:56 +0200 Subject: [IronPython] IronPython with CherryPy through WSGI Memory issue In-Reply-To: <1A472770E042064698CB5ADC83A12ACD394E46D9@TK5EX14MBXC118.redmond.corp.microsoft.com> References: <1A472770E042064698CB5ADC83A12ACD394E46D9@TK5EX14MBXC118.redmond.corp.microsoft.com> Message-ID: On Thu, Apr 1, 2010 at 7:27 PM, Dino Viehland wrote: > Can Gencer wrote: >> I am trying to use CherryPy through IronPython. I am using a custom >> web server written in C# and I am using the NWSGI handler available >> here (http://nwsgi.codeplex.com/) with some modifications to work with >> my custom web server instead of IIS. >> >> Everything works after some tweaking done to CherryPy. I re-use the >> application callable that is retrieved from the main script that is >> compiled into CompiledCode . However the memory usage never seems to >> go down, and goes up with every HTTP request, even if I force >> GC.Collect() after every request. >> >> The WSGI handler is invoking the delegate returned from the main >> python script with some parameters that are standard in WSGI, such as >> a start_response delegate ?Everytime a request is made, the handler >> will invoke the application callable that is stored as a reference. >> >> CherryPy also has a built in web server that is using WSGI that can be >> invoked with CPython. When testing that, there are no memory leaks. >> >> Any ideas on what the problem could be? > > The one issue that I know people have been running into is related to > exception handling leaking memory. ?2.6.1 has some improvements to > prevent this from happening but it still might happen. ?2.7 will have > a permanent fix for this (which is available on CodePlex in as of this > morning). > > To see if this is the problem you can check ExceptionHelpers.DynamicStackFrames > and see if it's growing larger. ?You can set it to null if it is. > > If that's not it I can give some suggestions on how to debug it but > usually involes windbg. > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > I tried this, ExceptionHelpers.DynamicStackFrames.Count seems to be constant at 1.. I'm not very familiar with windbg but I can certainly learn more about it.. What should I be looking for? Thanks! /Can From jdhardy at gmail.com Fri Apr 2 00:23:29 2010 From: jdhardy at gmail.com (Jeff Hardy) Date: Thu, 1 Apr 2010 16:23:29 -0600 Subject: [IronPython] IronPython with CherryPy through WSGI Memory issue In-Reply-To: References: <1A472770E042064698CB5ADC83A12ACD394E46D9@TK5EX14MBXC118.redmond.corp.microsoft.com> Message-ID: On Thu, Apr 1, 2010 at 4:17 PM, Can Gencer wrote: > On Thu, Apr 1, 2010 at 7:27 PM, Dino Viehland wrote: > I tried this, ExceptionHelpers.DynamicStackFrames.Count seems to be > constant at 1.. I'm not very familiar with windbg but I can certainly > learn more about it.. What should I be looking for? You could try running it under CLRProfiler: http://www.microsoft.com/downloads/details.aspx?FamilyID=a362781c-3870-43be-8926-862b40aa0cd0&DisplayLang=en http://msdn.microsoft.com/en-us/library/ms979205.aspx With it you can see which objects stick around after a GC, what's holding those objects, and where they're allocated. I'm not too familiar with its use yet, but I plan on doing that tomorrow. - Jeff From dinov at microsoft.com Fri Apr 2 00:46:19 2010 From: dinov at microsoft.com (Dino Viehland) Date: Thu, 1 Apr 2010 22:46:19 +0000 Subject: [IronPython] IronPython with CherryPy through WSGI Memory issue In-Reply-To: References: <1A472770E042064698CB5ADC83A12ACD394E46D9@TK5EX14MBXC118.redmond.corp.microsoft.com> Message-ID: <1A472770E042064698CB5ADC83A12ACD394E638A@TK5EX14MBXC118.redmond.corp.microsoft.com> > On Thu, Apr 1, 2010 at 4:17 PM, Can Gencer wrote: > > On Thu, Apr 1, 2010 at 7:27 PM, Dino Viehland wrote: > > I tried this, ExceptionHelpers.DynamicStackFrames.Count seems to be > > constant at 1.. I'm not very familiar with windbg but I can certainly > > learn more about it.. What should I be looking for? > > You could try running it under CLRProfiler: > > http://www.microsoft.com/downloads/details.aspx?FamilyID=a362781c-3870-43be- > 8926-862b40aa0cd0&DisplayLang=en > > http://msdn.microsoft.com/en-us/library/ms979205.aspx > > With it you can see which objects stick around after a GC, what's > holding those objects, and where they're allocated. I'm not too > familiar with its use yet, but I plan on doing that tomorrow. Yeah CLRProfiler is a little more friendly :) I like windbg because it gives reasonable way of tracking who's keeping what alive and I find it a little more reliable than CLRProfiler. What I usually do is attach to the process after letting it leak for a while and then: .loadby sos mscorwks Or .loadbys sos clr For CLR v2 and CLR v4 respectively. Then you can do: !DumpHeap -stat Run for a while, repeat that, and look at what types of objects are growing. They should be at the end of the list because after running for a while they're growing the most. Then you can do: !DumpHeap -mt Where is the address for the type that !DumpHeap -stat gave you. Then you can start picking objects at random and do: !GCRoot And you see who's keeping it alive. If the leaks big the places to look at pretty obvious. If it's leaking Python objects defined in classes though you'll see those as "Unloaded Type". From fuzzyman at voidspace.org.uk Fri Apr 2 00:49:28 2010 From: fuzzyman at voidspace.org.uk (Michael Foord) Date: Thu, 01 Apr 2010 23:49:28 +0100 Subject: [IronPython] IronPython with CherryPy through WSGI Memory issue In-Reply-To: <1A472770E042064698CB5ADC83A12ACD394E638A@TK5EX14MBXC118.redmond.corp.microsoft.com> References: <1A472770E042064698CB5ADC83A12ACD394E46D9@TK5EX14MBXC118.redmond.corp.microsoft.com> <1A472770E042064698CB5ADC83A12ACD394E638A@TK5EX14MBXC118.redmond.corp.microsoft.com> Message-ID: <4BB522F8.9070600@voidspace.org.uk> On 01/04/2010 23:46, Dino Viehland wrote: >> On Thu, Apr 1, 2010 at 4:17 PM, Can Gencer wrote: >> >>> On Thu, Apr 1, 2010 at 7:27 PM, Dino Viehland wrote: >>> I tried this, ExceptionHelpers.DynamicStackFrames.Count seems to be >>> constant at 1.. I'm not very familiar with windbg but I can certainly >>> learn more about it.. What should I be looking for? >>> >> You could try running it under CLRProfiler: >> >> http://www.microsoft.com/downloads/details.aspx?FamilyID=a362781c-3870-43be- >> 8926-862b40aa0cd0&DisplayLang=en >> >> http://msdn.microsoft.com/en-us/library/ms979205.aspx >> >> With it you can see which objects stick around after a GC, what's >> holding those objects, and where they're allocated. I'm not too >> familiar with its use yet, but I plan on doing that tomorrow. >> > Yeah CLRProfiler is a little more friendly :) I like windbg because it gives > reasonable way of tracking who's keeping what alive and I find it a little more > reliable than CLRProfiler. What I usually do is attach to the process after > letting it leak for a while and then: > > Kamil Dworakowski wrote an interesting blog entry on tracing memory leaks in IronPython apps with windbg: http://blog.kamil.dworakowski.name/2008/02/debugging-memory-problems-in-ironpython.html All the best, Michael Foord > .loadby sos mscorwks > Or > .loadbys sos clr > > For CLR v2 and CLR v4 respectively. Then you can do: > > !DumpHeap -stat > > Run for a while, repeat that, and look at what types of objects are growing. > They should be at the end of the list because after running for a while they're > growing the most. Then you can do: > > !DumpHeap -mt > > Where is the address for the type that !DumpHeap -stat gave you. > > Then you can start picking objects at random and do: > > !GCRoot > > And you see who's keeping it alive. > > If the leaks big the places to look at pretty obvious. If it's leaking Python > objects defined in classes though you'll see those as "Unloaded Type". > > > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > -- http://www.ironpythoninaction.com/ http://www.voidspace.org.uk/blog READ CAREFULLY. By accepting and reading this email you agree, on behalf of your employer, to release me from all obligations and waivers arising from any and all NON-NEGOTIATED agreements, licenses, terms-of-service, shrinkwrap, clickwrap, browsewrap, confidentiality, non-disclosure, non-compete and acceptable use policies (?BOGUS AGREEMENTS?) that I have entered into with your employer, its partners, licensors, agents and assigns, in perpetuity, without prejudice to my ongoing rights and privileges. You further represent that you have the authority to release me from any BOGUS AGREEMENTS on behalf of your employer. From cgencer at gmail.com Fri Apr 2 17:05:04 2010 From: cgencer at gmail.com (Can Gencer) Date: Fri, 2 Apr 2010 17:05:04 +0200 Subject: [IronPython] IronPython with CherryPy through WSGI Memory issue In-Reply-To: <4BB522F8.9070600@voidspace.org.uk> References: <1A472770E042064698CB5ADC83A12ACD394E46D9@TK5EX14MBXC118.redmond.corp.microsoft.com> <1A472770E042064698CB5ADC83A12ACD394E638A@TK5EX14MBXC118.redmond.corp.microsoft.com> <4BB522F8.9070600@voidspace.org.uk> Message-ID: On Fri, Apr 2, 2010 at 12:49 AM, Michael Foord wrote: > On 01/04/2010 23:46, Dino Viehland wrote: >>> >>> On Thu, Apr 1, 2010 at 4:17 PM, Can Gencer ?wrote: >>> >>>> >>>> On Thu, Apr 1, 2010 at 7:27 PM, Dino Viehland >>>> ?wrote: >>>> I tried this, ExceptionHelpers.DynamicStackFrames.Count seems to be >>>> constant at 1.. I'm not very familiar with windbg but I can certainly >>>> learn more about it.. What should I be looking for? >>>> >>> >>> You could try running it under CLRProfiler: >>> >>> >>> http://www.microsoft.com/downloads/details.aspx?FamilyID=a362781c-3870-43be- >>> 8926-862b40aa0cd0&DisplayLang=en >>> >>> http://msdn.microsoft.com/en-us/library/ms979205.aspx >>> >>> With it you can see which objects stick around after a GC, what's >>> holding those objects, and where they're allocated. I'm not too >>> familiar with its use yet, but I plan on doing that tomorrow. >>> >> >> Yeah CLRProfiler is a little more friendly :) ?I like windbg because it >> gives >> reasonable way of tracking who's keeping what alive and I find it a little >> more >> reliable than CLRProfiler. ?What I usually do is attach to the process >> after >> letting it leak for a while and then: >> >> > > Kamil Dworakowski wrote an interesting blog entry on tracing memory leaks in > IronPython apps with windbg: > > http://blog.kamil.dworakowski.name/2008/02/debugging-memory-problems-in-ironpython.html > > All the best, > > Michael Foord > >> .loadby sos mscorwks >> ? ? ? ?Or >> .loadbys sos clr >> >> For CLR v2 and CLR v4 respectively. ?Then you can do: >> >> !DumpHeap -stat >> >> Run for a while, repeat that, and look at what types of objects are >> growing. >> They should be at the end of the list because after running for a while >> they're >> growing the most. ?Then you can do: >> >> !DumpHeap -mt >> >> Where ?is the address for the type that !DumpHeap -stat gave >> you. >> >> Then you can start picking objects at random and do: >> >> !GCRoot >> >> And you see who's keeping it alive. >> >> If the leaks big the places to look at pretty obvious. ?If it's leaking >> Python >> objects defined in classes though you'll see those as "Unloaded Type". >> >> I did some more digging around this, I tried using the wsgi.py found in FePy instead (and modifying it to fit with my webserver) and the results seem to be better, although not perfect. There seems to be a whole bunch of objects that are referenced from this root: ESP:550f3e8:Root:015c0150(Microsoft.Scripting.Ast.Block2)-> 015c00fc(Microsoft.Scripting.Ast.ScopeN)-> 015c00ec(System.Runtime.CompilerServices.TrueReadOnlyCollection`1[[Microsoft.Scripting.Ast.Expression, Microsoft.Scripting.Core]])-> 015c002c(System.Object[])-> What is this exactly? Also I have a question about ScriptScopes. Do they get garbage collected when a ScriptScope goes out of scope? From merllab at microsoft.com Fri Apr 2 17:53:30 2010 From: merllab at microsoft.com (merllab at microsoft.com) Date: Fri, 2 Apr 2010 08:53:30 -0700 Subject: [IronPython] IronPython 2.6 CodePlex Source Update Message-ID: This is an automated email letting you know that sources have recently been pushed out. You can download these newer sources directly from http://ironpython.codeplex.com/SourceControl/changeset/view/65202. MODIFIED SOURCES $/IronPython/IronPython_Main/Src/IronPython/Compiler/Ast/AstMethods.cs $/IronPython/IronPython_Main/Src/IronPython/Compiler/Ast/CallExpression.cs $/IronPython/IronPython_Main/Src/IronPython/Runtime/Operations/PythonOps.cs CHECKIN COMMENTS -------------------------------------------------------------------------------- Changeset Id: 1709228 Date: 4/1/2010 11:51:06 AM Fixes the Pyc Unicode regression: Call a function to get the Unicode helper object instead of burning it in as a constant. (Shelveset: FixUnicodePycRegression;REDMOND\dinov | SNAP CheckinId: 10620) From dinov at microsoft.com Fri Apr 2 18:30:35 2010 From: dinov at microsoft.com (Dino Viehland) Date: Fri, 2 Apr 2010 16:30:35 +0000 Subject: [IronPython] IronPython with CherryPy through WSGI Memory issue In-Reply-To: References: <1A472770E042064698CB5ADC83A12ACD394E46D9@TK5EX14MBXC118.redmond.corp.microsoft.com> <1A472770E042064698CB5ADC83A12ACD394E638A@TK5EX14MBXC118.redmond.corp.microsoft.com> <4BB522F8.9070600@voidspace.org.uk> Message-ID: <1A472770E042064698CB5ADC83A12ACD394ECD9E@TK5EX14MBXC118.redmond.corp.microsoft.com> Can Gencer wrote: > > I did some more digging around this, I tried using the wsgi.py found > in FePy instead (and modifying it to fit with my webserver) and the > results seem to be better, although not perfect. > > There seems to be a whole bunch of objects that are referenced from this root: > > ESP:550f3e8:Root:015c0150(Microsoft.Scripting.Ast.Block2)-> > 015c00fc(Microsoft.Scripting.Ast.ScopeN)-> > 015c00ec(System.Runtime.CompilerServices.TrueReadOnlyCollection`1[[Microsoft.S > cripting.Ast.Expression, > Microsoft.Scripting.Core]])-> > 015c002c(System.Object[])-> > > What is this exactly? Block2/ScopeN are DLR expression trees. They hold onto more expression trees or variables and more expression trees. Can you do !DumpArray on 15c002c? I'm curious how big the array is - is it that the array's holding onto the objects or something in the array? I would assume it's something in the array. > > Also I have a question about ScriptScopes. Do they get garbage > collected when a ScriptScope goes out of scope? More or less the answer is yes. We can compile code in an optimized form which is uncollectible but we should only do this for .py files which are getting compiled when executing from the command line. Even then the ScriptScope will get collected but a bunch of other info won't. From jdhardy at gmail.com Fri Apr 2 21:49:18 2010 From: jdhardy at gmail.com (Jeff Hardy) Date: Fri, 2 Apr 2010 13:49:18 -0600 Subject: [IronPython] IronPython with CherryPy through WSGI Memory issue In-Reply-To: <1A472770E042064698CB5ADC83A12ACD394E638A@TK5EX14MBXC118.redmond.corp.microsoft.com> References: <1A472770E042064698CB5ADC83A12ACD394E46D9@TK5EX14MBXC118.redmond.corp.microsoft.com> <1A472770E042064698CB5ADC83A12ACD394E638A@TK5EX14MBXC118.redmond.corp.microsoft.com> Message-ID: I'm seeing a lot of objects with !gcroots that start with DOMAIN(005F5F48):HANDLE(Strong):161100:Root:02913dac(System.Threading.Thread)-> 0b93e034(System.Object[][])-> 0b93e048(System.Object[])-> 223edd34(System.Collections.Generic.List`1[[Microsoft.Scripting.Runtime.DynamicStackFrame, Microsoft.Dynamic]])-> 223edd6c(System.Object[])-> 223edd4c(IronPython.Runtime.PythonDynamicStackFrame)-> 09441a48(IronPython.Runtime.FunctionCode)-> ... So it looks like it might be related to dynamic stack frames -- something that is in thread local storage and not getting cleaned up. - Jeff From dinov at microsoft.com Fri Apr 2 22:52:42 2010 From: dinov at microsoft.com (Dino Viehland) Date: Fri, 2 Apr 2010 20:52:42 +0000 Subject: [IronPython] IronPython with CherryPy through WSGI Memory issue In-Reply-To: References: <1A472770E042064698CB5ADC83A12ACD394E46D9@TK5EX14MBXC118.redmond.corp.microsoft.com> <1A472770E042064698CB5ADC83A12ACD394E638A@TK5EX14MBXC118.redmond.corp.microsoft.com> Message-ID: <1A472770E042064698CB5ADC83A12ACD394EE7E1@TK5EX14MBXC118.redmond.corp.microsoft.com> Jeff wrote: > I'm seeing a lot of objects with !gcroots that start with > > DOMAIN(005F5F48):HANDLE(Strong):161100:Root:02913dac(System.Threading.Thread)- > > > 0b93e034(System.Object[][])-> > 0b93e048(System.Object[])-> > 223edd34(System.Collections.Generic.List`1[[Microsoft.Scripting.Runtime.Dynami > cStackFrame, > Microsoft.Dynamic]])-> > 223edd6c(System.Object[])-> > 223edd4c(IronPython.Runtime.PythonDynamicStackFrame)-> > 09441a48(IronPython.Runtime.FunctionCode)-> > ... > > So it looks like it might be related to dynamic stack frames -- > something that is in thread local storage and not getting cleaned up. Is this 2.6 or 2.6.1RC? I wonder if this could be the finalizer thread. !do on the thread object should give you the managed thread ID which can be associated with the values in !threads. Anyway this is definitely the exception leak - which is now fixed for 2.7. If This is happening on the finalizer thread then maybe there's somewhere else we need to clear this data for pre-2.7. From jdhardy at gmail.com Sat Apr 3 00:29:00 2010 From: jdhardy at gmail.com (Jeff Hardy) Date: Fri, 2 Apr 2010 16:29:00 -0600 Subject: [IronPython] IronPython with CherryPy through WSGI Memory issue In-Reply-To: <1A472770E042064698CB5ADC83A12ACD394EE7E1@TK5EX14MBXC118.redmond.corp.microsoft.com> References: <1A472770E042064698CB5ADC83A12ACD394E46D9@TK5EX14MBXC118.redmond.corp.microsoft.com> <1A472770E042064698CB5ADC83A12ACD394E638A@TK5EX14MBXC118.redmond.corp.microsoft.com> <1A472770E042064698CB5ADC83A12ACD394EE7E1@TK5EX14MBXC118.redmond.corp.microsoft.com> Message-ID: On Fri, Apr 2, 2010 at 2:52 PM, Dino Viehland wrote: > Is this 2.6 or 2.6.1RC? ?I wonder if this could be the finalizer thread. > !do on the thread object should give you the managed thread ID which can be > associated with the values in !threads. This is 2.6.0. It looks like its one of the server's worker threads (I'm just using the built-in VS webserver), at least from a random sample of objects. Are the fixes in 2.6.1 RC1? > > Anyway this is definitely the exception leak - which is now fixed for 2.7. ?If > This is happening on the finalizer thread then maybe there's somewhere else we > need to clear this data for pre-2.7. I hate to ask the ETA for 2.7 is - fall, probably? - Jeff From jdhardy at gmail.com Sat Apr 3 00:36:03 2010 From: jdhardy at gmail.com (Jeff Hardy) Date: Fri, 2 Apr 2010 16:36:03 -0600 Subject: [IronPython] IronPython with CherryPy through WSGI Memory issue In-Reply-To: References: <1A472770E042064698CB5ADC83A12ACD394E46D9@TK5EX14MBXC118.redmond.corp.microsoft.com> <1A472770E042064698CB5ADC83A12ACD394E638A@TK5EX14MBXC118.redmond.corp.microsoft.com> <1A472770E042064698CB5ADC83A12ACD394EE7E1@TK5EX14MBXC118.redmond.corp.microsoft.com> Message-ID: On Fri, Apr 2, 2010 at 4:29 PM, Jeff Hardy wrote: > On Fri, Apr 2, 2010 at 2:52 PM, Dino Viehland wrote: >> Is this 2.6 or 2.6.1RC? ?I wonder if this could be the finalizer thread. >> !do on the thread object should give you the managed thread ID which can be >> associated with the values in !threads. > > This is 2.6.0. And it looks like 2.6.1 RC1 has basically the same behaviour. - Jeff From dinov at microsoft.com Sat Apr 3 04:06:07 2010 From: dinov at microsoft.com (Dino Viehland) Date: Sat, 3 Apr 2010 02:06:07 +0000 Subject: [IronPython] IronPython with CherryPy through WSGI Memory issue In-Reply-To: References: <1A472770E042064698CB5ADC83A12ACD394E46D9@TK5EX14MBXC118.redmond.corp.microsoft.com> <1A472770E042064698CB5ADC83A12ACD394E638A@TK5EX14MBXC118.redmond.corp.microsoft.com> <1A472770E042064698CB5ADC83A12ACD394EE7E1@TK5EX14MBXC118.redmond.corp.microsoft.com> Message-ID: <1A472770E042064698CB5ADC83A12ACD394EF8DB@TK5EX14MBXC118.redmond.corp.microsoft.com> Jeff wrote: > I hate to ask the ETA for 2.7 is - fall, probably? End of year is what we've been saying. From dinov at microsoft.com Sat Apr 3 04:06:51 2010 From: dinov at microsoft.com (Dino Viehland) Date: Sat, 3 Apr 2010 02:06:51 +0000 Subject: [IronPython] IronPython with CherryPy through WSGI Memory issue In-Reply-To: References: <1A472770E042064698CB5ADC83A12ACD394E46D9@TK5EX14MBXC118.redmond.corp.microsoft.com> <1A472770E042064698CB5ADC83A12ACD394E638A@TK5EX14MBXC118.redmond.corp.microsoft.com> <1A472770E042064698CB5ADC83A12ACD394EE7E1@TK5EX14MBXC118.redmond.corp.microsoft.com> Message-ID: <1A472770E042064698CB5ADC83A12ACD394EF8FE@TK5EX14MBXC118.redmond.corp.microsoft.com> Jeff wrote: > This is 2.6.0. It looks like its one of the server's worker threads > (I'm just using the built-in VS webserver), at least from a random > sample of objects. > > Are the fixes in 2.6.1 RC1? Yes there are some fixes in 2.6.1 RC1 but obviously they're not working. Can you clear the exception data from the server at all? From cgencer at gmail.com Sat Apr 3 17:15:12 2010 From: cgencer at gmail.com (Can Gencer) Date: Sat, 3 Apr 2010 17:15:12 +0200 Subject: [IronPython] IronPython with CherryPy through WSGI Memory issue In-Reply-To: <1A472770E042064698CB5ADC83A12ACD394EE7E1@TK5EX14MBXC118.redmond.corp.microsoft.com> References: <1A472770E042064698CB5ADC83A12ACD394E46D9@TK5EX14MBXC118.redmond.corp.microsoft.com> <1A472770E042064698CB5ADC83A12ACD394E638A@TK5EX14MBXC118.redmond.corp.microsoft.com> <1A472770E042064698CB5ADC83A12ACD394EE7E1@TK5EX14MBXC118.redmond.corp.microsoft.com> Message-ID: I do not have the DynamicStackFrame problem, though I do not have Frames enabled. I 've managed to solve all the memory leak issues now (hopefully), the last one was caused by the session handler in CherryPy. The cleanup thread was not being started due to some reason. It seems that you have to call the cherrypy.session object at least once to start up the cleanup thread. I use the wsgi.py found in FePy like this (if anyone is interested in trying it out..) public void ProcessRequest(HttpContext context) { var func = GetWsgiFunction(); func.__code__.Target.DynamicInvoke(func, context, GetApplicationCallable(_engine), context.ApplicationPath); } private PythonFunction GetWsgiFunction() { if (_wsgiFunction = null) { ScriptScope scope = _engine.CreateScope(); _engine.CreateScriptSourceFromString("import wsgi").Execute(scope); _wsgiFunction = scope.GetVariable("wsgi").Get__dict__()["run_application"] as PythonFunction; } return _wsgiMethod; } GetApplicationCallable returns the application callable that is created by CherryPy, that you get like this: import cherrypy application = cherrypy.tree.mount(root, "/") On Fri, Apr 2, 2010 at 10:52 PM, Dino Viehland wrote: > > > Jeff wrote: >> I'm seeing a lot of objects with !gcroots that start with >> >> DOMAIN(005F5F48):HANDLE(Strong):161100:Root:02913dac(System.Threading.Thread)- >> > >> 0b93e034(System.Object[][])-> >> 0b93e048(System.Object[])-> >> 223edd34(System.Collections.Generic.List`1[[Microsoft.Scripting.Runtime.Dynami >> cStackFrame, >> Microsoft.Dynamic]])-> >> 223edd6c(System.Object[])-> >> 223edd4c(IronPython.Runtime.PythonDynamicStackFrame)-> >> 09441a48(IronPython.Runtime.FunctionCode)-> >> ... >> >> So it looks like it might be related to dynamic stack frames -- >> something that is in thread local storage and not getting cleaned up. > > Is this 2.6 or 2.6.1RC? ?I wonder if this could be the finalizer thread. > !do on the thread object should give you the managed thread ID which can be > associated with the values in !threads. > > Anyway this is definitely the exception leak - which is now fixed for 2.7. ?If > This is happening on the finalizer thread then maybe there's somewhere else we > need to clear this data for pre-2.7. > > > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > From michael at voidspace.org.uk Sun Apr 4 22:24:39 2010 From: michael at voidspace.org.uk (Michael Foord) Date: Sun, 04 Apr 2010 21:24:39 +0100 Subject: [IronPython] winforms and avalon samples Message-ID: <4BB8F587.30708@voidspace.org.uk> Hello guys, It seems like the tutorial installed with IronPython 2.6 refer to the winforms and avalon modules that used to be shipped with IronPython, but aren't any more? > The Tutorial installed as part of 2.6 still refers to winforms ( file://localhost/C:/Program%20Files/IronPython%202.6/Tutorial/Tutorial.htm#T2.2 >). > I don't see it in the 2.6 distribution, nor is "avalon", which also appears > in the Tutorial. I can entirely understand that you abandoned them; I just > want to get my story straight, before I turn students loose on the installed > Tutorial. > All the best, Michael -- http://www.ironpythoninaction.com/ http://www.voidspace.org.uk/blog READ CAREFULLY. By accepting and reading this email you agree, on behalf of your employer, to release me from all obligations and waivers arising from any and all NON-NEGOTIATED agreements, licenses, terms-of-service, shrinkwrap, clickwrap, browsewrap, confidentiality, non-disclosure, non-compete and acceptable use policies (?BOGUS AGREEMENTS?) that I have entered into with your employer, its partners, licensors, agents and assigns, in perpetuity, without prejudice to my ongoing rights and privileges. You further represent that you have the authority to release me from any BOGUS AGREEMENTS on behalf of your employer. From merllab at microsoft.com Mon Apr 5 17:53:30 2010 From: merllab at microsoft.com (merllab at microsoft.com) Date: Mon, 5 Apr 2010 08:53:30 -0700 Subject: [IronPython] IronPython 2.6 CodePlex Source Update Message-ID: <58d62421-56e2-472a-813b-cd7033eff4fd@tk5-exsmh-c101.redmond.corp.microsoft.com> This is an automated email letting you know that sources have recently been pushed out. You can download these newer sources directly from http://ironpython.codeplex.com/SourceControl/changeset/view/65283. ADDED SOURCES $/IronPython/IronPython_Main/Src/Hosts/SilverLight/Microsoft.Scripting.Silverlight/repl_formatter.rb $/IronPython/IronPython_Main/Src/Hosts/SilverLight/Microsoft.Scripting.Silverlight/repl_formatter.py MODIFIED SOURCES $/IronPython/IronPython_Main/Src/Hosts/SilverLight/Microsoft.Scripting.Silverlight/repl_formatter.rb $/IronPython/IronPython_Main/Src/Hosts/SilverLight/Microsoft.Scripting.Silverlight/repl_formatter.py $/IronPython/IronPython_Main/Src/Hosts/SilverLight/Microsoft.Scripting.Silverlight/init.rb $/IronPython/IronPython_Main/Src/Hosts/SilverLight/Microsoft.Scripting.Silverlight/DynamicScriptTags.cs $/IronPython/IronPython_Main/Src/Hosts/SilverLight/Microsoft.Scripting.Silverlight/XamlScriptTags.cs $/IronPython/IronPython_Main/Src/Runtime/Microsoft.Dynamic/ComInterop/ComInvokeBinder.cs $/IronPython/IronPython_Main/Src/Runtime/Microsoft.Dynamic/ComInterop/ComFallbackMetaObject.cs $/IronPython/IronPython_Main/Src/Runtime/Microsoft.Dynamic/ComInterop/ComBinderHelpers.cs $/IronPython/IronPython_Main/Src/Runtime/Microsoft.Dynamic/ComInterop/ComMetaObject.cs $/IronPython/IronPython_Main/Src/Runtime/Microsoft.Dynamic/ComInterop/ConvertibleArgBuilder.cs $/IronPython/IronPython_Main/Src/Runtime/Microsoft.Dynamic/ComInterop/ConversionArgBuilder.cs $/IronPython/IronPython_Main/Src/Runtime/Microsoft.Dynamic/ComInterop/BoolArgBuilder.cs $/IronPython/IronPython_Main/Src/Hosts/SilverLight/Microsoft.Scripting.Silverlight/BrowserVirtualFilesystem.cs $/IronPython/IronPython_Main/Src/Hosts/SilverLight/Microsoft.Scripting.Silverlight/DynamicEngine.cs $/IronPython/IronPython_Main/Src/Hosts/SilverLight/Microsoft.Scripting.Silverlight/agdlr.css $/IronPython/IronPython_Main/Src/Hosts/SilverLight/Microsoft.Scripting.Silverlight/Repl.cs $/IronPython/IronPython_Main/Src/Hosts/SilverLight/Chiron/HttpSocket.cs $/IronPython/IronPython_Main/Src/Hosts/SilverLight/Chiron/App.config $/IronPython/IronPython_Main/Src/Hosts/SilverLight/Microsoft.Scripting.Silverlight/Microsoft.Scripting.Silverlight.csproj $/IronPython/IronPython_Main/Src/Runtime/Microsoft.Dynamic/ComInterop/VariantArgBuilder.cs $/IronPython/IronPython_Main/Src/Runtime/Microsoft.Dynamic/ComInterop/StringArgBuilder.cs $/IronPython/IronPython_Main/Src/Runtime/Microsoft.Dynamic/ComInterop/UnknownArgBuilder.cs $/IronPython/IronPython_Main/Src/Runtime/Microsoft.Dynamic/ComInterop/DispatchArgBuilder.cs $/IronPython/IronPython_Main/Src/Runtime/Microsoft.Dynamic/ComInterop/DateTimeArgBuilder.cs $/IronPython/IronPython_Main/Src/Runtime/Microsoft.Dynamic/ComInterop/ErrorArgBuilder.cs $/IronPython/IronPython_Main/Src/Hosts/SilverLight/Chiron/LanguageInfo.cs $/IronPython/IronPython_Main/Src/Hosts/SilverLight/Chiron/XapBuilder.cs $/IronPython/IronPython_Main/Src/Hosts/SilverLight/Microsoft.Scripting.Silverlight/DynamicApplication.cs $/IronPython/IronPython_Main/Src/Hosts/SilverLight/Microsoft.Scripting.Silverlight/ExtensionTypes.cs $/IronPython/IronPython_Main/Src/Hosts/SilverLight/Chiron/Chiron.cs $/IronPython/IronPython_Main/Src/Hosts/SilverLight/Chiron/HttpServer.cs $/IronPython/IronPython_Main/Src/IronPython/Runtime/PythonOptions.cs $/IronPython/IronPython_Main/Src/IronPython.Modules/IronPython.Modules.csproj $/IronPython/IronPython_Main/Src/IronPython/Compiler/Ast/FunctionDefinition.cs $/IronPython/IronPython_Main/Src/IronPython/IronPython.csproj $/IronPython/IronPython_Main/Src/Runtime/Microsoft.Dynamic/Interpreter/BranchLabel.cs $/IronPython/IronPython_Main/Src/Runtime/Microsoft.Dynamic/Interpreter/Instructions/ControlFlowInstructions.cs $/IronPython/IronPython_Main/Src/Runtime/Microsoft.Dynamic/Interpreter/Instructions/InstructionList.cs $/IronPython/IronPython_Main/Src/Runtime/Microsoft.Dynamic/Interpreter/Instructions/TypeOperations.cs $/IronPython/IronPython_Main/Src/Runtime/Microsoft.Dynamic/Interpreter/Instructions/InstructionFactory.cs $/IronPython/IronPython_Main/Src/Runtime/Microsoft.Dynamic/Interpreter/Instructions/LocalAccess.cs $/IronPython/IronPython_Main/Src/Runtime/Microsoft.Dynamic/Interpreter/Interpreter.cs $/IronPython/IronPython_Main/Src/Runtime/Microsoft.Dynamic/Interpreter/InterpretedFrame.cs $/IronPython/IronPython_Main/Src/Runtime/Microsoft.Dynamic/Interpreter/LocalVariables.cs $/IronPython/IronPython_Main/Src/Runtime/Microsoft.Dynamic/Interpreter/LightLambdaClosureVisitor.cs $/IronPython/IronPython_Main/Src/Runtime/Microsoft.Dynamic/Interpreter/LightCompiler.cs $/IronPython/IronPython_Main/Src/Runtime/Microsoft.Dynamic/Interpreter/LightDelegateCreator.cs $/IronPython/IronPython_Main/Src/Runtime/Microsoft.Dynamic/Interpreter/LoopCompiler.cs $/IronPython/IronPython_Main/Src/Runtime/Microsoft.Dynamic/Utils/HashSet.cs CHECKIN COMMENTS -------------------------------------------------------------------------------- Changeset Id: 1712859 Date: 4/5/2010 1:36:21 AM Silverlight fixes from PyCon and MIX ==================================== Touches IronPython/IronRuby, Microsoft.Scripting.Silverlight, and Chiron. ------------------- IronPython/IronRuby ------------------- - IronPython.csproj was mistakenly looking for System.Core when referencing System.Numerics - IronPython.Modules.csproj and Ruby.csproj weren't using the $(SignedSym) in Silverlight builds, and IronPython.Modules.csproj needed a reference to System.Numerics for Silverlight 4 builds ------------------------------- Microsoft.Scripting.Silverlight ------------------------------- Zip-file script-tags ++++++++++++++++++++ Script-tags now support zip-file sources, for packaging assemblies, any other binary data, or large script libraries. The zip-file name is then recognized as a top-level directory on the virtual file-system, so import/require will load files out of there, as well directly opening the file. NOTE: When using zip-file script-tags AND running on localhost (non-internet location) AND using the binaries hosted online (gestalt.ironpython.net, or any other internet location), the downloader fails over to a XmlHttpRequest downloader, which has limitations with handling binary data in Internet Explorer. While I've tried to work around them, performance of loading a 100k+ zip file in IE comes to a crawl. Since this scenario is only apparent during development, the work-around is to download the DLR+Language binaries and depend on them locally. This is not an issue when both the application and the DLR assemblies are hosted on an internet location (foo.com and gestalt.ironpython.net, for example), as then the Silverlight downloader will be used, which handles binary data just fine. Let me reiterate that this is only an issue for Internet Explorer. Python DOM event handling +++++++++++++++++++++++++ DOM event handling in Python is also improved by a slight change in DOM event handling syntax: def say_hello(*args): print "Hello!" document.button.events.onclick += say_hello Every HtmlObject has an "events" property, which allows you to hook DOM events with the += syntax. Deferred XAML loading +++++++++++++++++++++ XAML script-tags now support the "defer" attribute, still creating a Silverlight control but not loading the XAML: This allows the script to control when the Silverlight loading animation stops. REPL formatting per language ++++++++++++++++++++++++++++ Now the REPL has custom formatting per language; prompt color, result inspection, etc. For example, Python's prompt is now yellow, and no longer shows the Ruby "=>" for non "None" return values. REPL demo mode ++++++++++++++ If demoing the build-in REPL on a projector for a decent-sized room, you can add the "demo" ID to the body tag to double the size and fonts of the console window. Other fixes +++++++++++ - REPL style fixes across IE, FF, Chrome, Safari - Fix OOB support - Stack overflow fix for missing DOM properties in Ruby - Fix Safari property setting in Ruby - FIX DLRConsole when running against unsigned binaries - FIX both Ruby and Python "photos" sample ------ Chiron ------ Previously Chiron used the "externalUrlPrefix" setting to decide whether or not the DLR assemblies should be put in the XAP, or Silverlight 3's transparent platform extensions (TPEs) should be used instead. However, only the DLR assemblies are ever used as TPEs; the languages are either in the XAP as assemblies or downloaded if used. So these two ideas are now split appart, mainly to allow generating a XAP file that will work with Moonlight 2. - 'useExtensions' toggle tells Chiron to generate a XAP file which loads the DLR via Silverlight's transparent platform extensions (if set to true), or just put the DLR assemblies in the XAP (if set to false). - 'detectLanguages' toggle to tell Chiron to detect what language the app uses by just looking through the folder which will be zipped. If true, it will detect the languages and make sure the language assemblies are avaliable to the XAP file (either as DLLs or SLVXs, dependent on the useExtensions value). Otherwise, it does no language detection (in this case Microsoft.Scripting.Silverlight is responcible for doing language detection and downloading of language assemblies). Also, to better support the downloading of the language binaries, urlPrefix has been "undepricated", and externalUrlPrefix has been removed. Now *any file* (not just DLLs or PDBs) in the localAssemblyPath will be served from the urlPrefix URL. Other fixes/tweaks ++++++++++++++++++ - By default it generates a XAP that can be installed OOB - Now works as an internet-facing web-server, rather than just listening on localhost. - Allows files to be cached from Chiron (use to send the no-cache header) Note: Though the gestalt-style application model does not require Chiron to be used by application developers, Chiron is still a very useful tool for language developers to test Silverlight applications under their language, since it automatically picks up new language/DLR binaries. Also, using Chiron and generating a unique XAP per application is the only way to write OOB-enabled applications. So Chiron will continue to be supported as a web-server and XAP generator for dynamic language applications. -------------- Infrastructure -------------- - Silverlight build drops now contain dlr.js and dlr.xap - Now support building against Silverlight 4 RC (Shelveset: slpyconmix;REDMOND\jimmysch | SNAP CheckinId: 10647) -------------------------------------------------------------------------------- Changeset Id: 1712319 Date: 4/3/2010 6:01:11 PM Supports shadowing of variables. We now undefined variables when they go out of scope and keep track of variables being redfined below the current scope. When a variable gets boxed to a closure we now only box the relevant ranges. Because of this LocalVariables is a more expensive data structure so I?ve made it so we don?t hold onto it after compilation ? instead we flow in information such as closure size where we need it. For closued over parameters we now we emit a parameter initialization instruction which by default does nothing. When we box the parameter we change it into an instruction which creates a strong box around the initial parameter value. This also removes our ?BoxLocals? phase when entering a method which may have been boxing too much. The loop compiler also gets updated ? it just needs to track variables which are local to the loop. Adds the TypeAs instruction which was missing. Fixes a bug w/ Goto expression. When the goto has a value but that value is void we?re not accurately tracking the stack size. (Shelveset: InterpreterBugsFinal2;REDMOND\dinov | SNAP CheckinId: 10644) -------------------------------------------------------------------------------- Changeset Id: 1712859 Date: 4/5/2010 1:36:21 AM Silverlight fixes from PyCon and MIX ==================================== Touches IronPython/IronRuby, Microsoft.Scripting.Silverlight, and Chiron. ------------------- IronPython/IronRuby ------------------- - IronPython.csproj was mistakenly looking for System.Core when referencing System.Numerics - IronPython.Modules.csproj and Ruby.csproj weren't using the $(SignedSym) in Silverlight builds, and IronPython.Modules.csproj needed a reference to System.Numerics for Silverlight 4 builds ------------------------------- Microsoft.Scripting.Silverlight ------------------------------- Zip-file script-tags ++++++++++++++++++++ Script-tags now support zip-file sources, for packaging assemblies, any other binary data, or large script libraries. The zip-file name is then recognized as a top-level directory on the virtual file-system, so import/require will load files out of there, as well directly opening the file. NOTE: When using zip-file script-tags AND running on localhost (non-internet location) AND using the binaries hosted online (gestalt.ironpython.net, or any other internet location), the downloader fails over to a XmlHttpRequest downloader, which has limitations with handling binary data in Internet Explorer. While I've tried to work around them, performance of loading a 100k+ zip file in IE comes to a crawl. Since this scenario is only apparent during development, the work-around is to download the DLR+Language binaries and depend on them locally. This is not an issue when both the application and the DLR assemblies are hosted on an internet location (foo.com and gestalt.ironpython.net, for example), as then the Silverlight downloader will be used, which handles binary data just fine. Let me reiterate that this is only an issue for Internet Explorer. Python DOM event handling +++++++++++++++++++++++++ DOM event handling in Python is also improved by a slight change in DOM event handling syntax: def say_hello(*args): print "Hello!" document.button.events.onclick += say_hello Every HtmlObject has an "events" property, which allows you to hook DOM events with the += syntax. Deferred XAML loading +++++++++++++++++++++ XAML script-tags now support the "defer" attribute, still creating a Silverlight control but not loading the XAML: This allows the script to control when the Silverlight loading animation stops. REPL formatting per language ++++++++++++++++++++++++++++ Now the REPL has custom formatting per language; prompt color, result inspection, etc. For example, Python's prompt is now yellow, and no longer shows the Ruby "=>" for non "None" return values. REPL demo mode ++++++++++++++ If demoing the build-in REPL on a projector for a decent-sized room, you can add the "demo" ID to the body tag to double the size and fonts of the console window. Other fixes +++++++++++ - REPL style fixes across IE, FF, Chrome, Safari - Fix OOB support - Stack overflow fix for missing DOM properties in Ruby - Fix Safari property setting in Ruby - FIX DLRConsole when running against unsigned binaries - FIX both Ruby and Python "photos" sample ------ Chiron ------ Previously Chiron used the "externalUrlPrefix" setting to decide whether or not the DLR assemblies should be put in the XAP, or Silverlight 3's transparent platform extensions (TPEs) should be used instead. However, only the DLR assemblies are ever used as TPEs; the languages are either in the XAP as assemblies or downloaded if used. So these two ideas are now split appart, mainly to allow generating a XAP file that will work with Moonlight 2. - 'useExtensions' toggle tells Chiron to generate a XAP file which loads the DLR via Silverlight's transparent platform extensions (if set to true), or just put the DLR assemblies in the XAP (if set to false). - 'detectLanguages' toggle to tell Chiron to detect what language the app uses by just looking through the folder which will be zipped. If true, it will detect the languages and make sure the language assemblies are avaliable to the XAP file (either as DLLs or SLVXs, dependent on the useExtensions value). Otherwise, it does no language detection (in this case Microsoft.Scripting.Silverlight is responcible for doing language detection and downloading of language assemblies). Also, to better support the downloading of the language binaries, urlPrefix has been "undepricated", and externalUrlPrefix has been removed. Now *any file* (not just DLLs or PDBs) in the localAssemblyPath will be served from the urlPrefix URL. Other fixes/tweaks ++++++++++++++++++ - By default it generates a XAP that can be installed OOB - Now works as an internet-facing web-server, rather than just listening on localhost. - Allows files to be cached from Chiron (use to send the no-cache header) Note: Though the gestalt-style application model does not require Chiron to be used by application developers, Chiron is still a very useful tool for language developers to test Silverlight applications under their language, since it automatically picks up new language/DLR binaries. Also, using Chiron and generating a unique XAP per application is the only way to write OOB-enabled applications. So Chiron will continue to be supported as a web-server and XAP generator for dynamic language applications. -------------- Infrastructure -------------- - Silverlight build drops now contain dlr.js and dlr.xap - Now support building against Silverlight 4 RC (Shelveset: slpyconmix;REDMOND\jimmysch | SNAP CheckinId: 10647) From merllab at microsoft.com Mon Apr 5 21:07:32 2010 From: merllab at microsoft.com (merllab at microsoft.com) Date: Mon, 5 Apr 2010 12:07:32 -0700 Subject: [IronPython] IronPython 2.6 CodePlex Source Update Message-ID: This is an automated email letting you know that sources have recently been pushed out. You can download these newer sources directly from http://ironpython.codeplex.com/SourceControl/changeset/view/65287. MODIFIED SOURCES $/IronPython/IronPython_2_6/Src/Runtime/Microsoft.Dynamic/ComInterop/ComFallbackMetaObject.cs $/IronPython/IronPython_2_6/Src/Runtime/Microsoft.Dynamic/ComInterop/ConvertibleArgBuilder.cs $/IronPython/IronPython_2_6/Src/Runtime/Microsoft.Dynamic/ComInterop/ConversionArgBuilder.cs $/IronPython/IronPython_2_6/Src/Runtime/Microsoft.Dynamic/ComInterop/ComBinderHelpers.cs $/IronPython/IronPython_2_6/Src/Runtime/Microsoft.Dynamic/ComInterop/ComMetaObject.cs $/IronPython/IronPython_2_6/Src/Runtime/Microsoft.Dynamic/ComInterop/ComInvokeBinder.cs $/IronPython/IronPython_2_6/Src/Runtime/Microsoft.Dynamic/ComInterop/BoolArgBuilder.cs $/IronPython/IronPython_2_6/Src/Runtime/Microsoft.Dynamic/ComInterop/StringArgBuilder.cs $/IronPython/IronPython_2_6/Src/Runtime/Microsoft.Dynamic/ComInterop/DateTimeArgBuilder.cs $/IronPython/IronPython_2_6/Src/Runtime/Microsoft.Dynamic/ComInterop/ErrorArgBuilder.cs $/IronPython/IronPython_2_6/Src/Runtime/Microsoft.Dynamic/ComInterop/DispatchArgBuilder.cs $/IronPython/IronPython_2_6/Src/Runtime/Microsoft.Dynamic/ComInterop/UnknownArgBuilder.cs $/IronPython/IronPython_2_6/Src/Runtime/Microsoft.Dynamic/ComInterop/VariantArgBuilder.cs From drken567 at gmail.com Mon Apr 5 21:25:54 2010 From: drken567 at gmail.com (Ken MacDonald) Date: Mon, 5 Apr 2010 15:25:54 -0400 Subject: [IronPython] WPF / ipy minimize weirdness? Message-ID: Hi, I have a WPF app and I'm trying to mess with WindowState. I have two windows, a modal selection dialog, and a main window. If I bring up the selection dialog with the main window in background, and minimize the selection dialog, it leaves the main window visible but you can't interact with it. So far, normal. If I make a selection, the select dialog closes leaving the main window, and I can minimize the main window using the standard windows controls, and restore it from the taskbar. OK so far. However, I want to get it working like this: if I minimize the selection dialog, I'd like to minimize the main window also. So, I added an event listener on StateChanged, something like: def state_changed(...): if self._w.WindowState == WindowState.Minimized: main_window.WindowState = WindowState.Minimized This captures the minimize event, both the selection dialog and main window minimize, BUT now I can't right-or-left-click on the minimized app to get it to restore, and have to kill the app using task manager. Also, it appears that instead of having two windows represented on the taskbar, only the main window is left - even though I should still have both the select dialog and the main window minimized. Is there some magic state I need to set in the main window to be able to have it restore again? Why should it make a difference whether the minimize is done by the main window 'min' button, or by setting its WindowState? Ken -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jimmy.Schementi at microsoft.com Mon Apr 5 22:08:54 2010 From: Jimmy.Schementi at microsoft.com (Jimmy Schementi) Date: Mon, 5 Apr 2010 20:08:54 +0000 Subject: [IronPython] winforms and avalon samples In-Reply-To: <4BB8F587.30708@voidspace.org.uk> References: <4BB8F587.30708@voidspace.org.uk> Message-ID: <1B42307CD4AADD438CDDA2FE1121CC921731C7C4@TK5EX14MBXC136.redmond.corp.microsoft.com> avalon.py and winforms.py are still in the "Tutorial" directory of the IronPython binary zip, as well as in the installer ... -----Original Message----- From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Michael Foord Sent: Sunday, April 04, 2010 1:25 PM To: Discussion of IronPython Cc: Cameron Laird Subject: [IronPython] winforms and avalon samples Hello guys, It seems like the tutorial installed with IronPython 2.6 refer to the winforms and avalon modules that used to be shipped with IronPython, but aren't any more? > The Tutorial installed as part of 2.6 still refers to winforms ( file://localhost/C:/Program%20Files/IronPython%202.6/Tutorial/Tutorial.htm#T2.2 >). > I don't see it in the 2.6 distribution, nor is "avalon", which also appears > in the Tutorial. I can entirely understand that you abandoned them; I just > want to get my story straight, before I turn students loose on the installed > Tutorial. > All the best, Michael -- http://www.ironpythoninaction.com/ http://www.voidspace.org.uk/blog READ CAREFULLY. By accepting and reading this email you agree, on behalf of your employer, to release me from all obligations and waivers arising from any and all NON-NEGOTIATED agreements, licenses, terms-of-service, shrinkwrap, clickwrap, browsewrap, confidentiality, non-disclosure, non-compete and acceptable use policies ("BOGUS AGREEMENTS") that I have entered into with your employer, its partners, licensors, agents and assigns, in perpetuity, without prejudice to my ongoing rights and privileges. You further represent that you have the authority to release me from any BOGUS AGREEMENTS on behalf of your employer. _______________________________________________ Users mailing list Users at lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com From fuzzyman at voidspace.org.uk Mon Apr 5 22:10:04 2010 From: fuzzyman at voidspace.org.uk (Michael Foord) Date: Mon, 05 Apr 2010 21:10:04 +0100 Subject: [IronPython] winforms and avalon samples In-Reply-To: <1B42307CD4AADD438CDDA2FE1121CC921731C7C4@TK5EX14MBXC136.redmond.corp.microsoft.com> References: <4BB8F587.30708@voidspace.org.uk> <1B42307CD4AADD438CDDA2FE1121CC921731C7C4@TK5EX14MBXC136.redmond.corp.microsoft.com> Message-ID: <4BBA439C.5030702@voidspace.org.uk> On 05/04/2010 21:08, Jimmy Schementi wrote: > avalon.py and winforms.py are still in the "Tutorial" directory of the IronPython binary zip, as well as in the installer ... > Thanks Jimmy. Michael > -----Original Message----- > From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Michael Foord > Sent: Sunday, April 04, 2010 1:25 PM > To: Discussion of IronPython > Cc: Cameron Laird > Subject: [IronPython] winforms and avalon samples > > Hello guys, > > It seems like the tutorial installed with IronPython 2.6 refer to the > winforms and avalon modules that used to be shipped with IronPython, but > aren't any more? > > >> The Tutorial installed as part of 2.6 still refers to winforms (> file://localhost/C:/Program%20Files/IronPython%202.6/Tutorial/Tutorial.htm#T2.2>). >> I don't see it in the 2.6 distribution, nor is "avalon", which also appears >> in the Tutorial. I can entirely understand that you abandoned them; I just >> want to get my story straight, before I turn students loose on the installed >> Tutorial. >> >> > All the best, > > Michael > > -- http://www.ironpythoninaction.com/ http://www.voidspace.org.uk/blog READ CAREFULLY. By accepting and reading this email you agree, on behalf of your employer, to release me from all obligations and waivers arising from any and all NON-NEGOTIATED agreements, licenses, terms-of-service, shrinkwrap, clickwrap, browsewrap, confidentiality, non-disclosure, non-compete and acceptable use policies (?BOGUS AGREEMENTS?) that I have entered into with your employer, its partners, licensors, agents and assigns, in perpetuity, without prejudice to my ongoing rights and privileges. You further represent that you have the authority to release me from any BOGUS AGREEMENTS on behalf of your employer. From Jimmy.Schementi at microsoft.com Tue Apr 6 03:21:31 2010 From: Jimmy.Schementi at microsoft.com (Jimmy Schementi) Date: Tue, 6 Apr 2010 01:21:31 +0000 Subject: [IronPython] Python questions on DLR forums Message-ID: <1B42307CD4AADD438CDDA2FE1121CC921731D2D0@TK5EX14MBXC136.redmond.corp.microsoft.com> Ironpython, os.system does not work correctly but does in regular Python http://social.msdn.microsoft.com/Forums/en-US/dlr/thread/e43322ce-a0b8-483e-a69d-416e73381666 IronPython using WCF client w config http://social.msdn.microsoft.com/Forums/en-US/dlr/thread/0c08afaa-252f-442e-b8d2-e1cdb9e0d522 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jimmy.Schementi at microsoft.com Tue Apr 6 08:20:02 2010 From: Jimmy.Schementi at microsoft.com (Jimmy Schementi) Date: Tue, 6 Apr 2010 06:20:02 +0000 Subject: [IronPython] IronPython for asp.net and codefiles In-Reply-To: <8cd017b81003241309x7c035087kd7f3c9d2cd4e7d94@mail.gmail.com> References: <8cd017b81003210149m19020d65h2d2ec108cb9c3e1c@mail.gmail.com> <1B42307CD4AADD438CDDA2FE1121CC921015067C@TK5EX14MBXC134.redmond.corp.microsoft.com> <8cd017b81003241309x7c035087kd7f3c9d2cd4e7d94@mail.gmail.com> Message-ID: <1B42307CD4AADD438CDDA2FE1121CC921731D9A1@TK5EX14MBXC136.redmond.corp.microsoft.com> No, currently the caching isn't customizable, but the caching is just the compiled code; the output of the HTML page is not cached at all by the DLR integration, so authentication should work just fine. From: Dody Gunawinata [mailto:empirebuilder at gmail.com] Sent: Wednesday, March 24, 2010 1:09 PM To: Jimmy Schementi Cc: Discussion of IronPython; pablodalma93 at hotmail.com Subject: Re: [IronPython] IronPython for asp.net and codefiles Is there any way to control the when IP for ASP.Net does the caching? I have been using VirtualPathProvider to serve IP ascx/aspx code on demand but I have to disable the caching completely via public override CacheDependency GetCacheDependency because I need to server different codes depending on authentication. On Sun, Mar 21, 2010 at 10:33 PM, Jimmy Schementi > wrote: Pablo, what is the reason you are looking into obfuscation? Is it because you're concerned that people could make requests for your *.aspx.py files and see the Python source? By default any request for a *.aspx.py file should fail because that file extensions is not in the MIME type map on IIS. That should be enough for any obfuscation you need. Note that C#/VB "obfuscation" through compiling to DLLs isn't really obfuscation either; if you had access to the DLL you could get all the source code. However, IIS by default refuses access to the "bin" directory. So, the methods of hiding source code are essentially the same between static and dynamic languages; refuse access to the actual source files. Quick note on compiled modules: Microsoft.Web.Scripting.dll caches compiled Python modules, so on the first visit to an ASPX page that uses IronPython it compiles the code-behind .aspx.py file in memory, and subsequent visits reuses the compiled file. The Python file is only re-compiled if it's changed between requests. ~js From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Dody Gunawinata Sent: Sunday, March 21, 2010 1:49 AM To: Discussion of IronPython Subject: Re: [IronPython] IronPython for asp.net and codefiles If you want to hide your logic from the source, move as much of the functionality to a dll, whether it is a static or ironpython dll. I don't think IronPython for ASP.Net supports compilable asp.net. On Sat, Mar 6, 2010 at 4:52 PM, Pablo Dalmazzo > wrote: Hi there, now I got to work the dlls and I did a small app. which turns my asp.net .py codefile into 2 pieces, a .py codefile which makes only functions calls to a dll with the actual logic code. But I was wondering why IronPython for asp.net was designed without having in mind to allow the .aspx files to be tied with dlls for the sourcecode, for allowing obfuscation just like it's possible to make in VB.NET or C#. Or may be it just wasnt easy at all to do that for IronPython? Is the technical explanation too complicated or may I know about it? Is there information about this somewhere? Greetins, Pablo ________________________________ Tu Hotmail guarda el borrador que est?s escribiendo para que no pierdas tu mensaje. Conoc? c?mo _______________________________________________ Users mailing list Users at lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com -- nomadlife.org -- nomadlife.org -------------- next part -------------- An HTML attachment was scrubbed... URL: From mustaq2001 at gmail.com Tue Apr 6 08:37:27 2010 From: mustaq2001 at gmail.com (mohammad mustaq) Date: Tue, 6 Apr 2010 12:07:27 +0530 Subject: [IronPython] IronPython.Runtime.Types.PythonType Is not marked as Serializable Exception Message-ID: Hi Dino, If have tweaked your code to reproduce the exception that I am facing. Let me know if you need more details. thanks, Mustaq using System; using Microsoft.Scripting; using IronPython.Hosting; using Microsoft.Scripting.Hosting; class Foo { public static void Main(string[] args) { AppDomain ad = AppDomain.CreateDomain("foo"); var engine = Python.CreateEngine(ad); engine.Runtime.LoadAssembly(typeof(MbrBase).Assembly); var code = engine.CreateScriptSourceFromString(@" import MbrBase class C(MbrBase): pass a = C() ", SourceCodeKind.Statements); var scope = engine.CreateScope(); code.Execute(scope); Console.WriteLine("Trying to do it... {0}", AppDomain.CurrentDomain.Id); MbrBase mbr = (MbrBase)scope.GetVariable("a"); // MY CHANGES string isSubClassCode = String.Format("issubclass({0},{1})", "C", "MbrBase"); ScriptSource script = engine.CreateScriptSourceFromString(isSubClassCode, SourceCodeKind.Expression); bool result = (bool)script.Execute(scope); if (result == true) { ObjectOperations ops = engine.Operations; object subClass = scope.GetVariable("C"); object instance = ops.Call(subClass); mbr = instance as MbrBase; } // END OF MY CHANGE mbr.DoItVirtually(); mbr.DoIt(); Console.ReadKey(); } } public class MbrBase : MarshalByRefObject { public virtual void DoItVirtually() { Console.WriteLine("Did it virtually {0}", AppDomain.CurrentDomain.Id ); } public void DoIt() { Console.WriteLine("Did it {0}", AppDomain.CurrentDomain.Id); } } -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jimmy.Schementi at microsoft.com Tue Apr 6 08:42:32 2010 From: Jimmy.Schementi at microsoft.com (Jimmy Schementi) Date: Tue, 6 Apr 2010 06:42:32 +0000 Subject: [IronPython] focus and selecting text in a TextBox with IronPython In-Reply-To: <3468cae11003241354l60bd213ejd449aa23921bf990@mail.gmail.com> References: <3468cae11003241354l60bd213ejd449aa23921bf990@mail.gmail.com> Message-ID: <1B42307CD4AADD438CDDA2FE1121CC921731DA0B@TK5EX14MBXC136.redmond.corp.microsoft.com> Does the equivalent C#/VB code work? I'd think not; it's just a matter of using the TextBox selection APIs correctly. This sounds like a similar issue: http://social.msdn.microsoft.com/Forums/en-US/vbgeneral/thread/81b43024-6164-43c7-a6b6-e2f55c9412c8. Basically, I think you need to call Focus() again after selecting the text programmatically; I ran into the same issue while building my RubyConf demo: http://github.com/jschementi/rubyconf2009/blob/master/sketchscript/features/start.rb#L204. ~js From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Ken MacDonald Sent: Wednesday, March 24, 2010 1:54 PM To: Discussion of IronPython Subject: [IronPython] focus and selecting text in a TextBox with IronPython I'm trying to capture the event of focus being shifted into a text box via mouse click, and would like to highlight the existing text, so that if I start typing the selected text will disappear. i.e. the the box initially contains "", I click into the box, "" is highlighted, and if I type "fred" the initial text will disappear, leaving only "fred". I can capture the focus with: textbox.GotKeyboardFocus += name_keyboard_focus but this handler is doing something wrong: def name_keyboard_focus(self, sender, args): #alert("got focus!") textbox = self.control("NewName") textbox.Focus() textbox.SelectAll() If I add: textbox.Cut() or: alert(textbox.SelectedText) at the end, it's obvious that the SelectAll() has worked, but the text is NOT highlighted, and if I type "fred" I get "fred" appended to the original text, "fred". Any clues appreciated. Ken -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jimmy.Schementi at microsoft.com Tue Apr 6 09:56:53 2010 From: Jimmy.Schementi at microsoft.com (Jimmy Schementi) Date: Tue, 6 Apr 2010 07:56:53 +0000 Subject: [IronPython] WPF / ipy minimize weirdness? In-Reply-To: References: Message-ID: <1B42307CD4AADD438CDDA2FE1121CC921731DC5C@TK5EX14MBXC136.redmond.corp.microsoft.com> Can you manually minimize the modal dialog and then minimize the main window at all? The definition of a modal window is that you must interact with it first before returning to the main application, so I wouldn't think that you could minimize both, and then somehow ever get back to the parent window. Also, you should try reproducing this with C# or VB; this sounds like it has nothing to do with IronPython, just an issue with using the API. From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Ken MacDonald Sent: Monday, April 05, 2010 12:26 PM To: Discussion of IronPython Subject: [IronPython] WPF / ipy minimize weirdness? Hi, I have a WPF app and I'm trying to mess with WindowState. I have two windows, a modal selection dialog, and a main window. If I bring up the selection dialog with the main window in background, and minimize the selection dialog, it leaves the main window visible but you can't interact with it. So far, normal. If I make a selection, the select dialog closes leaving the main window, and I can minimize the main window using the standard windows controls, and restore it from the taskbar. OK so far. However, I want to get it working like this: if I minimize the selection dialog, I'd like to minimize the main window also. So, I added an event listener on StateChanged, something like: def state_changed(...): if self._w.WindowState == WindowState.Minimized: main_window.WindowState = WindowState.Minimized This captures the minimize event, both the selection dialog and main window minimize, BUT now I can't right-or-left-click on the minimized app to get it to restore, and have to kill the app using task manager. Also, it appears that instead of having two windows represented on the taskbar, only the main window is left - even though I should still have both the select dialog and the main window minimized. Is there some magic state I need to set in the main window to be able to have it restore again? Why should it make a difference whether the minimize is done by the main window 'min' button, or by setting its WindowState? Ken -------------- next part -------------- An HTML attachment was scrubbed... URL: From drken567 at gmail.com Tue Apr 6 16:10:16 2010 From: drken567 at gmail.com (Ken MacDonald) Date: Tue, 6 Apr 2010 10:10:16 -0400 Subject: [IronPython] WPF / ipy minimize weirdness? In-Reply-To: <1B42307CD4AADD438CDDA2FE1121CC921731DC5C@TK5EX14MBXC136.redmond.corp.microsoft.com> References: <1B42307CD4AADD438CDDA2FE1121CC921731DC5C@TK5EX14MBXC136.redmond.corp.microsoft.com> Message-ID: Hi Jimmy, Thanks for the note! I was thinking more about this last night - the app is a legacy thing I've taken over, where the modal selection dialog is quite a heavy-weight entity - it captures about the same amount of real estate as the underlying application itself, with a dozen or more controls on it, and the user may be fooling around with it for 4 or 5 minutes at a stretch. We've concluded that it should really just present as a separate page on the app, rather than as a modal dialog, and probably next release we'll be moving toward that; it solves a stack of other interesting problems as well. For the time being, we are trying to get to a point where someone may have not finished messing with the selection dialog, and wants to just minimize the whole thing (selection and main app window) in order to move to another app. The 'other app' may be another copy of this one, just running on a different data store, thus the need to get rid of (minimize completely) the 1st copy to avoid confusion! Obviously, when we move to a single window design this problem goes away; right now just trying to get the two windows in the app (if the selection dialog is active) to act "in unison". In answer to your question, without any event handlers in place, I can minimize the selection dialog using the standard Windows "_" control, which leaves the main app window in view, but totally disabled - minimize, exit, etc. are disabled along with any of the app's controls. Taskbar still had two icons, one for the dialog and one for the main app, and I could restore the dialog and continue. When I added in an event handler, both the selection and main app windows disappeared, with the modal dialog apparently completely gone (no taskbar icon any more) and the underlying app still waiting for it, so it's taksbar icon was completely disabled, unable to restore, cancel, anything. Hope to get this to work in some fashion, but as I said, I'm going to be turning this into a separate page for a single app at some point so I may find some interim not-quite-what-they-want solution if this turns out to be too much effort to get going. Ken On Tue, Apr 6, 2010 at 3:56 AM, Jimmy Schementi < Jimmy.Schementi at microsoft.com> wrote: > Can you manually minimize the modal dialog and then minimize the main > window at all? The definition of a modal window is that you must interact > with it first before returning to the main application, so I wouldn?t think > that you could minimize both, and then somehow ever get back to the parent > window. > > > > Also, you should try reproducing this with C# or VB; this sounds like it > has nothing to do with IronPython, just an issue with using the API. > > > > *From:* users-bounces at lists.ironpython.com [mailto: > users-bounces at lists.ironpython.com] *On Behalf Of *Ken MacDonald > *Sent:* Monday, April 05, 2010 12:26 PM > *To:* Discussion of IronPython > *Subject:* [IronPython] WPF / ipy minimize weirdness? > > > > Hi, > I have a WPF app and I'm trying to mess with WindowState. I have two > windows, a modal selection dialog, and a main window. If I bring up the > selection dialog with the main window in background, and minimize the > selection dialog, it leaves the main window visible but you can't interact > with it. So far, normal. > > If I make a selection, the select dialog closes leaving the main window, > and I can minimize the main window using the standard windows controls, and > restore it from the taskbar. OK so far. > > However, I want to get it working like this: if I minimize the selection > dialog, I'd like to minimize the main window also. So, I added an event > listener on StateChanged, something like: > > def state_changed(...): > if self._w.WindowState == WindowState.Minimized: > main_window.WindowState = WindowState.Minimized > > This captures the minimize event, both the selection dialog and main window > minimize, BUT now I can't right-or-left-click on the minimized app to get it > to restore, and have to kill the app using task manager. Also, it appears > that instead of having two windows represented on the taskbar, only the main > window is left - even though I should still have both the select dialog and > the main window minimized. > > Is there some magic state I need to set in the main window to be able to > have it restore again? Why should it make a difference whether the minimize > is done by the main window 'min' button, or by setting its WindowState? > Ken > > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From fuzzyman at voidspace.org.uk Tue Apr 6 16:13:19 2010 From: fuzzyman at voidspace.org.uk (Michael Foord) Date: Tue, 06 Apr 2010 15:13:19 +0100 Subject: [IronPython] WPF / ipy minimize weirdness? In-Reply-To: References: <1B42307CD4AADD438CDDA2FE1121CC921731DC5C@TK5EX14MBXC136.redmond.corp.microsoft.com> Message-ID: <4BBB417F.7060401@voidspace.org.uk> Hi Ken, Weird behaviour of a "main window" when a modal dialog is displayed is pretty normal I think. Just a drawback of modal dialogs. Michael On 06/04/2010 15:10, Ken MacDonald wrote: > Hi Jimmy, > Thanks for the note! > > I was thinking more about this last night - the app is a legacy thing > I've taken over, where the modal selection dialog is quite a > heavy-weight entity - it captures about the same amount of real estate > as the underlying application itself, with a dozen or more controls on > it, and the user may be fooling around with it for 4 or 5 minutes at a > stretch. We've concluded that it should really just present as a > separate page on the app, rather than as a modal dialog, and probably > next release we'll be moving toward that; it solves a stack of other > interesting problems as well. > > For the time being, we are trying to get to a point where someone may > have not finished messing with the selection dialog, and wants to just > minimize the whole thing (selection and main app window) in order to > move to another app. The 'other app' may be another copy of this one, > just running on a different data store, thus the need to get rid of > (minimize completely) the 1st copy to avoid confusion! Obviously, when > we move to a single window design this problem goes away; right now > just trying to get the two windows in the app (if the selection dialog > is active) to act "in unison". > > In answer to your question, without any event handlers in place, I can > minimize the selection dialog using the standard Windows "_" control, > which leaves the main app window in view, but totally disabled - > minimize, exit, etc. are disabled along with any of the app's > controls. Taskbar still had two icons, one for the dialog and one for > the main app, and I could restore the dialog and continue. > > When I added in an event handler, both the selection and main app > windows disappeared, with the modal dialog apparently completely gone > (no taskbar icon any more) and the underlying app still waiting for > it, so it's taksbar icon was completely disabled, unable to restore, > cancel, anything. > > Hope to get this to work in some fashion, but as I said, I'm going to > be turning this into a separate page for a single app at some point so > I may find some interim not-quite-what-they-want solution if this > turns out to be too much effort to get going. > Ken > > On Tue, Apr 6, 2010 at 3:56 AM, Jimmy Schementi > > > wrote: > > Can you manually minimize the modal dialog and then minimize the > main window at all? The definition of a modal window is that you > must interact with it first before returning to the main > application, so I wouldn?t think that you could minimize both, and > then somehow ever get back to the parent window. > > Also, you should try reproducing this with C# or VB; this sounds > like it has nothing to do with IronPython, just an issue with > using the API. > > *From:* users-bounces at lists.ironpython.com > > [mailto:users-bounces at lists.ironpython.com > ] *On Behalf Of *Ken > MacDonald > *Sent:* Monday, April 05, 2010 12:26 PM > *To:* Discussion of IronPython > *Subject:* [IronPython] WPF / ipy minimize weirdness? > > Hi, > I have a WPF app and I'm trying to mess with WindowState. I have > two windows, a modal selection dialog, and a main window. If I > bring up the selection dialog with the main window in background, > and minimize the selection dialog, it leaves the main window > visible but you can't interact with it. So far, normal. > > If I make a selection, the select dialog closes leaving the main > window, and I can minimize the main window using the standard > windows controls, and restore it from the taskbar. OK so far. > > However, I want to get it working like this: if I minimize the > selection dialog, I'd like to minimize the main window also. So, I > added an event listener on StateChanged, something like: > > def state_changed(...): > if self._w.WindowState == WindowState.Minimized: > main_window.WindowState = WindowState.Minimized > > This captures the minimize event, both the selection dialog and > main window minimize, BUT now I can't right-or-left-click on the > minimized app to get it to restore, and have to kill the app using > task manager. Also, it appears that instead of having two windows > represented on the taskbar, only the main window is left - even > though I should still have both the select dialog and the main > window minimized. > > Is there some magic state I need to set in the main window to be > able to have it restore again? Why should it make a difference > whether the minimize is done by the main window 'min' button, or > by setting its WindowState? > Ken > > > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > > > > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > -- http://www.ironpythoninaction.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From drken567 at gmail.com Tue Apr 6 16:14:03 2010 From: drken567 at gmail.com (Ken MacDonald) Date: Tue, 6 Apr 2010 10:14:03 -0400 Subject: [IronPython] focus and selecting text in a TextBox with IronPython In-Reply-To: <1B42307CD4AADD438CDDA2FE1121CC921731DA0B@TK5EX14MBXC136.redmond.corp.microsoft.com> References: <3468cae11003241354l60bd213ejd449aa23921bf990@mail.gmail.com> <1B42307CD4AADD438CDDA2FE1121CC921731DA0B@TK5EX14MBXC136.redmond.corp.microsoft.com> Message-ID: Hi Jimmy, Thanks; this thread looks quite interesting and very close to what I want to do. Off chasing something else after I implemented a kind-of-lame workaround, but this looks like an excellent place to make some more progress when I get back onto this problem. Ken On Tue, Apr 6, 2010 at 2:42 AM, Jimmy Schementi < Jimmy.Schementi at microsoft.com> wrote: > Does the equivalent C#/VB code work? I?d think not; it?s just a matter of > using the TextBox selection APIs correctly. This sounds like a similar > issue: > http://social.msdn.microsoft.com/Forums/en-US/vbgeneral/thread/81b43024-6164-43c7-a6b6-e2f55c9412c8. > Basically, I think you need to call Focus() again after selecting the text > programmatically; I ran into the same issue while building my RubyConf demo: > > http://github.com/jschementi/rubyconf2009/blob/master/sketchscript/features/start.rb#L204. > > > > > ~js > > > > *From:* users-bounces at lists.ironpython.com [mailto: > users-bounces at lists.ironpython.com] *On Behalf Of *Ken MacDonald > *Sent:* Wednesday, March 24, 2010 1:54 PM > *To:* Discussion of IronPython > *Subject:* [IronPython] focus and selecting text in a TextBox with > IronPython > > > > I'm trying to capture the event of focus being shifted into a text box via > mouse click, and would like to highlight the existing text, so that if I > start typing the selected text will disappear. i.e. the the box initially > contains "", I click into the box, "" is > highlighted, and if I type "fred" the initial text will disappear, leaving > only "fred". I can capture the focus with: > > textbox.GotKeyboardFocus += name_keyboard_focus > > but this handler is doing something wrong: > > def name_keyboard_focus(self, sender, args): > #alert("got focus!") > textbox = self.control("NewName") > textbox.Focus() > textbox.SelectAll() > > If I add: > > textbox.Cut() > > or: > alert(textbox.SelectedText) > > at the end, it's obvious that the SelectAll() has worked, but the text is > NOT highlighted, and if I type "fred" I get "fred" appended to the original > text, "fred". > > Any clues appreciated. > Ken > > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mustaq2001 at gmail.com Wed Apr 7 07:10:39 2010 From: mustaq2001 at gmail.com (mohammad mustaq) Date: Wed, 7 Apr 2010 10:40:39 +0530 Subject: [IronPython] IronPython.Runtime.Types.PythonType Is not marked as Serializable Exception In-Reply-To: <1A472770E042064698CB5ADC83A12ACD394D33AA@TK5EX14MBXC118.redmond.corp.microsoft.com> References: <1b9598291003292013x64ae07a3j9bb9290a058f9d98@mail.gmail.com> <1A472770E042064698CB5ADC83A12ACD394D33AA@TK5EX14MBXC118.redmond.corp.microsoft.com> Message-ID: Hi Dino, If have tweaked your code to reproduce the exception that I am facing. Let me know if you need more details. thanks, Mustaq using System; using Microsoft.Scripting; using IronPython.Hosting; using Microsoft.Scripting.Hosting; class Foo { public static void Main(string[] args) { AppDomain ad = AppDomain.CreateDomain("foo"); var engine = Python.CreateEngine(ad); engine.Runtime.LoadAssembly( typeof(MbrBase).Assembly); var code = engine.CreateScriptSourceFromString(@" import MbrBase class C(MbrBase): pass a = C() ", SourceCodeKind.Statements); var scope = engine.CreateScope(); code.Execute(scope); Console.WriteLine("Trying to do it... {0}", AppDomain.CurrentDomain.Id ); MbrBase mbr = (MbrBase)scope.GetVariable("a"); // MY CHANGES string isSubClassCode = String.Format("issubclass({0},{1})", "C", "MbrBase"); ScriptSource script = engine.CreateScriptSourceFromString(isSubClassCode, SourceCodeKind.Expression); bool result = (bool)script.Execute(scope); if (result == true) { ObjectOperations ops = engine.Operations; object subClass = scope.GetVariable("C"); object instance = ops.Call(subClass); mbr = instance as MbrBase; } // END OF MY CHANGE mbr.DoItVirtually(); mbr.DoIt(); Console.ReadKey(); } } public class MbrBase : MarshalByRefObject { public virtual void DoItVirtually() { Console.WriteLine("Did it virtually {0}", AppDomain.CurrentDomain.Id ); } public void DoIt() { Console.WriteLine("Did it {0}", AppDomain.CurrentDomain.Id ); } } On Tue, Mar 30, 2010 at 10:12 PM, Dino Viehland wrote: > This works for me w/ 2.6. I?ve included my simple repro below which > creates a new script engine in a remote app domain, loads my assembly in, > runs some code which subclasses the MBRO base class, instantiates an > instance of this class, and then calls it from a remote app domain. The key > thing here is that when an MBRO is involved a PythonType should not need to > be serialized ? the type should live in the remote app domain and all > execution of that code should also happen in the remote app domain where we > have access to the local PythonType object. Are you also subclassing types > which don?t derive from MBRO? It might help to run IronPython w/ > -X:ExceptionDetail if the exception is propagating through IronPython ? > that?ll give a better stack trace to understand what?s going on. Or if you > can tweak the simple repro below to match the behavior you?re seeing that?d > be helpful as well. > > > > using System; > > using Microsoft.Scripting; > > using IronPython.Hosting; > > > > class Foo { > > public static void Main(string[] args) { > > AppDomain ad = AppDomain.CreateDomain("foo"); > > var engine = Python.CreateEngine(ad); > > engine.Runtime.LoadAssembly(typeof(MbrBase).Assembly); > > > > var code = engine.CreateScriptSourceFromString(@" > > import MbrBase > > class C(MbrBase): > > pass > > > > a = C() > > ", SourceCodeKind.Statements); > > > > var scope = engine.CreateScope(); > > code.Execute(scope); > > > > Console.WriteLine("Trying to do it... {0}", > AppDomain.CurrentDomain.Id); > > MbrBase mbr = (MbrBase)scope.GetVariable("a"); > > mbr.DoItVirtually(); > > mbr.DoIt(); > > } > > } > > > > public class MbrBase : MarshalByRefObject { > > public virtual void DoItVirtually() { > > Console.WriteLine("Did it virtually {0}", > AppDomain.CurrentDomain.Id); > > } > > > > public void DoIt() { > > Console.WriteLine("Did it {0}", AppDomain.CurrentDomain.Id); > > } > > } > > > > *From:* users-bounces at lists.ironpython.com [mailto: > users-bounces at lists.ironpython.com] *On Behalf Of *mohammad mustaq > *Sent:* Monday, March 29, 2010 8:13 PM > *To:* users at lists.ironpython.com > *Subject:* [IronPython] IronPython.Runtime.Types.PythonType Is not marked > as Serializable Exception > > > > Hi, > > I have IronPython embedded in my C# application. I face issues while > creating the python engine in a different appdomain. > > It is imposed that every class in IronPython inherit the .NET base class > say ClassA. ClassA is derived from MarshalByRefObj as I need to pass an > instance of this class to a new appdomain. > I create a new appdomain and pass the instance of ClassA to this Appdomain. > While calling a method in python class through the instance of ClassA I get > an exception mentioning that "Type 'IronPython.Runtime.Types.PythonTyp > > e' in Assembly 'IronPython, Version=2.0.0.0, Culture=neutral, > PublicKeyToken=31bf3856ad364e35' is not marked as serializable". > > How do I Serialize this PythonType. One way that i know is to modify the > IronPython source and mark the required types as Serializable (but i do not > know where it will lead to and its consequences). Could you please suggest a > way to perform the required operation. Should you need more details let me > know. > > thanks, > Mustaq > > P.S. I have used both IronPython 2.0 and 2.6. > > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From beppler at gmail.com Wed Apr 7 16:26:26 2010 From: beppler at gmail.com (Carlos Alberto Costa Beppler) Date: Wed, 7 Apr 2010 11:26:26 -0300 Subject: [IronPython] socket.getfqdn problem on 2.6.1 RC1. Message-ID: Hi, I?m trying to use the HTTPServer class from de BaseHTTPServer.py on standard library on IronPython 2.6.1 RC1. But the server stops with an socket exception on startup as shown bellow. C:\Program Files\Tools>ipy IronPython 2.6.1 (2.6.10920.0) on .NET 2.0.50727.3607 Type "help", "copyright", "credits" or "license" for more information. >>> import BaseHTTPServer >>> BaseHTTPServer.test() Traceback (most recent call last): File "", line 1, in File "C:\Program Files\IronPython\Lib\BaseHTTPServer.py", line 584, in test File "C:\Program Files\IronPython\Lib\SocketServer.py", line 400, in __init__ File "C:\Program Files\IronPython\Lib\BaseHTTPServer.py", line 110, in server_ bind ValueError: IPv4 address 0.0.0.0 and IPv6 address ::0 are unspecified addresses that cannot be used as a target address. Parameter name: hostNameOrAddress This is because the method getfqdn of the socket class is blowing up when the string '0.0.0.0' is passed to it. For example: C:\Program Files\Tools>ipy IronPython 2.6.1 (2.6.10920.0) on .NET 2.0.50727.3607 Type "help", "copyright", "credits" or "license" for more information. >>> import socket >>> socket.getfqdn('0.0.0.0') Traceback (most recent call last): File "", line 1, in ValueError: IPv4 address 0.0.0.0 and IPv6 address ::0 are unspecified addresses that cannot be used as a target address. Parameter name: hostNameOrAddress On CPython the same call returns the current host name, like bellow. C:\Users\beppler>python Python 2.5.4 (r254:67916, Dec 23 2008, 15:10:54) [MSC v.1310 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import socket >>> socket.getfqdn('0.0.0.0') 'Beppler.mps.interno' >>> Is it possible to fix this for the 2.6.1 release? From stephen.p.lepisto at intel.com Wed Apr 7 16:36:10 2010 From: stephen.p.lepisto at intel.com (Lepisto, Stephen P) Date: Wed, 7 Apr 2010 07:36:10 -0700 Subject: [IronPython] socket.getfqdn problem on 2.6.1 RC1. In-Reply-To: References: Message-ID: <6AF28EB9F93A354894F2F3916DF6F96E0C9C7447AD@orsmsx510.amr.corp.intel.com> In IronPython, using socket.getfqdn('127.0.0.1') returns the local host name. Under CPython, this always returns 'localhost'. The CPython documentation for getfqdn() does explicitly state "If name is omitted or empty, it is interpreted as the local host." Therefore, if you change your call to leave out the '0.0.0.0', then the code will behave the same on both CPython and IronPython. IronPython: >>> import socket >>> socket.getfqdn() mydomain.name.here CPython: >>> import socket >>> socket.getfqdn() mydomain.name.here -----Original Message----- From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Carlos Alberto Costa Beppler Sent: Wednesday, April 07, 2010 7:26 AM To: Discussion of IronPython Subject: [IronPython] socket.getfqdn problem on 2.6.1 RC1. Hi, I?m trying to use the HTTPServer class from de BaseHTTPServer.py on standard library on IronPython 2.6.1 RC1. But the server stops with an socket exception on startup as shown bellow. C:\Program Files\Tools>ipy IronPython 2.6.1 (2.6.10920.0) on .NET 2.0.50727.3607 Type "help", "copyright", "credits" or "license" for more information. >>> import BaseHTTPServer >>> BaseHTTPServer.test() Traceback (most recent call last): File "", line 1, in File "C:\Program Files\IronPython\Lib\BaseHTTPServer.py", line 584, in test File "C:\Program Files\IronPython\Lib\SocketServer.py", line 400, in __init__ File "C:\Program Files\IronPython\Lib\BaseHTTPServer.py", line 110, in server_ bind ValueError: IPv4 address 0.0.0.0 and IPv6 address ::0 are unspecified addresses that cannot be used as a target address. Parameter name: hostNameOrAddress This is because the method getfqdn of the socket class is blowing up when the string '0.0.0.0' is passed to it. For example: C:\Program Files\Tools>ipy IronPython 2.6.1 (2.6.10920.0) on .NET 2.0.50727.3607 Type "help", "copyright", "credits" or "license" for more information. >>> import socket >>> socket.getfqdn('0.0.0.0') Traceback (most recent call last): File "", line 1, in ValueError: IPv4 address 0.0.0.0 and IPv6 address ::0 are unspecified addresses that cannot be used as a target address. Parameter name: hostNameOrAddress On CPython the same call returns the current host name, like bellow. C:\Users\beppler>python Python 2.5.4 (r254:67916, Dec 23 2008, 15:10:54) [MSC v.1310 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import socket >>> socket.getfqdn('0.0.0.0') 'Beppler.mps.interno' >>> Is it possible to fix this for the 2.6.1 release? _______________________________________________ Users mailing list Users at lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com From beppler at gmail.com Wed Apr 7 16:39:22 2010 From: beppler at gmail.com (Carlos Alberto Costa Beppler) Date: Wed, 7 Apr 2010 11:39:22 -0300 Subject: [IronPython] socket.getfqdn problem on 2.6.1 RC1. In-Reply-To: <6AF28EB9F93A354894F2F3916DF6F96E0C9C7447AD@orsmsx510.amr.corp.intel.com> References: <6AF28EB9F93A354894F2F3916DF6F96E0C9C7447AD@orsmsx510.amr.corp.intel.com> Message-ID: The problem is that the HTTPServer from standard lib is doing the call on line 109-110 of the file BaseHTTPServer.py on method server_bind. See the code bellow. class HTTPServer(SocketServer.TCPServer): allow_reuse_address = 1 # Seems to make sense in testing environment def server_bind(self): """Override server_bind to store the server name.""" SocketServer.TCPServer.server_bind(self) host, port = self.socket.getsockname()[:2] self.server_name = socket.getfqdn(host) self.server_port = port The host variable gets '0.0.0.0' and when the call to socket.getfqdn is made the exception is thrown. On Wed, Apr 7, 2010 at 11:36, Lepisto, Stephen P wrote: > In IronPython, using socket.getfqdn('127.0.0.1') returns the local host name. ?Under CPython, this always returns 'localhost'. > > The CPython documentation for getfqdn() does explicitly state "If name is omitted or empty, it is interpreted as the local host." > > Therefore, if you change your call to leave out the '0.0.0.0', then the code will behave the same on both CPython and IronPython. > > IronPython: >>>> import socket >>>> socket.getfqdn() > mydomain.name.here > > CPython: >>>> import socket >>>> socket.getfqdn() > mydomain.name.here > > > -----Original Message----- > From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Carlos Alberto Costa Beppler > Sent: Wednesday, April 07, 2010 7:26 AM > To: Discussion of IronPython > Subject: [IronPython] socket.getfqdn problem on 2.6.1 RC1. > > Hi, I?m trying to use the HTTPServer class from de BaseHTTPServer.py > on standard library on IronPython 2.6.1 RC1. > > But the server stops with an socket exception on startup as shown bellow. > > C:\Program Files\Tools>ipy > IronPython 2.6.1 (2.6.10920.0) on .NET 2.0.50727.3607 > Type "help", "copyright", "credits" or "license" for more information. >>>> import BaseHTTPServer >>>> BaseHTTPServer.test() > Traceback (most recent call last): > ?File "", line 1, in > ?File "C:\Program Files\IronPython\Lib\BaseHTTPServer.py", line 584, in test > ?File "C:\Program Files\IronPython\Lib\SocketServer.py", line 400, in __init__ > ?File "C:\Program Files\IronPython\Lib\BaseHTTPServer.py", line 110, in server_ > bind > ValueError: IPv4 address 0.0.0.0 and IPv6 address ::0 are unspecified addresses > that cannot be used as a target address. > Parameter name: hostNameOrAddress > > This is because the method getfqdn of the socket class is blowing up > when the string '0.0.0.0' is passed to it. For example: > > C:\Program Files\Tools>ipy > IronPython 2.6.1 (2.6.10920.0) on .NET 2.0.50727.3607 > Type "help", "copyright", "credits" or "license" for more information. >>>> import socket >>>> socket.getfqdn('0.0.0.0') > Traceback (most recent call last): > ?File "", line 1, in > ValueError: IPv4 address 0.0.0.0 and IPv6 address ::0 are unspecified addresses > that cannot be used as a target address. > Parameter name: hostNameOrAddress > > On CPython the same call returns the current host name, like bellow. > > C:\Users\beppler>python > Python 2.5.4 (r254:67916, Dec 23 2008, 15:10:54) [MSC v.1310 32 bit > (Intel)] on win32 > Type "help", "copyright", "credits" or "license" for more information. >>>> import socket >>>> socket.getfqdn('0.0.0.0') > 'Beppler.mps.interno' >>>> > > > Is it possible to fix this for the 2.6.1 release? > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > From merllab at microsoft.com Wed Apr 7 17:52:38 2010 From: merllab at microsoft.com (merllab at microsoft.com) Date: Wed, 7 Apr 2010 08:52:38 -0700 Subject: [IronPython] IronPython 2.6 CodePlex Source Update Message-ID: <2cd0a4ed-bce5-4c75-abb5-d62f2ccd6188@tk5-exsmh-c101.redmond.corp.microsoft.com> This is an automated email letting you know that sources have recently been pushed out. You can download these newer sources directly from http://ironpython.codeplex.com/SourceControl/changeset/view/65328. ADDED SOURCES $/IronPython/IronPython_Main/Src/Runtime/Microsoft.Scripting.Core/Microsoft.Scripting.Core.DlrBranch.csproj $/IronPython/IronPython_Main/Src/Runtime/Microsoft.Scripting.Core/Microsoft.Scripting.ExtensionAttribute.DlrBranch.csproj MODIFIED SOURCES $/IronPython/IronPython_Main/Src/Runtime/Microsoft.Scripting.Core/Microsoft.Scripting.Core.DlrBranch.csproj $/IronPython/IronPython_Main/Src/Runtime/Microsoft.Scripting.Core/Microsoft.Scripting.ExtensionAttribute.DlrBranch.csproj From jdhardy at gmail.com Thu Apr 8 17:29:50 2010 From: jdhardy at gmail.com (Jeff Hardy) Date: Thu, 8 Apr 2010 09:29:50 -0600 Subject: [IronPython] IronPython with CherryPy through WSGI Memory issue In-Reply-To: <1A472770E042064698CB5ADC83A12ACD394EF8FE@TK5EX14MBXC118.redmond.corp.microsoft.com> References: <1A472770E042064698CB5ADC83A12ACD394E46D9@TK5EX14MBXC118.redmond.corp.microsoft.com> <1A472770E042064698CB5ADC83A12ACD394E638A@TK5EX14MBXC118.redmond.corp.microsoft.com> <1A472770E042064698CB5ADC83A12ACD394EE7E1@TK5EX14MBXC118.redmond.corp.microsoft.com> <1A472770E042064698CB5ADC83A12ACD394EF8FE@TK5EX14MBXC118.redmond.corp.microsoft.com> Message-ID: On Fri, Apr 2, 2010 at 8:06 PM, Dino Viehland wrote: > Can you clear the exception data from the server at all? ExceptionHelpers.DynamicStackFrames never climbs above 1 (as far as I can tell), yet there's a consistent leak of about 35k/request. That just doesn't seem to make sense based on what I found with windbg, so I'm stumped. - Jeff From cgencer at gmail.com Thu Apr 8 18:38:23 2010 From: cgencer at gmail.com (Can Gencer) Date: Thu, 8 Apr 2010 18:38:23 +0200 Subject: [IronPython] IronPython with CherryPy through WSGI Memory issue In-Reply-To: References: <1A472770E042064698CB5ADC83A12ACD394E46D9@TK5EX14MBXC118.redmond.corp.microsoft.com> <1A472770E042064698CB5ADC83A12ACD394E638A@TK5EX14MBXC118.redmond.corp.microsoft.com> <1A472770E042064698CB5ADC83A12ACD394EE7E1@TK5EX14MBXC118.redmond.corp.microsoft.com> <1A472770E042064698CB5ADC83A12ACD394EF8FE@TK5EX14MBXC118.redmond.corp.microsoft.com> Message-ID: On Thu, Apr 8, 2010 at 5:29 PM, Jeff Hardy wrote: > On Fri, Apr 2, 2010 at 8:06 PM, Dino Viehland wrote: >> Can you clear the exception data from the server at all? > > ExceptionHelpers.DynamicStackFrames never climbs above 1 (as far as I > can tell), yet there's a consistent leak of about 35k/request. That > just doesn't seem to make sense based on what I found with windbg, so > I'm stumped. > > - Jeff I've noticed there was a leak in the NWSGI implementation regarding the input/output streams, i.e. they were never GC'd. It could be due to the way the stream -> file conversion is done. Regards, Can From jdhardy at gmail.com Thu Apr 8 19:32:57 2010 From: jdhardy at gmail.com (Jeff Hardy) Date: Thu, 8 Apr 2010 11:32:57 -0600 Subject: [IronPython] IronPython with CherryPy through WSGI Memory issue In-Reply-To: References: <1A472770E042064698CB5ADC83A12ACD394E638A@TK5EX14MBXC118.redmond.corp.microsoft.com> <1A472770E042064698CB5ADC83A12ACD394EE7E1@TK5EX14MBXC118.redmond.corp.microsoft.com> <1A472770E042064698CB5ADC83A12ACD394EF8FE@TK5EX14MBXC118.redmond.corp.microsoft.com> Message-ID: On Thu, Apr 8, 2010 at 10:38 AM, Can Gencer wrote: > I've noticed there was a leak in the NWSGI implementation regarding > the input/output streams, i.e. they were never GC'd. It could be due > to the way the stream -> file conversion is done. Wouldn't surprise me; that's kind of an ugly piece of code. There's a few spots where NWSGI doesn't interact with CodeContexts correctly, because there wasn't really a good story around them - now I'd just use SharedContext, assuming I can *find* it again :). But there must be something else, in NWSGI or IronPython, to account for 35k/request. - Jeff From pjaganathan at gmail.com Thu Apr 8 19:35:46 2010 From: pjaganathan at gmail.com (Prasanna Jaganathan) Date: Thu, 8 Apr 2010 23:05:46 +0530 Subject: [IronPython] IronPython Tools for Visual Studio Message-ID: Hi I am trying to get a good IDE for working with Iron Python, I chanced upon this page and found about IronPython Tools for Visual Studio. http://us.pycon.org/media/2010/talkdata/PyCon2010/009/IronPython_Tools_for_Visual_Studio_Walkthrough.pdf I have installed Visual Studio 2010 beta and would like to install this plugin. Can you point me to a place where I can download this? Thank you very much! Regards Prasanna -------------- next part -------------- An HTML attachment was scrubbed... URL: From cgencer at gmail.com Thu Apr 8 19:41:30 2010 From: cgencer at gmail.com (Can Gencer) Date: Thu, 8 Apr 2010 19:41:30 +0200 Subject: [IronPython] IronPython with CherryPy through WSGI Memory issue In-Reply-To: References: <1A472770E042064698CB5ADC83A12ACD394E638A@TK5EX14MBXC118.redmond.corp.microsoft.com> <1A472770E042064698CB5ADC83A12ACD394EE7E1@TK5EX14MBXC118.redmond.corp.microsoft.com> <1A472770E042064698CB5ADC83A12ACD394EF8FE@TK5EX14MBXC118.redmond.corp.microsoft.com> Message-ID: On Thu, Apr 8, 2010 at 7:32 PM, Jeff Hardy wrote: > On Thu, Apr 8, 2010 at 10:38 AM, Can Gencer wrote: >> I've noticed there was a leak in the NWSGI implementation regarding >> the input/output streams, i.e. they were never GC'd. It could be due >> to the way the stream -> file conversion is done. > > Wouldn't surprise me; that's kind of an ugly piece of code. There's a > few spots where NWSGI doesn't interact with CodeContexts correctly, > because there wasn't really a good story around them - now I'd just > use SharedContext, assuming I can *find* it again :). > > But there must be something else, in NWSGI or IronPython, to account > for 35k/request. > I did my debugging like this.. I set up a url such as http://server/gc where if you would go there it would call GC.Collect() and GC.WaitForPendingFinalizers() a few times Then did a few requests, and call the GC url and use windbg with !dumpheap -stat and write down the number and size of the largest objects. Do a few more requests, call the GC url again and use windbg again with the stat, and then use !dumpheap -mt to get all instances of the type that is growing in size most, and then randomly call !gcroot on some to find where the reference is being held. /Can From Marty.Nelson at symyx.com Thu Apr 8 19:45:14 2010 From: Marty.Nelson at symyx.com (Marty Nelson) Date: Thu, 8 Apr 2010 10:45:14 -0700 Subject: [IronPython] IronPython Tools for Visual Studio In-Reply-To: References: Message-ID: <8C12A2BD8CFE894C891514267B55A2B511456D79@srv-sc-mail.symyx.com> We offer extensive Iron Python extension points for our customers in our application and would be very interested in this technology as well. Marty Nelson Symyx Technologies. From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Prasanna Jaganathan Sent: Thursday, April 08, 2010 10:36 AM To: users at lists.ironpython.com Subject: [IronPython] IronPython Tools for Visual Studio Hi I am trying to get a good IDE for working with Iron Python, I chanced upon this page and found about IronPython Tools for Visual Studio. http://us.pycon.org/media/2010/talkdata/PyCon2010/009/IronPython_Tools_f or_Visual_Studio_Walkthrough.pdf I have installed Visual Studio 2010 beta and would like to install this plugin. Can you point me to a place where I can download this? Thank you very much! Regards Prasanna ======= Notice: This e-mail message, together with any attachments, contains information of Symyx Technologies, Inc. or any of its affiliates or subsidiaries that may be confidential, proprietary, copyrighted, privileged and/or protected work product, and is meant solely for the intended recipient. If you are not the intended recipient, and have received this message in error, please contact the sender immediately, permanently delete the original and any copies of this email and any attachments thereto. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jdhardy at gmail.com Thu Apr 8 19:55:08 2010 From: jdhardy at gmail.com (Jeff Hardy) Date: Thu, 8 Apr 2010 11:55:08 -0600 Subject: [IronPython] IronPython with CherryPy through WSGI Memory issue In-Reply-To: References: <1A472770E042064698CB5ADC83A12ACD394E638A@TK5EX14MBXC118.redmond.corp.microsoft.com> <1A472770E042064698CB5ADC83A12ACD394EE7E1@TK5EX14MBXC118.redmond.corp.microsoft.com> <1A472770E042064698CB5ADC83A12ACD394EF8FE@TK5EX14MBXC118.redmond.corp.microsoft.com> Message-ID: On Thu, Apr 8, 2010 at 11:41 AM, Can Gencer wrote: > I did my debugging like this.. > > I set up a url such as http://server/gc where if you would go there it > would call GC.Collect() and GC.WaitForPendingFinalizers() a few times > > Then did a few requests, and call the GC url and use windbg with > !dumpheap -stat and write down the number and size of the largest > objects. Do a few more requests, call the GC url again and use windbg > again with the stat, and then use !dumpheap -mt to get all instances > of the type that is growing in size most, and then randomly call > !gcroot on some to find where the reference is being held. That's pretty much what I did as well. Most of the objects were strings, byte[]s, dictionary buckets - stuff that's used just about everywhere. Trying to get a meaningful set of !gcroot samples from amongst 125 000 dictionaries manually is a bit difficult :|. My hope is that somewhere in that list there is an object that leaks 1 instance per request, so that I can match it up with the number of requests, and work from it to figure out what's going on. - Jeff From jdhardy at gmail.com Thu Apr 8 19:57:30 2010 From: jdhardy at gmail.com (Jeff Hardy) Date: Thu, 8 Apr 2010 11:57:30 -0600 Subject: [IronPython] IronPython Tools for Visual Studio In-Reply-To: References: Message-ID: On Thu, Apr 8, 2010 at 11:35 AM, Prasanna Jaganathan wrote: > Hi > I am trying to get a good IDE for working with Iron Python, I chanced upon > this page and found about?IronPython Tools for Visual Studio. > http://us.pycon.org/media/2010/talkdata/PyCon2010/009/IronPython_Tools_for_Visual_Studio_Walkthrough.pdf > I have installed Visual Studio 2010 beta and would like to install this > plugin. Can you point me to a place where I can download this? > Thank you very much! I believe the first public release will roughly coincide with the RTM of Visual Studio 2010, which is Monday, April 12, 2010. So, it should be available next week. Hopefully. - Jeff From dinov at microsoft.com Thu Apr 8 19:59:50 2010 From: dinov at microsoft.com (Dino Viehland) Date: Thu, 8 Apr 2010 17:59:50 +0000 Subject: [IronPython] IronPython Tools for Visual Studio In-Reply-To: <8C12A2BD8CFE894C891514267B55A2B511456D79@srv-sc-mail.symyx.com> References: <8C12A2BD8CFE894C891514267B55A2B511456D79@srv-sc-mail.symyx.com> Message-ID: <1A472770E042064698CB5ADC83A12ACD3950A8DB@TK5EX14MBXC118.redmond.corp.microsoft.com> It's not yet publicly available - the preview was given out exclusively to PyCon attendees on a CD. We'll be putting out an updated version within a couple of weeks after VS 2010 launches which is April 12th. From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Marty Nelson Sent: Thursday, April 08, 2010 10:45 AM To: Discussion of IronPython Subject: Re: [IronPython] IronPython Tools for Visual Studio We offer extensive Iron Python extension points for our customers in our application and would be very interested in this technology as well. Marty Nelson Symyx Technologies. From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Prasanna Jaganathan Sent: Thursday, April 08, 2010 10:36 AM To: users at lists.ironpython.com Subject: [IronPython] IronPython Tools for Visual Studio Hi I am trying to get a good IDE for working with Iron Python, I chanced upon this page and found about IronPython Tools for Visual Studio. http://us.pycon.org/media/2010/talkdata/PyCon2010/009/IronPython_Tools_for_Visual_Studio_Walkthrough.pdf I have installed Visual Studio 2010 beta and would like to install this plugin. Can you point me to a place where I can download this? Thank you very much! Regards Prasanna ======= Notice: This e-mail message, together with any attachments, contains information of Symyx Technologies, Inc. or any of its affiliates or subsidiaries that may be confidential, proprietary, copyrighted, privileged and/or protected work product, and is meant solely for the intended recipient. If you are not the intended recipient, and have received this message in error, please contact the sender immediately, permanently delete the original and any copies of this email and any attachments thereto. -------------- next part -------------- An HTML attachment was scrubbed... URL: From loocas at duber.cz Thu Apr 8 20:11:54 2010 From: loocas at duber.cz (=?UTF-8?B?THVrw6HFoSBEdWLEm2Rh?=) Date: Thu, 08 Apr 2010 20:11:54 +0200 Subject: [IronPython] IronPython Tools for Visual Studio In-Reply-To: <1A472770E042064698CB5ADC83A12ACD3950A8DB@TK5EX14MBXC118.redmond.corp.microsoft.com> References: <8C12A2BD8CFE894C891514267B55A2B511456D79@srv-sc-mail.symyx.com> <1A472770E042064698CB5ADC83A12ACD3950A8DB@TK5EX14MBXC118.redmond.corp.microsoft.com> Message-ID: <4BBE1C6A.8000102@duber.cz> Oh man! I can't wait for the IPy support in VS2010! So, you're saying it should be out in a couple of weeks? Not months? I'm especially eager to get my hands on a really functional, usable and usful IDE for GUI development. Thumbs up to you involved in the development of these tools! Luk?? Dub?da Director [T] +420 602 444 164 duber studio(tm) [M] info at duber.cz [W] http://www.duber.cz [A] R.A.Dvorsk?ho 601, Praha 10 [A] 10900, Czech Republic, Europe Dino Viehland wrote: > It?s not yet publicly available ? the preview was given out exclusively > to PyCon attendees on a CD. We?ll be putting out an updated version > within a couple of weeks after VS 2010 launches which is April 12^th . > > > > *From:* users-bounces at lists.ironpython.com > [mailto:users-bounces at lists.ironpython.com] *On Behalf Of *Marty Nelson > *Sent:* Thursday, April 08, 2010 10:45 AM > *To:* Discussion of IronPython > *Subject:* Re: [IronPython] IronPython Tools for Visual Studio > > > > We offer extensive Iron Python extension points for our customers in our > application and would be very interested in this technology as well. > > > > Marty Nelson > > Symyx Technologies. > > > > *From:* users-bounces at lists.ironpython.com > [mailto:users-bounces at lists.ironpython.com] *On Behalf Of *Prasanna > Jaganathan > *Sent:* Thursday, April 08, 2010 10:36 AM > *To:* users at lists.ironpython.com > *Subject:* [IronPython] IronPython Tools for Visual Studio > > > > Hi > > > > I am trying to get a good IDE for working with Iron Python, I chanced > upon this page and found about IronPython Tools for Visual Studio. > > http://us.pycon.org/media/2010/talkdata/PyCon2010/009/IronPython_Tools_for_Visual_Studio_Walkthrough.pdf > > I have installed Visual Studio 2010 beta and would like to install this > plugin. Can you point me to a place where I can download this? > > > > Thank you very much! > > > > Regards > > Prasanna > > ======= > Notice: This e-mail message, together with any attachments, contains > information of Symyx Technologies, Inc. or any of its affiliates or > subsidiaries that may be confidential, proprietary, copyrighted, > privileged and/or protected work product, and is meant solely for > the intended recipient. If you are not the intended recipient, and > have received this message in error, please contact the sender > immediately, permanently delete the original and any copies of this > email and any attachments thereto. > > > > > ------------------------------------------------------------------------ > > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com From dinov at microsoft.com Thu Apr 8 20:15:40 2010 From: dinov at microsoft.com (Dino Viehland) Date: Thu, 8 Apr 2010 18:15:40 +0000 Subject: [IronPython] IronPython Tools for Visual Studio In-Reply-To: <4BBE1C6A.8000102@duber.cz> References: <8C12A2BD8CFE894C891514267B55A2B511456D79@srv-sc-mail.symyx.com> <1A472770E042064698CB5ADC83A12ACD3950A8DB@TK5EX14MBXC118.redmond.corp.microsoft.com> <4BBE1C6A.8000102@duber.cz> Message-ID: <1A472770E042064698CB5ADC83A12ACD3950A972@TK5EX14MBXC118.redmond.corp.microsoft.com> Yes - weeks not months. It is still a work in progress so this isn't a final v1.0 or something (more like 0.2) but it will be publicly downloadable. We're aiming for a v1 by the end of the year. > -----Original Message----- > From: users-bounces at lists.ironpython.com [mailto:users- > bounces at lists.ironpython.com] On Behalf Of Luk?? Dubeda > Sent: Thursday, April 08, 2010 11:12 AM > To: Discussion of IronPython > Subject: Re: [IronPython] IronPython Tools for Visual Studio > > Oh man! I can't wait for the IPy support in VS2010! > > So, you're saying it should be out in a couple of weeks? Not > months? > > I'm especially eager to get my hands on a really functional, usable > and usful IDE for GUI development. > > Thumbs up to you involved in the development of these tools! > > Luk?? Dub?da > Director > [T] +420 602 444 164 > > duber studio(tm) > [M] info at duber.cz > [W] http://www.duber.cz > > [A] R.A.Dvorsk?ho 601, Praha 10 > [A] 10900, Czech Republic, Europe > > Dino Viehland wrote: > > It?s not yet publicly available ? the preview was given out > exclusively > > to PyCon attendees on a CD. We?ll be putting out an updated version > > within a couple of weeks after VS 2010 launches which is April 12^th > . > > > > > > > > *From:* users-bounces at lists.ironpython.com > > [mailto:users-bounces at lists.ironpython.com] *On Behalf Of *Marty > Nelson > > *Sent:* Thursday, April 08, 2010 10:45 AM > > *To:* Discussion of IronPython > > *Subject:* Re: [IronPython] IronPython Tools for Visual Studio > > > > > > > > We offer extensive Iron Python extension points for our customers in > our > > application and would be very interested in this technology as well. > > > > > > > > Marty Nelson > > > > Symyx Technologies. > > > > > > > > *From:* users-bounces at lists.ironpython.com > > [mailto:users-bounces at lists.ironpython.com] *On Behalf Of *Prasanna > > Jaganathan > > *Sent:* Thursday, April 08, 2010 10:36 AM > > *To:* users at lists.ironpython.com > > *Subject:* [IronPython] IronPython Tools for Visual Studio > > > > > > > > Hi > > > > > > > > I am trying to get a good IDE for working with Iron Python, I chanced > > upon this page and found about IronPython Tools for Visual Studio. > > > > > http://us.pycon.org/media/2010/talkdata/PyCon2010/009/IronPython_Tools_ > for_Visual_Studio_Walkthrough.pdf > > > > I have installed Visual Studio 2010 beta and would like to install > this > > plugin. Can you point me to a place where I can download this? > > > > > > > > Thank you very much! > > > > > > > > Regards > > > > Prasanna > > > > ======= > > Notice: This e-mail message, together with any attachments, contains > > information of Symyx Technologies, Inc. or any of its affiliates or > > subsidiaries that may be confidential, proprietary, copyrighted, > > privileged and/or protected work product, and is meant solely for > > the intended recipient. If you are not the intended recipient, and > > have received this message in error, please contact the sender > > immediately, permanently delete the original and any copies of this > > email and any attachments thereto. > > > > > > > > > > --------------------------------------------------------------------- > --- > > > > _______________________________________________ > > Users mailing list > > Users at lists.ironpython.com > > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com From Marty.Nelson at symyx.com Thu Apr 8 20:51:33 2010 From: Marty.Nelson at symyx.com (Marty Nelson) Date: Thu, 8 Apr 2010 11:51:33 -0700 Subject: [IronPython] IronPython Tools for Visual Studio In-Reply-To: <1A472770E042064698CB5ADC83A12ACD3950A972@TK5EX14MBXC118.redmond.corp.microsoft.com> References: <8C12A2BD8CFE894C891514267B55A2B511456D79@srv-sc-mail.symyx.com><1A472770E042064698CB5ADC83A12ACD3950A8DB@TK5EX14MBXC118.redmond.corp.microsoft.com><4BBE1C6A.8000102@duber.cz> <1A472770E042064698CB5ADC83A12ACD3950A972@TK5EX14MBXC118.redmond.corp.microsoft.com> Message-ID: <8C12A2BD8CFE894C891514267B55A2B511456E58@srv-sc-mail.symyx.com> Very interested in how we can use VSIP or other partnership to co-market and allow customers to have better IDE then the poor-man's text editor we now ship with. Whether that takes the form of embedding your controls in our app, or we want to promote adoption of VS Express, looking forward to better offerings to customers. -----Original Message----- From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Dino Viehland Sent: Thursday, April 08, 2010 11:16 AM To: Discussion of IronPython Subject: Re: [IronPython] IronPython Tools for Visual Studio Yes - weeks not months. It is still a work in progress so this isn't a final v1.0 or something (more like 0.2) but it will be publicly downloadable. We're aiming for a v1 by the end of the year. > -----Original Message----- > From: users-bounces at lists.ironpython.com [mailto:users- > bounces at lists.ironpython.com] On Behalf Of Luk?? Dubeda > Sent: Thursday, April 08, 2010 11:12 AM > To: Discussion of IronPython > Subject: Re: [IronPython] IronPython Tools for Visual Studio > > Oh man! I can't wait for the IPy support in VS2010! > > So, you're saying it should be out in a couple of weeks? Not > months? > > I'm especially eager to get my hands on a really functional, usable > and usful IDE for GUI development. > > Thumbs up to you involved in the development of these tools! > > Luk?? Dub?da > Director > [T] +420 602 444 164 > > duber studio(tm) > [M] info at duber.cz > [W] http://www.duber.cz > > [A] R.A.Dvorsk?ho 601, Praha 10 > [A] 10900, Czech Republic, Europe > > Dino Viehland wrote: > > It?s not yet publicly available ? the preview was given out > exclusively > > to PyCon attendees on a CD. We?ll be putting out an updated version > > within a couple of weeks after VS 2010 launches which is April 12^th > . > > > > > > > > *From:* users-bounces at lists.ironpython.com > > [mailto:users-bounces at lists.ironpython.com] *On Behalf Of *Marty > Nelson > > *Sent:* Thursday, April 08, 2010 10:45 AM > > *To:* Discussion of IronPython > > *Subject:* Re: [IronPython] IronPython Tools for Visual Studio > > > > > > > > We offer extensive Iron Python extension points for our customers in > our > > application and would be very interested in this technology as well. > > > > > > > > Marty Nelson > > > > Symyx Technologies. > > > > > > > > *From:* users-bounces at lists.ironpython.com > > [mailto:users-bounces at lists.ironpython.com] *On Behalf Of *Prasanna > > Jaganathan > > *Sent:* Thursday, April 08, 2010 10:36 AM > > *To:* users at lists.ironpython.com > > *Subject:* [IronPython] IronPython Tools for Visual Studio > > > > > > > > Hi > > > > > > > > I am trying to get a good IDE for working with Iron Python, I chanced > > upon this page and found about IronPython Tools for Visual Studio. > > > > > http://us.pycon.org/media/2010/talkdata/PyCon2010/009/IronPython_Tools_ > for_Visual_Studio_Walkthrough.pdf > > > > I have installed Visual Studio 2010 beta and would like to install > this > > plugin. Can you point me to a place where I can download this? > > > > > > > > Thank you very much! > > > > > > > > Regards > > > > Prasanna > > > > ======= > > Notice: This e-mail message, together with any attachments, contains > > information of Symyx Technologies, Inc. or any of its affiliates or > > subsidiaries that may be confidential, proprietary, copyrighted, > > privileged and/or protected work product, and is meant solely for > > the intended recipient. If you are not the intended recipient, and > > have received this message in error, please contact the sender > > immediately, permanently delete the original and any copies of this > > email and any attachments thereto. > > > > > > > > > > --------------------------------------------------------------------- > --- > > > > _______________________________________________ > > Users mailing list > > Users at lists.ironpython.com > > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com _______________________________________________ Users mailing list Users at lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com ======= Notice: This e-mail message, together with any attachments, contains information of Symyx Technologies, Inc. or any of its affiliates or subsidiaries that may be confidential, proprietary, copyrighted, privileged and/or protected work product, and is meant solely for the intended recipient. If you are not the intended recipient, and have received this message in error, please contact the sender immediately, permanently delete the original and any copies of this email and any attachments thereto. From steventon at gmail.com Thu Apr 8 22:12:57 2010 From: steventon at gmail.com (Richard Steventon) Date: Thu, 8 Apr 2010 16:12:57 -0400 Subject: [IronPython] ImportError: No module named Message-ID: Hi all, I am moving some code from Python to IronPython (latest) so I can access Excel XLSX files. The code is a loose bunch of files in a single directory. ie: main.ipy accessFunctions.ipy Within main.ipy, I do: from accessFunctions import * Which gives: ImportError: No module named accessFunctions Checked the path. That's ok. So I googled, and found Ben Hall's blog: http://blog.benhall.me.uk/2008/05/ironpython-classes-within-separate.html Which shows that it should work.... Any ideas ? -Bye -Richard From josh at globalherald.net Fri Apr 9 00:35:04 2010 From: josh at globalherald.net (Joshua Kramer) Date: Thu, 8 Apr 2010 18:35:04 -0400 (EDT) Subject: [IronPython] IronPython Tools for Visual Studio Message-ID: Marty, If you'd like to provide a dev environment to your customers now you can always include Eclipse + PyDev. It works great with IronPython, and it's far better than the "poor man's text editor" you refer to in your e-mail. Cheers, -Josh From Marty.Nelson at symyx.com Thu Apr 8 22:34:22 2010 From: Marty.Nelson at symyx.com (Marty Nelson) Date: Thu, 8 Apr 2010 13:34:22 -0700 Subject: [IronPython] IronPython Tools for Visual Studio In-Reply-To: References: Message-ID: <8C12A2BD8CFE894C891514267B55A2B511456F3D@srv-sc-mail.symyx.com> Thanks. I'll check that out. Longer term, I would like to integrate the debugging capabilities with the specific use-cases in our application. Does the Eclipse + PyDev offer debugging that would work from script launched from a running .NET application? -----Original Message----- From: Joshua Kramer [mailto:josh at globalherald.net] Sent: Thursday, April 08, 2010 3:35 PM To: Marty Nelson Cc: users at lists.ironpython.com Subject: Re: [IronPython] IronPython Tools for Visual Studio Marty, If you'd like to provide a dev environment to your customers now you can always include Eclipse + PyDev. It works great with IronPython, and it's far better than the "poor man's text editor" you refer to in your e-mail. Cheers, -Josh ======= Notice: This e-mail message, together with any attachments, contains information of Symyx Technologies, Inc. or any of its affiliates or subsidiaries that may be confidential, proprietary, copyrighted, privileged and/or protected work product, and is meant solely for the intended recipient. If you are not the intended recipient, and have received this message in error, please contact the sender immediately, permanently delete the original and any copies of this email and any attachments thereto. From stephen.p.lepisto at intel.com Thu Apr 8 22:50:53 2010 From: stephen.p.lepisto at intel.com (Lepisto, Stephen P) Date: Thu, 8 Apr 2010 13:50:53 -0700 Subject: [IronPython] ImportError: No module named In-Reply-To: References: Message-ID: <6AF28EB9F93A354894F2F3916DF6F96E0C9C7BB6ED@orsmsx510.amr.corp.intel.com> Richard, Try changing the suffix on the files to be .py instead of .ipy. It appears that in IronPython 2.0 and 2.6, the import statement requires the modules to end in .py -- at least in the situation you are describing. -----Original Message----- From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Richard Steventon Sent: Thursday, April 08, 2010 1:13 PM To: users at lists.ironpython.com Subject: [IronPython] ImportError: No module named Hi all, I am moving some code from Python to IronPython (latest) so I can access Excel XLSX files. The code is a loose bunch of files in a single directory. ie: main.ipy accessFunctions.ipy Within main.ipy, I do: from accessFunctions import * Which gives: ImportError: No module named accessFunctions Checked the path. That's ok. So I googled, and found Ben Hall's blog: http://blog.benhall.me.uk/2008/05/ironpython-classes-within-separate.html Which shows that it should work.... Any ideas ? -Bye -Richard _______________________________________________ Users mailing list Users at lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com From cgencer at gmail.com Thu Apr 8 22:56:31 2010 From: cgencer at gmail.com (Can Gencer) Date: Thu, 8 Apr 2010 22:56:31 +0200 Subject: [IronPython] ImportError: No module named In-Reply-To: References: Message-ID: On Thu, Apr 8, 2010 at 10:12 PM, Richard Steventon wrote: > Hi all, > > I am moving some code from Python to IronPython (latest) so I can > access Excel XLSX files. ?The code is a loose bunch of files in a > single directory. > > ie: > ? main.ipy > ? accessFunctions.ipy > > Within main.ipy, I do: > ? from accessFunctions import * > Which gives: > ? ImportError: No module named accessFunctions > > Checked the path. ?That's ok. ?So I googled, and found Ben Hall's > blog: http://blog.benhall.me.uk/2008/05/ironpython-classes-within-separate.html > Which shows that it should work.... > > Any ideas ? > I think you need to use the .py extension, not .ipy Can From ironpython at klintoe.eu Thu Apr 8 23:56:33 2010 From: ironpython at klintoe.eu (Michael) Date: Thu, 08 Apr 2010 23:56:33 +0200 Subject: [IronPython] Using SetPropertyValue and Put() Message-ID: Hi I'm trying to set some properties on an instance in WMI. I can set the property, but I can't figure out to call the Put() method, so that the properties are stored. As I have only looked at IronPython for a couple of day I would also like if someone can comment on potential issues with the code. Regards /Michael # Code snippet Begin class OV_ManagedNode: def __init__(self): import clr clr.AddReference('System.Management') global System global Management import System.Management @classmethod def CreateWithNodeType(self,\ PrimaryNodeName,\ SystemTypeId=11,\ OsTypeId=18,\ OsVersionId=18052,\ HeartBeatMode=0): try: self.PrimaryNodeName = PrimaryNodeName self.SystemTypeId = SystemTypeId self.OsTypeId = OsTypeId self.OsVersionId = OsVersionId self.HeartBeatMode = HeartBeatMode self.OV_ManagedNode = System.Management.ManagementClass('root\HewlettPackard\OpenView\data:OV_ManagedNode') self.inParams = self.OV_ManagedNode.GetMethodParameters('CreateWithNodeType') self.inParams['PrimaryNodeName'] = self.PrimaryNodeName self.inParams['SystemTypeId'] = self.SystemTypeId self.inParams['OsTypeId'] = self.OsTypeId self.inParams['OsVersionId'] = self.OsVersionId self.inParams['HeartBeatMode'] = self.HeartBeatMode self.outParams = self.OV_ManagedNode.InvokeMethod('CreateWithNodeType', self.inParams, None) #Return Instance of the newly created OV_ManagedNode return self.outParams['ReturnValue'] except: return False a = OV_ManagedNode() b = a.CreateWithNodeType('test') b.SetPropertyValue('AllowCertAutoGranting', True) # Code snippet End From josh at globalherald.net Fri Apr 9 02:19:47 2010 From: josh at globalherald.net (Joshua Kramer) Date: Thu, 8 Apr 2010 20:19:47 -0400 (EDT) Subject: [IronPython] IronPython Tools for Visual Studio In-Reply-To: <8C12A2BD8CFE894C891514267B55A2B511456F3D@srv-sc-mail.symyx.com> References: <8C12A2BD8CFE894C891514267B55A2B511456F3D@srv-sc-mail.symyx.com> Message-ID: I believe if you launch IronPython in such a way that it listens for debugger connections, it will allow you to do this - but I haven't done so myself yet. On Thu, 8 Apr 2010, Marty Nelson wrote: > Date: Thu, 8 Apr 2010 13:34:22 -0700 > From: Marty Nelson > To: Joshua Kramer > Cc: users at lists.ironpython.com > Subject: RE: [IronPython] IronPython Tools for Visual Studio > > > Thanks. I'll check that out. > > Longer term, I would like to integrate the debugging capabilities with > the specific use-cases in our application. Does the Eclipse + PyDev > offer debugging that would work from script launched from a running .NET > application? > > -----Original Message----- > From: Joshua Kramer [mailto:josh at globalherald.net] > Sent: Thursday, April 08, 2010 3:35 PM > To: Marty Nelson > Cc: users at lists.ironpython.com > Subject: Re: [IronPython] IronPython Tools for Visual Studio > > > Marty, > > If you'd like to provide a dev environment to your customers now you can > > always include Eclipse + PyDev. It works great with IronPython, and > it's > far better than the "poor man's text editor" you refer to in your > e-mail. > > Cheers, > -Josh > > ======= > Notice: This e-mail message, together with any attachments, contains > information of Symyx Technologies, Inc. or any of its affiliates or > subsidiaries that may be confidential, proprietary, copyrighted, > privileged and/or protected work product, and is meant solely for > the intended recipient. If you are not the intended recipient, and > have received this message in error, please contact the sender > immediately, permanently delete the original and any copies of this > email and any attachments thereto. > -- ----- http://www.globalherald.net/jb01 GlobalHerald.NET, the Smarter Social Network! (tm) From tcronin at asrclkrec.com Fri Apr 9 01:04:42 2010 From: tcronin at asrclkrec.com (Cronin, Ted) Date: Thu, 8 Apr 2010 16:04:42 -0700 Subject: [IronPython] IronPython Tools for Visual Studio In-Reply-To: <4BBE1C6A.8000102@duber.cz> References: <8C12A2BD8CFE894C891514267B55A2B511456D79@srv-sc-mail.symyx.com> <1A472770E042064698CB5ADC83A12ACD3950A8DB@TK5EX14MBXC118.redmond.corp.microsoft.com> <4BBE1C6A.8000102@duber.cz> Message-ID: Dino - This is good news. Will there be a web forms component? Also, will you provide a list of enhancements from the last version. A newer Gestalt should be out by then too, correct? Ted Ted Cronin ACR ValueGIS (951) 955 - 0487 -----Original Message----- From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Luk?? Dubeda Sent: Thursday, April 08, 2010 11:12 AM To: Discussion of IronPython Subject: Re: [IronPython] IronPython Tools for Visual Studio Oh man! I can't wait for the IPy support in VS2010! So, you're saying it should be out in a couple of weeks? Not months? I'm especially eager to get my hands on a really functional, usable and usful IDE for GUI development. Thumbs up to you involved in the development of these tools! Luk?? Dub?da Director [T] +420 602 444 164 duber studio(tm) [M] info at duber.cz [W] http://www.duber.cz [A] R.A.Dvorsk?ho 601, Praha 10 [A] 10900, Czech Republic, Europe Dino Viehland wrote: > It?s not yet publicly available ? the preview was given out exclusively > to PyCon attendees on a CD. We?ll be putting out an updated version > within a couple of weeks after VS 2010 launches which is April 12^th . > > > > *From:* users-bounces at lists.ironpython.com > [mailto:users-bounces at lists.ironpython.com] *On Behalf Of *Marty Nelson > *Sent:* Thursday, April 08, 2010 10:45 AM > *To:* Discussion of IronPython > *Subject:* Re: [IronPython] IronPython Tools for Visual Studio > > > > We offer extensive Iron Python extension points for our customers in our > application and would be very interested in this technology as well. > > > > Marty Nelson > > Symyx Technologies. > > > > *From:* users-bounces at lists.ironpython.com > [mailto:users-bounces at lists.ironpython.com] *On Behalf Of *Prasanna > Jaganathan > *Sent:* Thursday, April 08, 2010 10:36 AM > *To:* users at lists.ironpython.com > *Subject:* [IronPython] IronPython Tools for Visual Studio > > > > Hi > > > > I am trying to get a good IDE for working with Iron Python, I chanced > upon this page and found about IronPython Tools for Visual Studio. > > http://us.pycon.org/media/2010/talkdata/PyCon2010/009/IronPython_Tools_for_Visual_Studio_Walkthrough.pdf > > I have installed Visual Studio 2010 beta and would like to install this > plugin. Can you point me to a place where I can download this? > > > > Thank you very much! > > > > Regards > > Prasanna > > ======= > Notice: This e-mail message, together with any attachments, contains > information of Symyx Technologies, Inc. or any of its affiliates or > subsidiaries that may be confidential, proprietary, copyrighted, > privileged and/or protected work product, and is meant solely for > the intended recipient. If you are not the intended recipient, and > have received this message in error, please contact the sender > immediately, permanently delete the original and any copies of this > email and any attachments thereto. > > > > > ------------------------------------------------------------------------ > > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com _______________________________________________ Users mailing list Users at lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com From curt at hagenlocher.org Fri Apr 9 04:22:57 2010 From: curt at hagenlocher.org (Curt Hagenlocher) Date: Thu, 8 Apr 2010 19:22:57 -0700 Subject: [IronPython] Using SetPropertyValue and Put() In-Reply-To: References: Message-ID: I don't really know anything about WMI -- what's the type of the object returned from the CreateWithNodeType method? What happens when you call b.Put()? As for the code, are you asking for a critique of the Python style? I hope so, because I'm about to provide one! :) As a long-time Python user, here's what I find unsettling: 1) You've defined a class, but aren't really making use of its "class"-ness. As it currently works, you could simply replace the single method of the class with a standalone function. 2) CreateWithNodeType is a class method. This means that its first argument is a type object and not an instance object. Naming the parameter "self" confuses me! It's more traditional to name the class parameter "cls". Like "self", this is only a convention and not a rule, but it's one I think most Python programmers would expect. 3) In CreateWithNodeType, you're setting a number of properties on the type object. These will simply be overwritten on the next call to the method, and they're not being used once the method exits. Slightly more worrying, it makes the code non-thread-safe -- if two threads start executing this method at the same time, they may interfere with each other. (This is simply a value judgement on my part; in 2010, I don't believe in writing code that's needlessly thread-unsafe even if I don't ever expect it to be used in a multithreaded fashion.) 4) It's more traditional to return "None" instead of "False" to indicate "no object" as a return value. Having said that, there don't appear to be any problems that would prevent the code from working correctly -- these are really just stylistic quibbles. On Thu, Apr 8, 2010 at 2:56 PM, Michael wrote: > Hi > > I'm trying to set some properties on an instance in WMI. I can set the > property, but I can't figure out to call the Put() method, so that the > properties are stored. > As I have only looked at IronPython for a couple of day I would also like > if someone can comment on potential issues with the code. > > Regards > > /Michael > > > # Code snippet Begin > > class OV_ManagedNode: > def __init__(self): > import clr > clr.AddReference('System.Management') > global System > global Management > import System.Management > > @classmethod > def CreateWithNodeType(self,\ > PrimaryNodeName,\ > SystemTypeId=11,\ > OsTypeId=18,\ > OsVersionId=18052,\ > HeartBeatMode=0): > try: > self.PrimaryNodeName = PrimaryNodeName > self.SystemTypeId = SystemTypeId > self.OsTypeId = OsTypeId > self.OsVersionId = OsVersionId > self.HeartBeatMode = HeartBeatMode > self.OV_ManagedNode = > > System.Management.ManagementClass('root\HewlettPackard\OpenView\data:OV_ManagedNode') > self.inParams = > self.OV_ManagedNode.GetMethodParameters('CreateWithNodeType') > self.inParams['PrimaryNodeName'] = self.PrimaryNodeName > self.inParams['SystemTypeId'] = self.SystemTypeId > self.inParams['OsTypeId'] = self.OsTypeId > self.inParams['OsVersionId'] = self.OsVersionId > self.inParams['HeartBeatMode'] = self.HeartBeatMode > self.outParams = > self.OV_ManagedNode.InvokeMethod('CreateWithNodeType', self.inParams, None) > #Return Instance of the newly created OV_ManagedNode > return self.outParams['ReturnValue'] > except: > return False > > a = OV_ManagedNode() > b = a.CreateWithNodeType('test') > b.SetPropertyValue('AllowCertAutoGranting', True) > > > # Code snippet End > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > -------------- next part -------------- An HTML attachment was scrubbed... URL: From davidescobar1976 at gmail.com Fri Apr 9 07:43:01 2010 From: davidescobar1976 at gmail.com (David Escobar) Date: Thu, 8 Apr 2010 22:43:01 -0700 Subject: [IronPython] IronPython Tools for Visual Studio In-Reply-To: References: Message-ID: Also, checkout SharpDevelop, an open source .NET IDE. It has full IronPython integration (including a Windows Forms designer!). It can also be used for C#, F#, VB, and Boo. David On Thu, Apr 8, 2010 at 10:35 AM, Prasanna Jaganathan wrote: > Hi > > I am trying to get a good IDE for working with Iron Python, I chanced upon > this page and found about IronPython Tools for Visual Studio. > > http://us.pycon.org/media/2010/talkdata/PyCon2010/009/IronPython_Tools_for_Visual_Studio_Walkthrough.pdf > I > have installed Visual Studio 2010 beta and would like to install this > plugin. Can you point me to a place where I can download this? > > Thank you very much! > > Regards > Prasanna > > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From davidescobar1976 at gmail.com Fri Apr 9 07:51:30 2010 From: davidescobar1976 at gmail.com (David Escobar) Date: Thu, 8 Apr 2010 22:51:30 -0700 Subject: [IronPython] ImportError: No module named In-Reply-To: References: Message-ID: As an aside, you can also access XLSX files with CPython as well. You can use the Python for Win32 extensions. Apparently, it even supports Python 3.x (although I've only used it with Python 2.6 so far). http://sourceforge.net/projects/pywin32/ David On Thu, Apr 8, 2010 at 1:12 PM, Richard Steventon wrote: > Hi all, > > I am moving some code from Python to IronPython (latest) so I can > access Excel XLSX files. The code is a loose bunch of files in a > single directory. > > ie: > main.ipy > accessFunctions.ipy > > Within main.ipy, I do: > from accessFunctions import * > Which gives: > ImportError: No module named accessFunctions > > Checked the path. That's ok. So I googled, and found Ben Hall's > blog: > http://blog.benhall.me.uk/2008/05/ironpython-classes-within-separate.html > Which shows that it should work.... > > Any ideas ? > > -Bye > -Richard > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jimmy.Schementi at microsoft.com Fri Apr 9 10:03:35 2010 From: Jimmy.Schementi at microsoft.com (Jimmy Schementi) Date: Fri, 9 Apr 2010 08:03:35 +0000 Subject: [IronPython] IronPython Tools for Visual Studio In-Reply-To: References: <8C12A2BD8CFE894C891514267B55A2B511456D79@srv-sc-mail.symyx.com> <1A472770E042064698CB5ADC83A12ACD3950A8DB@TK5EX14MBXC118.redmond.corp.microsoft.com> <4BBE1C6A.8000102@duber.cz> Message-ID: <8484D666-7ABC-45CE-AAFE-034759149D26@microsoft.com> > Will there be a web forms component? Also, will you provide a list of enhancements from the last version. A newer Gestalt should be out by then too, correct? We will probably include a web-forms template, as well as Silverlight templates that generate a standalone XAP file, as well as for putting Python in HTML script tags. ~Jimmy From ironpython at klintoe.eu Fri Apr 9 11:45:52 2010 From: ironpython at klintoe.eu (Michael) Date: Fri, 09 Apr 2010 11:45:52 +0200 Subject: [IronPython] Using SetPropertyValue and Put() In-Reply-To: References: Message-ID: <09f63862351f3ac8021c6499c9e53419@127.0.0.1> The type returned from CreateWithNodeType is a 'ManagementBaseObject' which again is a Instance of the newly created OV_ManagedNode. Well nothing really happens as the Put method is not available, and that sort of my problem. Actually yes, critique is very welcome, as this is my only way to know what I'm doing wrong, and where I can improve my noob python skills 1) I'm trying to make the WMI Methods provided by OpenView available through Python, so my code snippet is just one of the methods (the one I'm having trouble with). The documentation says the following on the OV_ManagedNode Class. class OV_ManagedNode { Properties: Some Properties... Class Methods: OV_ManagedNode CreateWithNodeType( [in] string PrimaryNodeName, [in] uint16 SystemTypeId, [in] uint16 OsTypeId, [in] uint32 OsVersionId, ... ... ... ); Some other Methods... Instance Methods: sint32 GetParents( [out] OV_NodeGroup NodeGroups[], [in, optional] boolean IncludeAllHierarchicalParents ); That's why I'm creating a Class. 2) Just to be sure, self.PrimaryNodeName should be changed to cls.PrimaryNodeName to follow the convention? 3) As soon as the method is executed the only thing I need is the returned OV_ManagedNode instance, so I think this is okay, as the method can only be called once with the given parameters. 4) That's a simple on, I'll change this at once. Regards /Michael On Thu, 8 Apr 2010 19:22:57 -0700, Curt Hagenlocher wrote: > I don't really know anything about WMI -- what's the type of the object > returned from the CreateWithNodeType method? What happens when you call > b.Put()? > > As for the code, are you asking for a critique of the Python style? I hope > so, because I'm about to provide one! :) As a long-time Python user, here's > what I find unsettling: > > 1) You've defined a class, but aren't really making use of its > "class"-ness. > As it currently works, you could simply replace the single method of the > class with a standalone function. > 2) CreateWithNodeType is a class method. This means that its first argument > is a type object and not an instance object. Naming the parameter "self" > confuses me! It's more traditional to name the class parameter "cls". Like > "self", this is only a convention and not a rule, but it's one I think most > Python programmers would expect. > 3) In CreateWithNodeType, you're setting a number of properties on the type > object. These will simply be overwritten on the next call to the method, > and > they're not being used once the method exits. Slightly more worrying, it > makes the code non-thread-safe -- if two threads start executing this > method > at the same time, they may interfere with each other. (This is simply a > value judgement on my part; in 2010, I don't believe in writing code that's > needlessly thread-unsafe even if I don't ever expect it to be used in a > multithreaded fashion.) > 4) It's more traditional to return "None" instead of "False" to indicate > "no > object" as a return value. > Having said that, there don't appear to be any problems that would prevent > the code from working correctly -- these are really just stylistic > quibbles. > On Thu, Apr 8, 2010 at 2:56 PM, Michael wrote: > >> Hi >> >> I'm trying to set some properties on an instance in WMI. I can set the >> property, but I can't figure out to call the Put() method, so that the >> properties are stored. >> As I have only looked at IronPython for a couple of day I would also like >> if someone can comment on potential issues with the code. >> >> Regards >> >> /Michael >> >> >> # Code snippet Begin >> >> class OV_ManagedNode: >> def __init__(self): >> import clr >> clr.AddReference('System.Management') >> global System >> global Management >> import System.Management >> >> @classmethod >> def CreateWithNodeType(self,\ >> PrimaryNodeName,\ >> SystemTypeId=11,\ >> OsTypeId=18,\ >> OsVersionId=18052,\ >> HeartBeatMode=0): >> try: >> self.PrimaryNodeName = PrimaryNodeName >> self.SystemTypeId = SystemTypeId >> self.OsTypeId = OsTypeId >> self.OsVersionId = OsVersionId >> self.HeartBeatMode = HeartBeatMode >> self.OV_ManagedNode = >> >> System.Management.ManagementClass('root\HewlettPackard\OpenView\data:OV_ManagedNode') >> self.inParams = >> self.OV_ManagedNode.GetMethodParameters('CreateWithNodeType') >> self.inParams['PrimaryNodeName'] = self.PrimaryNodeName >> self.inParams['SystemTypeId'] = self.SystemTypeId >> self.inParams['OsTypeId'] = self.OsTypeId >> self.inParams['OsVersionId'] = self.OsVersionId >> self.inParams['HeartBeatMode'] = self.HeartBeatMode >> self.outParams = >> self.OV_ManagedNode.InvokeMethod('CreateWithNodeType', self.inParams, >> None) >> #Return Instance of the newly created OV_ManagedNode >> return self.outParams['ReturnValue'] >> except: >> return False >> >> a = OV_ManagedNode() >> b = a.CreateWithNodeType('test') >> b.SetPropertyValue('AllowCertAutoGranting', True) >> >> >> # Code snippet End >> _______________________________________________ >> Users mailing list >> Users at lists.ironpython.com >> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com >> From dmatson at gmail.com Fri Apr 9 22:44:29 2010 From: dmatson at gmail.com (David Matson) Date: Fri, 9 Apr 2010 14:44:29 -0600 Subject: [IronPython] IronPython 2.6.1 for .NET 4.0 RC targeting Silverlight Message-ID: Since the 2.6.1 .NET 4.0 RC release of IronPython (found @ http://ironpython.codeplex.com/releases/view/40146) does not include Silverlight binaries I am wondering if I am going to have to recompile the source against the Silverlight assemblies myself? If so where do I locate the source code which targets .NET 4.0? From fuzzyman at voidspace.org.uk Fri Apr 9 23:49:17 2010 From: fuzzyman at voidspace.org.uk (Michael Foord) Date: Fri, 09 Apr 2010 22:49:17 +0100 Subject: [IronPython] IronPython 2.6.1 for .NET 4.0 RC targeting Silverlight In-Reply-To: References: Message-ID: <4BBFA0DD.3060902@voidspace.org.uk> On 09/04/2010 21:44, David Matson wrote: > Since the 2.6.1 .NET 4.0 RC release of IronPython (found @ > http://ironpython.codeplex.com/releases/view/40146) does not include > Silverlight binaries I am wondering if I am going to have to recompile > the source against the Silverlight assemblies myself? If so where do I > locate the source code which targets .NET 4.0? > IronPython 2.6.1 RC1 includes binaries that work with Silverlight 4. Is that what you want? (Silverlight is a different implementation of .NET from .NET 4 - so there is no such thing as IronPython for .NET 4 for Silverlight as far as I understand it.) All the best, Michael Foord > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > -- http://www.ironpythoninaction.com/ http://www.voidspace.org.uk/blog READ CAREFULLY. By accepting and reading this email you agree, on behalf of your employer, to release me from all obligations and waivers arising from any and all NON-NEGOTIATED agreements, licenses, terms-of-service, shrinkwrap, clickwrap, browsewrap, confidentiality, non-disclosure, non-compete and acceptable use policies (?BOGUS AGREEMENTS?) that I have entered into with your employer, its partners, licensors, agents and assigns, in perpetuity, without prejudice to my ongoing rights and privileges. You further represent that you have the authority to release me from any BOGUS AGREEMENTS on behalf of your employer. From dmatson at gmail.com Sat Apr 10 00:00:40 2010 From: dmatson at gmail.com (David Matson) Date: Fri, 9 Apr 2010 16:00:40 -0600 Subject: [IronPython] IronPython 2.6.1 for .NET 4.0 RC targeting Silverlight In-Reply-To: <4BBFA0DD.3060902@voidspace.org.uk> References: <4BBFA0DD.3060902@voidspace.org.uk> Message-ID: Michael, The MSI I downloaded from the link in my previous posts installs to the following: C:\Program Files (x86)\IronPython 2.6 for .NET 4.0 RC\ There is no Silverlight folder as there is in the 2.6.1 download for .NET 2.0. If I try to add the dlls in the root of that folder I get the following message: "You can't add a reference to IronPython.dll as it was not built against the Silverlight runtime. Silverlight projects will only work with Silverlight assemblies." Am I missing something? Thanks for your help. On Fri, Apr 9, 2010 at 3:49 PM, Michael Foord wrote: > On 09/04/2010 21:44, David Matson wrote: >> >> Since the 2.6.1 .NET 4.0 RC release of IronPython (found @ >> http://ironpython.codeplex.com/releases/view/40146) does not include >> Silverlight binaries I am wondering if I am going to have to recompile >> the source against the Silverlight assemblies myself? If so where do I >> locate the source code which targets .NET 4.0? >> > > IronPython 2.6.1 RC1 includes binaries that work with Silverlight 4. Is that > what you want? > > (Silverlight is a different implementation of .NET from .NET 4 - so there is > no such thing as IronPython for .NET 4 for Silverlight as far as I > understand it.) > > All the best, > > Michael Foord > >> _______________________________________________ >> Users mailing list >> Users at lists.ironpython.com >> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com >> > > > -- > http://www.ironpythoninaction.com/ > http://www.voidspace.org.uk/blog > > READ CAREFULLY. By accepting and reading this email you agree, on behalf of > your employer, to release me from all obligations and waivers arising from > any and all NON-NEGOTIATED agreements, licenses, terms-of-service, > shrinkwrap, clickwrap, browsewrap, confidentiality, non-disclosure, > non-compete and acceptable use policies (?BOGUS AGREEMENTS?) that I have > entered into with your employer, its partners, licensors, agents and > assigns, in perpetuity, without prejudice to my ongoing rights and > privileges. You further represent that you have the authority to release me > from any BOGUS AGREEMENTS on behalf of your employer. > > > -- David Matson dmatson at gmail.com From fuzzyman at voidspace.org.uk Sat Apr 10 00:32:47 2010 From: fuzzyman at voidspace.org.uk (Michael Foord) Date: Fri, 09 Apr 2010 23:32:47 +0100 Subject: [IronPython] IronPython 2.6.1 for .NET 4.0 RC targeting Silverlight In-Reply-To: References: <4BBFA0DD.3060902@voidspace.org.uk> Message-ID: <4BBFAB0F.5000307@voidspace.org.uk> Why do you need a version of IronPython for Silverlight for .NET 4.0? Why will the version in 2.6.1 not do? (or is it just that you don't want to have to install both - which seems like a reasonable position.) Michael On 09/04/2010 23:00, David Matson wrote: > Michael, > > The MSI I downloaded from the link in my previous posts installs to > the following: > C:\Program Files (x86)\IronPython 2.6 for .NET 4.0 RC\ > > There is no Silverlight folder as there is in the 2.6.1 download for > .NET 2.0. If I try to add the dlls in the root of that folder I get > the following message: > > "You can't add a reference to IronPython.dll as it was not built > against the Silverlight runtime. Silverlight projects will only work > with Silverlight assemblies." > > Am I missing something? Thanks for your help. > > On Fri, Apr 9, 2010 at 3:49 PM, Michael Foord wrote: > >> On 09/04/2010 21:44, David Matson wrote: >> >>> Since the 2.6.1 .NET 4.0 RC release of IronPython (found @ >>> http://ironpython.codeplex.com/releases/view/40146) does not include >>> Silverlight binaries I am wondering if I am going to have to recompile >>> the source against the Silverlight assemblies myself? If so where do I >>> locate the source code which targets .NET 4.0? >>> >>> >> IronPython 2.6.1 RC1 includes binaries that work with Silverlight 4. Is that >> what you want? >> >> (Silverlight is a different implementation of .NET from .NET 4 - so there is >> no such thing as IronPython for .NET 4 for Silverlight as far as I >> understand it.) >> >> All the best, >> >> Michael Foord >> >> >>> _______________________________________________ >>> Users mailing list >>> Users at lists.ironpython.com >>> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com >>> >>> >> >> -- >> http://www.ironpythoninaction.com/ >> http://www.voidspace.org.uk/blog >> >> READ CAREFULLY. By accepting and reading this email you agree, on behalf of >> your employer, to release me from all obligations and waivers arising from >> any and all NON-NEGOTIATED agreements, licenses, terms-of-service, >> shrinkwrap, clickwrap, browsewrap, confidentiality, non-disclosure, >> non-compete and acceptable use policies (?BOGUS AGREEMENTS?) that I have >> entered into with your employer, its partners, licensors, agents and >> assigns, in perpetuity, without prejudice to my ongoing rights and >> privileges. You further represent that you have the authority to release me >> from any BOGUS AGREEMENTS on behalf of your employer. >> >> >> >> > > > -- http://www.ironpythoninaction.com/ http://www.voidspace.org.uk/blog READ CAREFULLY. By accepting and reading this email you agree, on behalf of your employer, to release me from all obligations and waivers arising from any and all NON-NEGOTIATED agreements, licenses, terms-of-service, shrinkwrap, clickwrap, browsewrap, confidentiality, non-disclosure, non-compete and acceptable use policies (?BOGUS AGREEMENTS?) that I have entered into with your employer, its partners, licensors, agents and assigns, in perpetuity, without prejudice to my ongoing rights and privileges. You further represent that you have the authority to release me from any BOGUS AGREEMENTS on behalf of your employer. From Jimmy.Schementi at microsoft.com Sat Apr 10 00:33:01 2010 From: Jimmy.Schementi at microsoft.com (Jimmy Schementi) Date: Fri, 9 Apr 2010 22:33:01 +0000 Subject: [IronPython] IronPython 2.6.1 for .NET 4.0 RC targeting Silverlight In-Reply-To: References: <4BBFA0DD.3060902@voidspace.org.uk> Message-ID: <1B42307CD4AADD438CDDA2FE1121CC9217324A8A@TK5EX14MBXC136.redmond.corp.microsoft.com> > The MSI I downloaded from the link in my previous posts installs to > the following: > C:\Program Files (x86)\IronPython 2.6 for .NET 4.0 RC\ > > There is no Silverlight folder as there is in the 2.6.1 download for > .NET 2.0. If I try to add the dlls in the root of that folder I get > the following message: > > "You can't add a reference to IronPython.dll as it was not built > against the Silverlight runtime. Silverlight projects will only work > with Silverlight assemblies." > > Am I missing something? Thanks for your help. Since the current stable version of Silverlight is Silverlight 3, which is a subset of .NET 3.5, we only include Silverlight binaries in the version of IronPython for .NET 2.0: http://ironpython.codeplex.com/releases/view/40144. When Silverlight 4 is considered the stable version, which is a subset of .NET 4, "IronPython for .NET 4.0" will contain binaries build against Silverlight 4. Note that those Silverlight binaries will run on Silverlight 4, they just aren't built against Silverlight 4, so any .NET 4.0 specific features (like "dynamic" interop) are not available, but normal app development works. ~Jimmy From fuzzyman at voidspace.org.uk Sat Apr 10 00:38:26 2010 From: fuzzyman at voidspace.org.uk (Michael Foord) Date: Fri, 09 Apr 2010 23:38:26 +0100 Subject: [IronPython] IronPython 2.6.1 for .NET 4.0 RC targeting Silverlight In-Reply-To: <1B42307CD4AADD438CDDA2FE1121CC9217324A8A@TK5EX14MBXC136.redmond.corp.microsoft.com> References: <4BBFA0DD.3060902@voidspace.org.uk> <1B42307CD4AADD438CDDA2FE1121CC9217324A8A@TK5EX14MBXC136.redmond.corp.microsoft.com> Message-ID: <4BBFAC62.80601@voidspace.org.uk> On 09/04/2010 23:33, Jimmy Schementi wrote: >> The MSI I downloaded from the link in my previous posts installs to >> the following: >> C:\Program Files (x86)\IronPython 2.6 for .NET 4.0 RC\ >> >> There is no Silverlight folder as there is in the 2.6.1 download for >> .NET 2.0. If I try to add the dlls in the root of that folder I get >> the following message: >> >> "You can't add a reference to IronPython.dll as it was not built >> against the Silverlight runtime. Silverlight projects will only work >> with Silverlight assemblies." >> >> Am I missing something? Thanks for your help. >> > Since the current stable version of Silverlight is Silverlight 3, which is a subset of .NET 3.5, we only include Silverlight binaries in the version of IronPython for .NET 2.0: http://ironpython.codeplex.com/releases/view/40144. When Silverlight 4 is considered the stable version, which is a subset of .NET 4, "IronPython for .NET 4.0" will contain binaries build against Silverlight 4. Note that those Silverlight binaries will run on Silverlight 4, they just aren't built against Silverlight 4, so any .NET 4.0 specific features (like "dynamic" interop) are not available, but normal app development works. > > Ok - so that makes sense. So to use some C# 4 features with Silverlight and IronPython you *will* need a version of IronPython for Silverlight built specifically against Silverlight 4. I guess that means that apps using that version of IronPython *won't* work in earlier versions of Silverlight. Confusing. :-) In general versions of IronPython built against (for example) Silverlight 2 *can* use features from Silverlight 3. (Try Python uses IronPython that was built against Silverlight 2 - but dynamically uses some Silverlight 3 APIs if they are available.) As Silverlight 4 includes a different version of the CLR - and not just different API sets - I guess it particularly makes a difference if you are compiling C# code that works with IronPython. Odd and annoying that it won't even add references to earlier versions though. Does *everything* need to be specially compiled to be used with .NET 4? Michael > ~Jimmy > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > -- http://www.ironpythoninaction.com/ http://www.voidspace.org.uk/blog READ CAREFULLY. By accepting and reading this email you agree, on behalf of your employer, to release me from all obligations and waivers arising from any and all NON-NEGOTIATED agreements, licenses, terms-of-service, shrinkwrap, clickwrap, browsewrap, confidentiality, non-disclosure, non-compete and acceptable use policies (?BOGUS AGREEMENTS?) that I have entered into with your employer, its partners, licensors, agents and assigns, in perpetuity, without prejudice to my ongoing rights and privileges. You further represent that you have the authority to release me from any BOGUS AGREEMENTS on behalf of your employer. From dmatson at gmail.com Sat Apr 10 00:40:26 2010 From: dmatson at gmail.com (David Matson) Date: Fri, 9 Apr 2010 16:40:26 -0600 Subject: [IronPython] IronPython 2.6.1 for .NET 4.0 RC targeting Silverlight In-Reply-To: <1B42307CD4AADD438CDDA2FE1121CC9217324A8A@TK5EX14MBXC136.redmond.corp.microsoft.com> References: <4BBFA0DD.3060902@voidspace.org.uk> <1B42307CD4AADD438CDDA2FE1121CC9217324A8A@TK5EX14MBXC136.redmond.corp.microsoft.com> Message-ID: Jimmy, I was using the DLLs from the .NET 2.0 release and that worked fine albeit there are several warnings regarding types existing in both the .NET and the IronPython assemblies. However, I tried to use an ExpandoObject and now I get the error: The type 'System.Dynamic.ExpandoObject' exists in both 'c:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client\System.Core.dll' and '\IronPythonDlls\Microsoft.Scripting.Core.dll' On Fri, Apr 9, 2010 at 4:33 PM, Jimmy Schementi wrote: >> The MSI I downloaded from the link in my previous posts installs to >> the following: >> C:\Program Files (x86)\IronPython 2.6 for .NET 4.0 RC\ >> >> There is no Silverlight folder as there is in the 2.6.1 download for >> .NET 2.0. If I try to add the dlls in the root of that folder I get >> the following message: >> >> "You can't add a reference to IronPython.dll as it was not built >> against the Silverlight runtime. Silverlight projects will only work >> with Silverlight assemblies." >> >> Am I missing something? Thanks for your help. > > Since the current stable version of Silverlight is Silverlight 3, which is a subset of .NET 3.5, we only include Silverlight binaries in the version of IronPython for .NET 2.0: http://ironpython.codeplex.com/releases/view/40144. When Silverlight 4 is considered the stable version, which is a subset of .NET 4, "IronPython for .NET 4.0" will contain binaries build against Silverlight 4. Note that those Silverlight binaries will run on Silverlight 4, they just aren't built against Silverlight 4, so any .NET 4.0 specific features (like "dynamic" interop) are not available, but normal app development works. > > ~Jimmy > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > -- David Matson dmatson at gmail.com From tcronin at asrclkrec.com Sat Apr 10 00:44:34 2010 From: tcronin at asrclkrec.com (Cronin, Ted) Date: Fri, 9 Apr 2010 15:44:34 -0700 Subject: [IronPython] ImportError: No module named In-Reply-To: References: , Message-ID: Cool. Thanks Jimmy. From dmatson at gmail.com Sat Apr 10 00:45:11 2010 From: dmatson at gmail.com (David Matson) Date: Fri, 9 Apr 2010 16:45:11 -0600 Subject: [IronPython] IronPython 2.6.1 for .NET 4.0 RC targeting Silverlight In-Reply-To: References: <4BBFA0DD.3060902@voidspace.org.uk> <1B42307CD4AADD438CDDA2FE1121CC9217324A8A@TK5EX14MBXC136.redmond.corp.microsoft.com> Message-ID: Just for clarity's sake here are the 5 warnings and 1 error I receive. Warning 1 The predefined type 'System.Runtime.CompilerServices.ExtensionAttribute' is defined in multiple assemblies in the global alias; using definition from 'c:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client\System.Core.dll' Warning 2 The predefined type 'System.Runtime.InteropServices.DefaultParameterValueAttribute' is defined in multiple assemblies in the global alias; using definition from 'c:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client\System.dll' Warning 3 The predefined type 'System.Runtime.CompilerServices.CallSiteBinder' is defined in multiple assemblies in the global alias; using definition from 'c:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client\System.Core.dll' Warning 4 The predefined type 'System.Runtime.CompilerServices.CallSite' is defined in multiple assemblies in the global alias; using definition from 'c:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client\System.Core.dll' Warning 5 The predefined type 'System.Runtime.CompilerServices.CallSite' is defined in multiple assemblies in the global alias; using definition from 'c:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client\System.Core.dll' Error 6 The type 'System.Dynamic.ExpandoObject' exists in both 'c:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client\System.Core.dll' and '\IronPythonDlls\Microsoft.Scripting.Core.dll' On Fri, Apr 9, 2010 at 4:40 PM, David Matson wrote: > Jimmy, > > I was using the DLLs from the .NET 2.0 release and that worked fine > albeit there are several warnings regarding types existing in both the > .NET and the IronPython assemblies. However, I tried to use an > ExpandoObject and now I get the error: > > The type 'System.Dynamic.ExpandoObject' exists in both 'c:\Program > Files (x86)\Reference > Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client\System.Core.dll' > and '\IronPythonDlls\Microsoft.Scripting.Core.dll' > > > On Fri, Apr 9, 2010 at 4:33 PM, Jimmy Schementi > wrote: >>> The MSI I downloaded from the link in my previous posts installs to >>> the following: >>> C:\Program Files (x86)\IronPython 2.6 for .NET 4.0 RC\ >>> >>> There is no Silverlight folder as there is in the 2.6.1 download for >>> .NET 2.0. If I try to add the dlls in the root of that folder I get >>> the following message: >>> >>> "You can't add a reference to IronPython.dll as it was not built >>> against the Silverlight runtime. Silverlight projects will only work >>> with Silverlight assemblies." >>> >>> Am I missing something? Thanks for your help. >> >> Since the current stable version of Silverlight is Silverlight 3, which is a subset of .NET 3.5, we only include Silverlight binaries in the version of IronPython for .NET 2.0: http://ironpython.codeplex.com/releases/view/40144. When Silverlight 4 is considered the stable version, which is a subset of .NET 4, "IronPython for .NET 4.0" will contain binaries build against Silverlight 4. Note that those Silverlight binaries will run on Silverlight 4, they just aren't built against Silverlight 4, so any .NET 4.0 specific features (like "dynamic" interop) are not available, but normal app development works. >> >> ~Jimmy >> _______________________________________________ >> Users mailing list >> Users at lists.ironpython.com >> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com >> > > > > -- > David Matson > dmatson at gmail.com > -- David Matson dmatson at gmail.com From mustaq2001 at gmail.com Sat Apr 10 15:50:46 2010 From: mustaq2001 at gmail.com (mohammad mustaq) Date: Sat, 10 Apr 2010 19:20:46 +0530 Subject: [IronPython] IronPython.Runtime.Types.PythonType Is not marked as Serializable Exception In-Reply-To: References: <1b9598291003292013x64ae07a3j9bb9290a058f9d98@mail.gmail.com> <1A472770E042064698CB5ADC83A12ACD394D33AA@TK5EX14MBXC118.redmond.corp.microsoft.com> Message-ID: Hi Dino, Is there any update on this. Should you need more details let me know. thanks, Mustaq On Wed, Apr 7, 2010 at 10:40 AM, mohammad mustaq wrote: > Hi Dino, > > If have tweaked your code to reproduce the exception that I am facing. Let > me know if you need more details. > > thanks, > Mustaq > > > using System; > using Microsoft.Scripting; > using IronPython.Hosting; > using Microsoft.Scripting.Hosting; > > > class Foo > { > public static void Main(string[] args) > { > AppDomain ad = AppDomain.CreateDomain("foo"); > var engine = Python.CreateEngine(ad); > engine.Runtime.LoadAssembly( > typeof(MbrBase).Assembly); > > var code = engine.CreateScriptSourceFromString(@" > import MbrBase > class C(MbrBase): > pass > > a = C() > ", SourceCodeKind.Statements); > > var scope = engine.CreateScope(); > code.Execute(scope); > > Console.WriteLine("Trying to do it... {0}", > AppDomain.CurrentDomain.Id ); > MbrBase mbr = (MbrBase)scope.GetVariable("a"); > > // MY CHANGES > > string isSubClassCode = String.Format("issubclass({0},{1})", "C", > "MbrBase"); > ScriptSource script = > engine.CreateScriptSourceFromString(isSubClassCode, > SourceCodeKind.Expression); > bool result = (bool)script.Execute(scope); > > if (result == true) > { > ObjectOperations ops = engine.Operations; > > object subClass = scope.GetVariable("C"); > object instance = ops.Call(subClass); > > mbr = instance as MbrBase; > } > > // END OF MY CHANGE > > mbr.DoItVirtually(); > mbr.DoIt(); > Console.ReadKey(); > > } > } > > public class MbrBase : MarshalByRefObject > { > public virtual void DoItVirtually() > { > Console.WriteLine("Did it virtually {0}", > AppDomain.CurrentDomain.Id ); > } > > public void DoIt() > { > Console.WriteLine("Did it {0}", AppDomain.CurrentDomain.Id > ); > } > } > > > On Tue, Mar 30, 2010 at 10:12 PM, Dino Viehland wrote: > >> This works for me w/ 2.6. I?ve included my simple repro below which >> creates a new script engine in a remote app domain, loads my assembly in, >> runs some code which subclasses the MBRO base class, instantiates an >> instance of this class, and then calls it from a remote app domain. The key >> thing here is that when an MBRO is involved a PythonType should not need to >> be serialized ? the type should live in the remote app domain and all >> execution of that code should also happen in the remote app domain where we >> have access to the local PythonType object. Are you also subclassing types >> which don?t derive from MBRO? It might help to run IronPython w/ >> -X:ExceptionDetail if the exception is propagating through IronPython ? >> that?ll give a better stack trace to understand what?s going on. Or if you >> can tweak the simple repro below to match the behavior you?re seeing that?d >> be helpful as well. >> >> >> >> using System; >> >> using Microsoft.Scripting; >> >> using IronPython.Hosting; >> >> >> >> class Foo { >> >> public static void Main(string[] args) { >> >> AppDomain ad = AppDomain.CreateDomain("foo"); >> >> var engine = Python.CreateEngine(ad); >> >> engine.Runtime.LoadAssembly(typeof(MbrBase).Assembly); >> >> >> >> var code = engine.CreateScriptSourceFromString(@" >> >> import MbrBase >> >> class C(MbrBase): >> >> pass >> >> >> >> a = C() >> >> ", SourceCodeKind.Statements); >> >> >> >> var scope = engine.CreateScope(); >> >> code.Execute(scope); >> >> >> >> Console.WriteLine("Trying to do it... {0}", >> AppDomain.CurrentDomain.Id); >> >> MbrBase mbr = (MbrBase)scope.GetVariable("a"); >> >> mbr.DoItVirtually(); >> >> mbr.DoIt(); >> >> } >> >> } >> >> >> >> public class MbrBase : MarshalByRefObject { >> >> public virtual void DoItVirtually() { >> >> Console.WriteLine("Did it virtually {0}", >> AppDomain.CurrentDomain.Id); >> >> } >> >> >> >> public void DoIt() { >> >> Console.WriteLine("Did it {0}", AppDomain.CurrentDomain.Id); >> >> } >> >> } >> >> >> >> *From:* users-bounces at lists.ironpython.com [mailto: >> users-bounces at lists.ironpython.com] *On Behalf Of *mohammad mustaq >> *Sent:* Monday, March 29, 2010 8:13 PM >> *To:* users at lists.ironpython.com >> *Subject:* [IronPython] IronPython.Runtime.Types.PythonType Is not marked >> as Serializable Exception >> >> >> >> Hi, >> >> I have IronPython embedded in my C# application. I face issues while >> creating the python engine in a different appdomain. >> >> It is imposed that every class in IronPython inherit the .NET base class >> say ClassA. ClassA is derived from MarshalByRefObj as I need to pass an >> instance of this class to a new appdomain. >> I create a new appdomain and pass the instance of ClassA to this >> Appdomain. While calling a method in python class through the instance of >> ClassA I get an exception mentioning that "Type >> 'IronPython.Runtime.Types.PythonTyp >> >> e' in Assembly 'IronPython, Version=2.0.0.0, Culture=neutral, >> PublicKeyToken=31bf3856ad364e35' is not marked as serializable". >> >> How do I Serialize this PythonType. One way that i know is to modify the >> IronPython source and mark the required types as Serializable (but i do not >> know where it will lead to and its consequences). Could you please suggest a >> way to perform the required operation. Should you need more details let me >> know. >> >> thanks, >> Mustaq >> >> P.S. I have used both IronPython 2.0 and 2.6. >> >> _______________________________________________ >> Users mailing list >> Users at lists.ironpython.com >> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jimmy.Schementi at microsoft.com Sat Apr 10 22:22:30 2010 From: Jimmy.Schementi at microsoft.com (Jimmy Schementi) Date: Sat, 10 Apr 2010 20:22:30 +0000 Subject: [IronPython] IronPython 2.6.1 for .NET 4.0 RC targeting Silverlight In-Reply-To: References: <4BBFA0DD.3060902@voidspace.org.uk> <1B42307CD4AADD438CDDA2FE1121CC9217324A8A@TK5EX14MBXC136.redmond.corp.microsoft.com> Message-ID: <8AFB3B06-AF4A-4135-91D0-942A5B7D0D80@microsoft.com> To embed IronPython (CLR2 SL build) in a Silverlight 4 app, you have to add a reference to Microsoft.Scripting.ExtensionAttribute.dll to make sure types defined in both System.Core.dll and Microsoft.Scripting.Core.dll are used from the latter assembly. Again, Keep in mind the dynamic type in C# won't work in this case; you'll need to build IronPython against SL4 from source to to get that functionality. Let me know if this works for you. ~Jimmy On Apr 9, 2010, at 3:46 PM, "David Matson" wrote: > Just for clarity's sake here are the 5 warnings and 1 error I receive. > > Warning 1 The predefined type > 'System.Runtime.CompilerServices.ExtensionAttribute' is defined in > multiple assemblies in the global alias; using definition from > 'c:\Program Files (x86)\Reference > Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client\System.Core.dll' > Warning 2 The predefined type > 'System.Runtime.InteropServices.DefaultParameterValueAttribute' is > defined in multiple assemblies in the global alias; using definition > from 'c:\Program Files (x86)\Reference > Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client\System.dll' > Warning 3 The predefined type > 'System.Runtime.CompilerServices.CallSiteBinder' is defined in > multiple assemblies in the global alias; using definition from > 'c:\Program Files (x86)\Reference > Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client\System.Core.dll' > Warning 4 The predefined type > 'System.Runtime.CompilerServices.CallSite' is defined in multiple > assemblies in the global alias; using definition from 'c:\Program > Files (x86)\Reference > Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client\System.Core.dll' > Warning 5 The predefined type > 'System.Runtime.CompilerServices.CallSite' is defined in multiple > assemblies in the global alias; using definition from 'c:\Program > Files (x86)\Reference > Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client\System.Core.dll' > Error 6 The type 'System.Dynamic.ExpandoObject' exists in both > 'c:\Program Files (x86)\Reference > Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client\System.Core.dll' > and '\IronPythonDlls\Microsoft.Scripting.Core.dll' > > > On Fri, Apr 9, 2010 at 4:40 PM, David Matson wrote: >> Jimmy, >> >> I was using the DLLs from the .NET 2.0 release and that worked fine >> albeit there are several warnings regarding types existing in both the >> .NET and the IronPython assemblies. However, I tried to use an >> ExpandoObject and now I get the error: >> >> The type 'System.Dynamic.ExpandoObject' exists in both 'c:\Program >> Files (x86)\Reference >> Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client\System.Core.dll' >> and '\IronPythonDlls\Microsoft.Scripting.Core.dll' >> >> >> On Fri, Apr 9, 2010 at 4:33 PM, Jimmy Schementi >> wrote: >>>> The MSI I downloaded from the link in my previous posts installs to >>>> the following: >>>> C:\Program Files (x86)\IronPython 2.6 for .NET 4.0 RC\ >>>> >>>> There is no Silverlight folder as there is in the 2.6.1 download for >>>> .NET 2.0. If I try to add the dlls in the root of that folder I get >>>> the following message: >>>> >>>> "You can't add a reference to IronPython.dll as it was not built >>>> against the Silverlight runtime. Silverlight projects will only work >>>> with Silverlight assemblies." >>>> >>>> Am I missing something? Thanks for your help. >>> >>> Since the current stable version of Silverlight is Silverlight 3, which is a subset of .NET 3.5, we only include Silverlight binaries in the version of IronPython for .NET 2.0: http://ironpython.codeplex.com/releases/view/40144. When Silverlight 4 is considered the stable version, which is a subset of .NET 4, "IronPython for .NET 4.0" will contain binaries build against Silverlight 4. Note that those Silverlight binaries will run on Silverlight 4, they just aren't built against Silverlight 4, so any .NET 4.0 specific features (like "dynamic" interop) are not available, but normal app development works. >>> >>> ~Jimmy >>> _______________________________________________ >>> Users mailing list >>> Users at lists.ironpython.com >>> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com >>> >> >> >> >> -- >> David Matson >> dmatson at gmail.com >> > > > > -- > David Matson > dmatson at gmail.com > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > From tal.weiss.1982 at gmail.com Sun Apr 11 09:38:32 2010 From: tal.weiss.1982 at gmail.com (tal1982) Date: Sun, 11 Apr 2010 00:38:32 -0700 (PDT) Subject: [IronPython] implementing C# interface with Ironpython (v 1.1.1.0) Message-ID: <28162887.post@talk.nabble.com> Hi people. I have a huge program I'm working on, it is mostly written in IronPython. For performance reason i started changing parts of the code into C#. I have a huge class which uses many other classes that are implemented in IronPython. I don't want to re-implement the entire code in C# it will take too long. What i want to do is write a C# interface which my python class will inherit from. My main problem is native python types such as [],{},None I was wondering whether IronPython knows how to convert List<> ,Dictionary, null into [],{},None? If not could any of you guys suggest a solution (one that doesn't require me to copy data from C# data types to IronPython data types) ? Regards, Tal Weiss. -- View this message in context: http://old.nabble.com/implementing-C--interface-with-Ironpython-%28v-1.1.1.0%29-tp28162887p28162887.html Sent from the IronPython mailing list archive at Nabble.com. From fuzzyman at voidspace.org.uk Mon Apr 12 13:33:55 2010 From: fuzzyman at voidspace.org.uk (Michael Foord) Date: Mon, 12 Apr 2010 13:33:55 +0200 Subject: [IronPython] Silverlight 4 and RichTextBox Message-ID: <4BC30523.9040106@voidspace.org.uk> Hello all, I'm trying to use the new RichTextBox from Silverlight 4 with IronPython. I have IronPython 2.6.1 RC and Silverlight 4 RC installed (Windows). It fails with a "SystemError: Specified method is not supported" when instantiating the RichTextBox. The code is: from System.Windows import Application from System.Windows.Controls import Canvas, RichTextBox canvas = Canvas() text = RichTextBox() text.Text = 'Hello World from IronPython' canvas.Children.Add(text) Application.Current.RootVisual = canvas Any ideas? All the best, Michael Foord -- http://www.ironpythoninaction.com/ From fuzzyman at voidspace.org.uk Mon Apr 12 13:40:56 2010 From: fuzzyman at voidspace.org.uk (Michael Foord) Date: Mon, 12 Apr 2010 13:40:56 +0200 Subject: [IronPython] Silverlight 4 and RichTextBox In-Reply-To: <4BC30523.9040106@voidspace.org.uk> References: <4BC30523.9040106@voidspace.org.uk> Message-ID: <4BC306C8.5090504@voidspace.org.uk> On 12/04/2010 13:33, Michael Foord wrote: > Hello all, > > I'm trying to use the new RichTextBox from Silverlight 4 with > IronPython. I have IronPython 2.6.1 RC and Silverlight 4 RC installed > (Windows). It fails with a "SystemError: Specified method is not > supported" when instantiating the RichTextBox. > If I attempt to create the RichTextBox from xaml instead of code the error is: "SystemError: AG_E_UNKNOWN_ERROR [Line: 5 Position: 25]" The xaml is: All the best, Michael > The code is: > > > from System.Windows import Application > from System.Windows.Controls import Canvas, RichTextBox > > canvas = Canvas() > text = RichTextBox() > text.Text = 'Hello World from IronPython' > canvas.Children.Add(text) > > Application.Current.RootVisual = canvas > > Any ideas? > > All the best, > > Michael Foord > -- http://www.ironpythoninaction.com/ From dmatson at gmail.com Mon Apr 12 17:18:31 2010 From: dmatson at gmail.com (David Matson) Date: Mon, 12 Apr 2010 09:18:31 -0600 Subject: [IronPython] IronPython 2.6.1 for .NET 4.0 RC targeting Silverlight In-Reply-To: <8AFB3B06-AF4A-4135-91D0-942A5B7D0D80@microsoft.com> References: <4BBFA0DD.3060902@voidspace.org.uk> <1B42307CD4AADD438CDDA2FE1121CC9217324A8A@TK5EX14MBXC136.redmond.corp.microsoft.com> <8AFB3B06-AF4A-4135-91D0-942A5B7D0D80@microsoft.com> Message-ID: Jimmy, I'm having trouble finding the source code for the 2.6.1 .NET 4.0 release on Codeplex. Can you point me to it? Thanks. On Sat, Apr 10, 2010 at 2:22 PM, Jimmy Schementi wrote: > To embed IronPython (CLR2 SL build) in a Silverlight 4 app, you have to add a reference to Microsoft.Scripting.ExtensionAttribute.dll to make sure types defined in both System.Core.dll and Microsoft.Scripting.Core.dll are used from the latter assembly. > > Again, Keep in mind the dynamic type in C# won't work in this case; you'll need to build IronPython against SL4 from source to to get that functionality. > > Let me know if this works for you. > > ~Jimmy > > On Apr 9, 2010, at 3:46 PM, "David Matson" wrote: > >> Just for clarity's sake here are the 5 warnings and 1 error I receive. >> >> Warning ? ? ? 1 ? ? ? The predefined type >> 'System.Runtime.CompilerServices.ExtensionAttribute' is defined in >> multiple assemblies in the global alias; using definition from >> 'c:\Program Files (x86)\Reference >> Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client\System.Core.dll' >> Warning ? ? ? 2 ? ? ? The predefined type >> 'System.Runtime.InteropServices.DefaultParameterValueAttribute' is >> defined in multiple assemblies in the global alias; using definition >> from 'c:\Program Files (x86)\Reference >> Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client\System.dll' >> Warning ? ? ? 3 ? ? ? The predefined type >> 'System.Runtime.CompilerServices.CallSiteBinder' is defined in >> multiple assemblies in the global alias; using definition from >> 'c:\Program Files (x86)\Reference >> Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client\System.Core.dll' >> Warning ? ? ? 4 ? ? ? The predefined type >> 'System.Runtime.CompilerServices.CallSite' is defined in multiple >> assemblies in the global alias; using definition from 'c:\Program >> Files (x86)\Reference >> Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client\System.Core.dll' >> Warning ? ? ? 5 ? ? ? The predefined type >> 'System.Runtime.CompilerServices.CallSite' is defined in multiple >> assemblies in the global alias; using definition from 'c:\Program >> Files (x86)\Reference >> Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client\System.Core.dll' >> Error 6 ? ? ? The type 'System.Dynamic.ExpandoObject' exists in both >> 'c:\Program Files (x86)\Reference >> Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client\System.Core.dll' >> and '\IronPythonDlls\Microsoft.Scripting.Core.dll' >> >> >> On Fri, Apr 9, 2010 at 4:40 PM, David Matson wrote: >>> Jimmy, >>> >>> I was using the DLLs from the .NET 2.0 release and that worked fine >>> albeit there are several warnings regarding types existing in both the >>> .NET and the IronPython assemblies. However, I tried to use an >>> ExpandoObject and now I get the error: >>> >>> The type 'System.Dynamic.ExpandoObject' exists in both 'c:\Program >>> Files (x86)\Reference >>> Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client\System.Core.dll' >>> and '\IronPythonDlls\Microsoft.Scripting.Core.dll' >>> >>> >>> On Fri, Apr 9, 2010 at 4:33 PM, Jimmy Schementi >>> wrote: >>>>> The MSI I downloaded from the link in my previous posts installs to >>>>> the following: >>>>> C:\Program Files (x86)\IronPython 2.6 for .NET 4.0 RC\ >>>>> >>>>> There is no Silverlight folder as there is in the 2.6.1 download for >>>>> .NET 2.0. If I try to add the dlls in the root of that folder I get >>>>> the following message: >>>>> >>>>> "You can't add a reference to IronPython.dll as it was not built >>>>> against the Silverlight runtime. Silverlight projects will only work >>>>> with Silverlight assemblies." >>>>> >>>>> Am I missing something? Thanks for your help. >>>> >>>> Since the current stable version of Silverlight is Silverlight 3, which is a subset of .NET 3.5, we only include Silverlight binaries in the version of IronPython for .NET 2.0: http://ironpython.codeplex.com/releases/view/40144. When Silverlight 4 is considered the stable version, which is a subset of .NET 4, "IronPython for .NET 4.0" will contain binaries build against Silverlight 4. Note that those Silverlight binaries will run on Silverlight 4, they just aren't built against Silverlight 4, so any .NET 4.0 specific features (like "dynamic" interop) are not available, but normal app development works. >>>> >>>> ~Jimmy >>>> _______________________________________________ >>>> Users mailing list >>>> Users at lists.ironpython.com >>>> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com >>>> >>> >>> >>> >>> -- >>> David Matson >>> dmatson at gmail.com >>> >> >> >> >> -- >> David Matson >> dmatson at gmail.com >> _______________________________________________ >> Users mailing list >> Users at lists.ironpython.com >> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com >> > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > From dinov at microsoft.com Mon Apr 12 20:31:29 2010 From: dinov at microsoft.com (Dino Viehland) Date: Mon, 12 Apr 2010 18:31:29 +0000 Subject: [IronPython] IronPython.Runtime.Types.PythonType Is not marked as Serializable Exception In-Reply-To: References: <1b9598291003292013x64ae07a3j9bb9290a058f9d98@mail.gmail.com> <1A472770E042064698CB5ADC83A12ACD394D33AA@TK5EX14MBXC118.redmond.corp.microsoft.com> Message-ID: <1A472770E042064698CB5ADC83A12ACD3951A683@TK5EX14MBXC118.redmond.corp.microsoft.com> Sorry for the delay - I was taking a couple of days off last week and I didn't get a chance to respond before disappearing. The problem here is that you're trying to return the objects from the remote domain into the local domain. ObjectOperations actually has a set of overloads which take ObjectHandles and has some other methods which return ObjectHandles for working with objects in a remote app domain. If I change your modified code to the code below and add a using System.Runtime.Remoting this works again: var subClass = scope.GetVariableHandle("C"); // get back a handle var instance = ops.Invoke(subClass, new ObjectHandle[0]); // invoke the handle to create an instance mbr = instance.Unwrap() as MbrBase; // now we know we have an MBR and we can unwrap it to our local side From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of mohammad mustaq Sent: Saturday, April 10, 2010 6:51 AM To: Discussion of IronPython Subject: Re: [IronPython] IronPython.Runtime.Types.PythonType Is not marked as Serializable Exception Hi Dino, Is there any update on this. Should you need more details let me know. thanks, Mustaq On Wed, Apr 7, 2010 at 10:40 AM, mohammad mustaq > wrote: Hi Dino, If have tweaked your code to reproduce the exception that I am facing. Let me know if you need more details. thanks, Mustaq using System; using Microsoft.Scripting; using IronPython.Hosting; using Microsoft.Scripting.Hosting; class Foo { public static void Main(string[] args) { AppDomain ad = AppDomain.CreateDomain("foo"); var engine = Python.CreateEngine(ad); engine.Runtime.LoadAssembly( typeof(MbrBase).Assembly); var code = engine.CreateScriptSourceFromString(@" import MbrBase class C(MbrBase): pass a = C() ", SourceCodeKind.Statements); var scope = engine.CreateScope(); code.Execute(scope); Console.WriteLine("Trying to do it... {0}", AppDomain.CurrentDomain.Id); MbrBase mbr = (MbrBase)scope.GetVariable("a"); // MY CHANGES string isSubClassCode = String.Format("issubclass({0},{1})", "C", "MbrBase"); ScriptSource script = engine.CreateScriptSourceFromString(isSubClassCode, SourceCodeKind.Expression); bool result = (bool)script.Execute(scope); if (result == true) { ObjectOperations ops = engine.Operations; object subClass = scope.GetVariable("C"); object instance = ops.Call(subClass); mbr = instance as MbrBase; } // END OF MY CHANGE mbr.DoItVirtually(); mbr.DoIt(); Console.ReadKey(); } } public class MbrBase : MarshalByRefObject { public virtual void DoItVirtually() { Console.WriteLine("Did it virtually {0}", AppDomain.CurrentDomain.Id); } public void DoIt() { Console.WriteLine("Did it {0}", AppDomain.CurrentDomain.Id); } } On Tue, Mar 30, 2010 at 10:12 PM, Dino Viehland > wrote: This works for me w/ 2.6. I've included my simple repro below which creates a new script engine in a remote app domain, loads my assembly in, runs some code which subclasses the MBRO base class, instantiates an instance of this class, and then calls it from a remote app domain. The key thing here is that when an MBRO is involved a PythonType should not need to be serialized - the type should live in the remote app domain and all execution of that code should also happen in the remote app domain where we have access to the local PythonType object. Are you also subclassing types which don't derive from MBRO? It might help to run IronPython w/ -X:ExceptionDetail if the exception is propagating through IronPython - that'll give a better stack trace to understand what's going on. Or if you can tweak the simple repro below to match the behavior you're seeing that'd be helpful as well. using System; using Microsoft.Scripting; using IronPython.Hosting; class Foo { public static void Main(string[] args) { AppDomain ad = AppDomain.CreateDomain("foo"); var engine = Python.CreateEngine(ad); engine.Runtime.LoadAssembly(typeof(MbrBase).Assembly); var code = engine.CreateScriptSourceFromString(@" import MbrBase class C(MbrBase): pass a = C() ", SourceCodeKind.Statements); var scope = engine.CreateScope(); code.Execute(scope); Console.WriteLine("Trying to do it... {0}", AppDomain.CurrentDomain.Id); MbrBase mbr = (MbrBase)scope.GetVariable("a"); mbr.DoItVirtually(); mbr.DoIt(); } } public class MbrBase : MarshalByRefObject { public virtual void DoItVirtually() { Console.WriteLine("Did it virtually {0}", AppDomain.CurrentDomain.Id); } public void DoIt() { Console.WriteLine("Did it {0}", AppDomain.CurrentDomain.Id); } } From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of mohammad mustaq Sent: Monday, March 29, 2010 8:13 PM To: users at lists.ironpython.com Subject: [IronPython] IronPython.Runtime.Types.PythonType Is not marked as Serializable Exception Hi, I have IronPython embedded in my C# application. I face issues while creating the python engine in a different appdomain. It is imposed that every class in IronPython inherit the .NET base class say ClassA. ClassA is derived from MarshalByRefObj as I need to pass an instance of this class to a new appdomain. I create a new appdomain and pass the instance of ClassA to this Appdomain. While calling a method in python class through the instance of ClassA I get an exception mentioning that "Type 'IronPython.Runtime.Types.PythonTyp e' in Assembly 'IronPython, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' is not marked as serializable". How do I Serialize this PythonType. One way that i know is to modify the IronPython source and mark the required types as Serializable (but i do not know where it will lead to and its consequences). Could you please suggest a way to perform the required operation. Should you need more details let me know. thanks, Mustaq P.S. I have used both IronPython 2.0 and 2.6. _______________________________________________ Users mailing list Users at lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From justin.m.chase at gmail.com Mon Apr 12 22:21:11 2010 From: justin.m.chase at gmail.com (Justin Chase) Date: Mon, 12 Apr 2010 15:21:11 -0500 Subject: [IronPython] Building via AST Message-ID: Suppose I would like to build an AST programmatically and compile that into an assembly dynamically (meaning an assembly flagged with RunAndCollect) from C#. How would I do that with IronPython's help? I do not what to author Python code and compile that I would like to just deal directly with the AST. Currently I have working code where I'm using System.Linq.Expression namespace to build statements and expressions into delegates but what I would like is to leverage the DLR to build dynamic types as well (without having to use ILGenerator preferably). Is this possible today? -- Justin Chase http://www.justnbusiness.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From dinov at microsoft.com Mon Apr 12 22:33:34 2010 From: dinov at microsoft.com (Dino Viehland) Date: Mon, 12 Apr 2010 20:33:34 +0000 Subject: [IronPython] Building via AST In-Reply-To: References: Message-ID: <1A472770E042064698CB5ADC83A12ACD3951B304@TK5EX14MBXC118.redmond.corp.microsoft.com> Nope ? the DLR doesn?t have any support for building .NET types ? dynamic or otherwise. If you?d like to just build an object which behaves dynamically I?d suggest looking at DynamicObject. You can just subclass it and override various Try* methods and you?ll have a dynamic object. If you really do need to do ILGen into a type, and as long as you?re building only static methods, you can use expression trees via Lambda.CompileToMethod (unfortunately currently instance methods are not supported). Here?s an example of that: using System; using System.Linq.Expressions; using System.Reflection; class Foo { public static void Main(string[] args) { var asm = AppDomain.CurrentDomain.DefineDynamicAssembly(new AssemblyName("foo"), System.Reflection.Emit.AssemblyBuilderAccess.Save); var module = asm.DefineDynamicModule("foo.dll"); var type = module.DefineType("TestType"); var param1 = Expression.Parameter(typeof(Foox), "arg1"); var param2 = Expression.Parameter(typeof(Foox), "arg2"); var method = type.DefineMethod("TestMethod", MethodAttributes.Public | MethodAttributes.Static); Expression.Lambda>( Expression.Equal(param1, param2), new[] { param1, param2 } ).CompileToMethod(method); type.CreateType(); asm.Save("foo.dll"); } } enum Foox { Bar, Baz } From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Justin Chase Sent: Monday, April 12, 2010 1:21 PM To: users at lists.ironpython.com Subject: [IronPython] Building via AST Suppose I would like to build an AST programmatically and compile that into an assembly dynamically (meaning an assembly flagged with RunAndCollect) from C#. How would I do that with IronPython's help? I do not what to author Python code and compile that I would like to just deal directly with the AST. Currently I have working code where I'm using System.Linq.Expression namespace to build statements and expressions into delegates but what I would like is to leverage the DLR to build dynamic types as well (without having to use ILGenerator preferably). Is this possible today? -- Justin Chase http://www.justnbusiness.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From justin.m.chase at gmail.com Mon Apr 12 23:02:54 2010 From: justin.m.chase at gmail.com (Justin Chase) Date: Mon, 12 Apr 2010 16:02:54 -0500 Subject: [IronPython] Building via AST In-Reply-To: <1A472770E042064698CB5ADC83A12ACD3951B304@TK5EX14MBXC118.redmond.corp.microsoft.com> References: <1A472770E042064698CB5ADC83A12ACD3951B304@TK5EX14MBXC118.redmond.corp.microsoft.com> Message-ID: Ok so I'm wondering if I'm perhaps using the wrong words to try to say what I mean. Because when I look into the IronPython source code I see a class called Microsoft.Scripting.Generation.TypeGen ( http://ironpython.codeplex.com/SourceControl/changeset/view/65328#1011039). Which appears to be code for generating a .net type contrary to your response. Am I misinterpreting that? Thanks for your examples below but that is about as far as I have gotten already, what I need is a way to actually generate types and instances members. And I was just looking at the ILGen class and all it's interesting helpers but what I'd really love to find is a way to generate this by just giving it an AST (including "this" references) instead of having to mess around with IL (hasn't this been solved already??). I know that Python has a "class" construct and that if I compile scripts I can create instances of these objects, does this translate into actual .net types under the hood? Or something else? Can you add attributes or annotations to these classes for example? For my grand finale what I would really like to do is to generate types that implement interfaces and load them via MEF (by means of the Export attribute). Is this just the wrong way to be thinking about this entirely? Or am I just missing something? On Mon, Apr 12, 2010 at 3:33 PM, Dino Viehland wrote: > Nope ? the DLR doesn?t have any support for building .NET types ? dynamic > or otherwise. If you?d like to just build an object which behaves > dynamically I?d suggest looking at DynamicObject. You can just subclass it > and override various Try* methods and you?ll have a dynamic object. > > > > If you really do need to do ILGen into a type, and as long as you?re > building only static methods, you can use expression trees via > Lambda.CompileToMethod (unfortunately currently instance methods are not > supported). Here?s an example of that: > > > > using System; > > using System.Linq.Expressions; > > using System.Reflection; > > > > class Foo { > > public static void Main(string[] args) { > > var asm = AppDomain.CurrentDomain.DefineDynamicAssembly(new > AssemblyName("foo"), System.Reflection.Emit.AssemblyBuilderAccess.Save); > > var module = asm.DefineDynamicModule("foo.dll"); > > var type = module.DefineType("TestType"); > > > > var param1 = Expression.Parameter(typeof(Foox), "arg1"); > > var param2 = Expression.Parameter(typeof(Foox), "arg2"); > > var method = type.DefineMethod("TestMethod", > MethodAttributes.Public | MethodAttributes.Static); > > > > Expression.Lambda>( > > Expression.Equal(param1, param2), > > new[] { param1, param2 } > > ).CompileToMethod(method); > > type.CreateType(); > > asm.Save("foo.dll"); > > } > > } > > enum Foox { > > Bar, > > Baz > > } > > > > *From:* users-bounces at lists.ironpython.com [mailto: > users-bounces at lists.ironpython.com] *On Behalf Of *Justin Chase > *Sent:* Monday, April 12, 2010 1:21 PM > *To:* users at lists.ironpython.com > *Subject:* [IronPython] Building via AST > > > > Suppose I would like to build an AST programmatically and compile that into > an assembly dynamically (meaning an assembly flagged with RunAndCollect) > from C#. How would I do that with IronPython's help? I do not what to author > Python code and compile that I would like to just deal directly with the > AST. > > > > Currently I have working code where I'm using System.Linq.Expression > namespace to build statements and expressions into delegates but what I > would like is to leverage the DLR to build dynamic types as well (without > having to use ILGenerator preferably). Is this possible today? > > > -- > Justin Chase > http://www.justnbusiness.com > > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > > -- Justin Chase http://www.justnbusiness.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From ddicato at microsoft.com Mon Apr 12 23:53:48 2010 From: ddicato at microsoft.com (David DiCato) Date: Mon, 12 Apr 2010 21:53:48 +0000 Subject: [IronPython] Announcing IronPython 2.6.1 Message-ID: Hello Python Community, We're pleased to announce the final release of IronPython 2.6.1. This version of IronPython makes great strides in stability and compatibility, including a considerable number of targeted bugfixes. This is our largest servicing release to date, and with your help both before and during the RC phase, along with the simultaneous release of .NET 4.0, this has become a very exciting release for all of us. IronPython 2.6.1 comes in two flavors - one that runs on top of .NET 4.0, and one that runs on any earlier framework starting with .NET 2.0 SP1. They can both be downloaded at http://ironpython.codeplex.com/releases/view/36280. We'd like to place a particular emphasis on the .NET 4.0 flavor of IronPython 2.6.1 and encourage all of you to try it out. It has a number of advantages over the 2.0 version, some of which Dave discusses on his blog at http://knowbody.livejournal.com/20751.html. These include faster startup time, compatibility with C#'s new dynamic keyword, and access to the numerous new features present in the updated Framework. The final release of Microsoft .NET Framework 4.0 is publically available as of today, and is required for this flavor of IronPython 2.6.1. Download it here: http://www.microsoft.com/downloads/details.aspx?FamilyID=9cfb2d51-5ff4-4491-b0e5-b386f32c0992&displaylang=en The IronPython 2.6.1 RC included fixes for well over 50 bugs, large and small. Ctypes has had a number of significant updates, including union support, variant_bool, and wintypes. Another focus has been on sys.settrace, making debugging more reliable. For example, sys.settrace now returns the correct frame, supports tracing through modules, and no longer interferes with "import os". Other notable fixes include thread-safe importing, and the missing error code in _winreg exception. In addition, we've made a substantial improvement in import time. Not only does this reduce startup time, but it can speed up the importing of large, definition-heavy modules by up to 50%. As you might imagine, the .NET 4.0 flavor of IronPython 2.6.1 RC has a few of its own changes designed for better interoperability with the framework. These include fixing some errors with Func<> and better runtime isolation when similarly-named assemblies in different locations are loaded in multiple engines. In addition, both the .NET 2.0 and .NET 4.0 builds support the new .NET 4.0 IStructuralEquatable and IStructuralComparable interfaces and maps them to the appropriate operations (__eq__, __hash__, __gt__, etc.). In the case of .NET 4.0, this replaces IValueEquality as the gold standard for defining equality in an interop-friendly manner. In the .NET 2.0 build, these interfaces are copied so that their use can be phased in while retaining IValueEquality for backwards compatibility. Since the RC, we have fixed numerous other issues, as well as adding CPython's ssl.py to our distribution. We've also made some major unicode-related changes in response to your feedback on the mailing list, changes that improve compatibility with certain third-party applications including Django. In particular, invoking unicode() or using unicode string formatting will now call __unicode__() first if it is present on the object. Finally, we've included a new code sample that shows how to use __clrtype__ to create custom CLR classes from IronPython. This sample is a sneak preview of what we expect will become a fully supported IronPython module, so we encourage anyone who is so inclined to try it out and let us know how it goes. Special thanks to Albert Szilvasy, amajorek, cendalc, clovery, egonw_, Eloff, essey, fabiofz, gjones, gpgemini, Haibo Luo, igalse, jazzcat, jdhardy, jlunder, JustinCle, klrohe, L?szl? de Alm?sy, laughingboy, lbaker, Lukas Cenovsky, marten_range, olav, paulfelix, pl6306, razam, roinet, russomf, sanxiyn, see_toronto web de, Thomas Heller, variant77, vernondcole, William Reade, and Wolfram for reporting issues and making this a great release. Happy scripting! - The IronPython Team -------------- next part -------------- An HTML attachment was scrubbed... URL: From dinov at microsoft.com Tue Apr 13 00:20:08 2010 From: dinov at microsoft.com (Dino Viehland) Date: Mon, 12 Apr 2010 22:20:08 +0000 Subject: [IronPython] Building via AST In-Reply-To: References: <1A472770E042064698CB5ADC83A12ACD3951B304@TK5EX14MBXC118.redmond.corp.microsoft.com> Message-ID: <1A472770E042064698CB5ADC83A12ACD3951CD41@TK5EX14MBXC118.redmond.corp.microsoft.com> Yes ? there is the TypeGen class but really it?s just a thin wrapper around TypeBuilder w/ some helper APIs. If we were to implement it today it might just be extension methods instead of a wrapper class. Unfortunately there is currently no way to go from an expression tree to an instance method. It?s on the top of the things to fix in the DLR for a future .NET release. It?s sad that it hasn?t been solved yet but that is the state of the world. If you really wanted to get crazy you could look at forking the DLR expression tree compiler and adding support ? As far as how Python does this ? we do generate classes and we do this via our NewTypeMaker class. But the IL that we create is rather minimal. We just derive and override every virtual method and have it dispatch either to the method defined in a PythonType type (which is stored as an instance field in the object). So while it sucks that we need to generate the IL by hand it?s small enough that it?s not a big deal. From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Justin Chase Sent: Monday, April 12, 2010 2:03 PM To: Discussion of IronPython Subject: Re: [IronPython] Building via AST Ok so I'm wondering if I'm perhaps using the wrong words to try to say what I mean. Because when I look into the IronPython source code I see a class called Microsoft.Scripting.Generation.TypeGen (http://ironpython.codeplex.com/SourceControl/changeset/view/65328#1011039). Which appears to be code for generating a .net type contrary to your response. Am I misinterpreting that? Thanks for your examples below but that is about as far as I have gotten already, what I need is a way to actually generate types and instances members. And I was just looking at the ILGen class and all it's interesting helpers but what I'd really love to find is a way to generate this by just giving it an AST (including "this" references) instead of having to mess around with IL (hasn't this been solved already??). I know that Python has a "class" construct and that if I compile scripts I can create instances of these objects, does this translate into actual .net types under the hood? Or something else? Can you add attributes or annotations to these classes for example? For my grand finale what I would really like to do is to generate types that implement interfaces and load them via MEF (by means of the Export attribute). Is this just the wrong way to be thinking about this entirely? Or am I just missing something? On Mon, Apr 12, 2010 at 3:33 PM, Dino Viehland > wrote: Nope ? the DLR doesn?t have any support for building .NET types ? dynamic or otherwise. If you?d like to just build an object which behaves dynamically I?d suggest looking at DynamicObject. You can just subclass it and override various Try* methods and you?ll have a dynamic object. If you really do need to do ILGen into a type, and as long as you?re building only static methods, you can use expression trees via Lambda.CompileToMethod (unfortunately currently instance methods are not supported). Here?s an example of that: using System; using System.Linq.Expressions; using System.Reflection; class Foo { public static void Main(string[] args) { var asm = AppDomain.CurrentDomain.DefineDynamicAssembly(new AssemblyName("foo"), System.Reflection.Emit.AssemblyBuilderAccess.Save); var module = asm.DefineDynamicModule("foo.dll"); var type = module.DefineType("TestType"); var param1 = Expression.Parameter(typeof(Foox), "arg1"); var param2 = Expression.Parameter(typeof(Foox), "arg2"); var method = type.DefineMethod("TestMethod", MethodAttributes.Public | MethodAttributes.Static); Expression.Lambda>( Expression.Equal(param1, param2), new[] { param1, param2 } ).CompileToMethod(method); type.CreateType(); asm.Save("foo.dll"); } } enum Foox { Bar, Baz } From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Justin Chase Sent: Monday, April 12, 2010 1:21 PM To: users at lists.ironpython.com Subject: [IronPython] Building via AST Suppose I would like to build an AST programmatically and compile that into an assembly dynamically (meaning an assembly flagged with RunAndCollect) from C#. How would I do that with IronPython's help? I do not what to author Python code and compile that I would like to just deal directly with the AST. Currently I have working code where I'm using System.Linq.Expression namespace to build statements and expressions into delegates but what I would like is to leverage the DLR to build dynamic types as well (without having to use ILGenerator preferably). Is this possible today? -- Justin Chase http://www.justnbusiness.com _______________________________________________ Users mailing list Users at lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com -- Justin Chase http://www.justnbusiness.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From dfugate at microsoft.com Tue Apr 13 00:41:31 2010 From: dfugate at microsoft.com (Dave Fugate) Date: Mon, 12 Apr 2010 22:41:31 +0000 Subject: [IronPython] Update to the "World's Worst Paint Program" Sample In-Reply-To: References: Message-ID: <96F8AA58D9F50A4CAFD1DCA93C99232C02590231@TK5EX14MBXC127.redmond.corp.microsoft.com> A newer version of Dino's "World's Worst Paint Program" sample has just been uploaded to the 2.6.1 download page as (Sample) BadPaint.zip. This sample shows how to utilize the DLR/IronPython hosting APIs to manipulate the behavior of C#/VB/etc .NET 4.0 applications. In short, you can move around objects on the paint canvas, change their colors, etc using a poor man's Python interactive session built directly into the paint program. If you've ever wanted to see how the hosting APIs work, this is a great place to start! From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of David DiCato Sent: Monday, April 12, 2010 2:54 PM To: Discussion of IronPython Subject: [IronPython] Announcing IronPython 2.6.1 Hello Python Community, We're pleased to announce the final release of IronPython 2.6.1. This version of IronPython makes great strides in stability and compatibility, including a considerable number of targeted bugfixes. This is our largest servicing release to date, and with your help both before and during the RC phase, along with the simultaneous release of .NET 4.0, this has become a very exciting release for all of us. IronPython 2.6.1 comes in two flavors - one that runs on top of .NET 4.0, and one that runs on any earlier framework starting with .NET 2.0 SP1. They can both be downloaded at http://ironpython.codeplex.com/releases/view/36280. We'd like to place a particular emphasis on the .NET 4.0 flavor of IronPython 2.6.1 and encourage all of you to try it out. It has a number of advantages over the 2.0 version, some of which Dave discusses on his blog at http://knowbody.livejournal.com/20751.html. These include faster startup time, compatibility with C#'s new dynamic keyword, and access to the numerous new features present in the updated Framework. The final release of Microsoft .NET Framework 4.0 is publically available as of today, and is required for this flavor of IronPython 2.6.1. Download it here: http://www.microsoft.com/downloads/details.aspx?FamilyID=9cfb2d51-5ff4-4491-b0e5-b386f32c0992&displaylang=en The IronPython 2.6.1 RC included fixes for well over 50 bugs, large and small. Ctypes has had a number of significant updates, including union support, variant_bool, and wintypes. Another focus has been on sys.settrace, making debugging more reliable. For example, sys.settrace now returns the correct frame, supports tracing through modules, and no longer interferes with "import os". Other notable fixes include thread-safe importing, and the missing error code in _winreg exception. In addition, we've made a substantial improvement in import time. Not only does this reduce startup time, but it can speed up the importing of large, definition-heavy modules by up to 50%. As you might imagine, the .NET 4.0 flavor of IronPython 2.6.1 RC has a few of its own changes designed for better interoperability with the framework. These include fixing some errors with Func<> and better runtime isolation when similarly-named assemblies in different locations are loaded in multiple engines. In addition, both the .NET 2.0 and .NET 4.0 builds support the new .NET 4.0 IStructuralEquatable and IStructuralComparable interfaces and maps them to the appropriate operations (__eq__, __hash__, __gt__, etc.). In the case of .NET 4.0, this replaces IValueEquality as the gold standard for defining equality in an interop-friendly manner. In the .NET 2.0 build, these interfaces are copied so that their use can be phased in while retaining IValueEquality for backwards compatibility. Since the RC, we have fixed numerous other issues, as well as adding CPython's ssl.py to our distribution. We've also made some major unicode-related changes in response to your feedback on the mailing list, changes that improve compatibility with certain third-party applications including Django. In particular, invoking unicode() or using unicode string formatting will now call __unicode__() first if it is present on the object. Finally, we've included a new code sample that shows how to use __clrtype__ to create custom CLR classes from IronPython. This sample is a sneak preview of what we expect will become a fully supported IronPython module, so we encourage anyone who is so inclined to try it out and let us know how it goes. Special thanks to Albert Szilvasy, amajorek, cendalc, clovery, egonw_, Eloff, essey, fabiofz, gjones, gpgemini, Haibo Luo, igalse, jazzcat, jdhardy, jlunder, JustinCle, klrohe, L?szl? de Alm?sy, laughingboy, lbaker, Lukas Cenovsky, marten_range, olav, paulfelix, pl6306, razam, roinet, russomf, sanxiyn, see_toronto web de, Thomas Heller, variant77, vernondcole, William Reade, and Wolfram for reporting issues and making this a great release. Happy scripting! - The IronPython Team -------------- next part -------------- An HTML attachment was scrubbed... URL: From justin.m.chase at gmail.com Tue Apr 13 01:09:02 2010 From: justin.m.chase at gmail.com (Justin Chase) Date: Mon, 12 Apr 2010 18:09:02 -0500 Subject: [IronPython] Building via AST In-Reply-To: <1A472770E042064698CB5ADC83A12ACD3951CD41@TK5EX14MBXC118.redmond.corp.microsoft.com> References: <1A472770E042064698CB5ADC83A12ACD3951B304@TK5EX14MBXC118.redmond.corp.microsoft.com> <1A472770E042064698CB5ADC83A12ACD3951CD41@TK5EX14MBXC118.redmond.corp.microsoft.com> Message-ID: Ok, so at risk of being a nuissance I have one last question because I feel like I'm half way there. I have the following example that seems to work: # sample.py from ConsoleApplication4 import IExample class Example(IExample): test = "hello python" def Do(self): return self.test # program.cs namespace ConsoleApplication4 { class Program { static void Main(string[] args) { var runtime = Python.CreateRuntime(); runtime.LoadAssembly(typeof(IExample).Assembly); dynamic python = runtime.UseFile("sample.py"); IExample example = (IExample)python.Example(); Console.WriteLine(example.Do()); Console.ReadKey(true); } } public interface IExample { string Do(); } } Which prints out "hello python" as expected and is the *exact *behavior I would like to have. So now, say I did this instead: # program.cs namespace ConsoleApplication4 { class Program { static void Main(string[] args) { var runtime = Python.CreateRuntime(); runtime.LoadAssembly(typeof(IExample).Assembly); var import = new IronPython.Compiler.Ast.ImportStatement( new[] { new ModuleName(new[] { "ConsoleApplication4" }) }, new[] { "IExample" }, false); var classDefinition = new IronPython.Compiler.Ast.ClassDefinition("Example", new Expression[] { new NameExpression("IExample") }, new FunctionDefinition( "Do", new[] { new Parameter("self") }, new ReturnStatement(new ConstantExpression("hello python!")))); *// TODO: Compile the above AST into something!* * **dynamic python = null;* IExample example = (IExample)python.Example(); Console.WriteLine(example.Do()); Console.ReadKey(true); } } public interface IExample { string Do(); } } Is there anyway to fill in the line below the TODO such that I will get the exact same behavior as the first example? If you say no this time then I'll finally stop asking you questions (except maybe why not :-P). If you do say no this time, then I might be interested in trying to extend things such that it is possible. On Mon, Apr 12, 2010 at 5:20 PM, Dino Viehland wrote: > Yes ? there is the TypeGen class but really it?s just a thin wrapper > around TypeBuilder w/ some helper APIs. If we were to implement it today it > might just be extension methods instead of a wrapper class. > > > > Unfortunately there is currently no way to go from an expression tree to an > instance method. It?s on the top of the things to fix in the DLR for a > future .NET release. It?s sad that it hasn?t been solved yet but that is > the state of the world. If you really wanted to get crazy you could look at > forking the DLR expression tree compiler and adding support J > > > > As far as how Python does this ? we do generate classes and we do this via > our NewTypeMaker class. But the IL that we create is rather minimal. We > just derive and override every virtual method and have it dispatch either to > the method defined in a PythonType type (which is stored as an instance > field in the object). So while it sucks that we need to generate the IL by > hand it?s small enough that it?s not a big deal. > > > > *From:* users-bounces at lists.ironpython.com [mailto: > users-bounces at lists.ironpython.com] *On Behalf Of *Justin Chase > *Sent:* Monday, April 12, 2010 2:03 PM > *To:* Discussion of IronPython > *Subject:* Re: [IronPython] Building via AST > > > > Ok so I'm wondering if I'm perhaps using the wrong words to try to say what > I mean. Because when I look into the IronPython source code I see a class > called Microsoft.Scripting.Generation.TypeGen ( > http://ironpython.codeplex.com/SourceControl/changeset/view/65328#1011039). > Which appears to be code for generating a .net type contrary to your > response. Am I misinterpreting that? > > > > Thanks for your examples below but that is about as far as I have gotten > already, what I need is a way to actually generate types and instances > members. And I was just looking at the ILGen class and all it's interesting > helpers but what I'd really love to find is a way to generate this by just > giving it an AST (including "this" references) instead of having to mess > around with IL (hasn't this been solved already??). > > > > I know that Python has a "class" construct and that if I compile scripts I > can create instances of these objects, does this translate into actual .net > types under the hood? Or something else? Can you add attributes or > annotations to these classes for example? For my grand finale what I would > really like to do is to generate types that implement interfaces and load > them via MEF (by means of the Export attribute). Is this just the wrong way > to be thinking about this entirely? Or am I just missing something? > > > > > > On Mon, Apr 12, 2010 at 3:33 PM, Dino Viehland > wrote: > > Nope ? the DLR doesn?t have any support for building .NET types ? dynamic > or otherwise. If you?d like to just build an object which behaves > dynamically I?d suggest looking at DynamicObject. You can just subclass it > and override various Try* methods and you?ll have a dynamic object. > > > > If you really do need to do ILGen into a type, and as long as you?re > building only static methods, you can use expression trees via > Lambda.CompileToMethod (unfortunately currently instance methods are not > supported). Here?s an example of that: > > > > using System; > > using System.Linq.Expressions; > > using System.Reflection; > > > > class Foo { > > public static void Main(string[] args) { > > var asm = AppDomain.CurrentDomain.DefineDynamicAssembly(new > AssemblyName("foo"), System.Reflection.Emit.AssemblyBuilderAccess.Save); > > var module = asm.DefineDynamicModule("foo.dll"); > > var type = module.DefineType("TestType"); > > > > var param1 = Expression.Parameter(typeof(Foox), "arg1"); > > var param2 = Expression.Parameter(typeof(Foox), "arg2"); > > var method = type.DefineMethod("TestMethod", > MethodAttributes.Public | MethodAttributes.Static); > > > > Expression.Lambda>( > > Expression.Equal(param1, param2), > > new[] { param1, param2 } > > ).CompileToMethod(method); > > type.CreateType(); > > asm.Save("foo.dll"); > > } > > } > > enum Foox { > > Bar, > > Baz > > } > > > > *From:* users-bounces at lists.ironpython.com [mailto: > users-bounces at lists.ironpython.com] *On Behalf Of *Justin Chase > *Sent:* Monday, April 12, 2010 1:21 PM > *To:* users at lists.ironpython.com > *Subject:* [IronPython] Building via AST > > > > Suppose I would like to build an AST programmatically and compile that into > an assembly dynamically (meaning an assembly flagged with RunAndCollect) > from C#. How would I do that with IronPython's help? I do not what to author > Python code and compile that I would like to just deal directly with the > AST. > > > > Currently I have working code where I'm using System.Linq.Expression > namespace to build statements and expressions into delegates but what I > would like is to leverage the DLR to build dynamic types as well (without > having to use ILGenerator preferably). Is this possible today? > > > -- > Justin Chase > http://www.justnbusiness.com > > > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > > > > > -- > Justin Chase > http://www.justnbusiness.com > > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > > -- Justin Chase http://www.justnbusiness.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From dinov at microsoft.com Tue Apr 13 02:49:02 2010 From: dinov at microsoft.com (Dino Viehland) Date: Tue, 13 Apr 2010 00:49:02 +0000 Subject: [IronPython] Building via AST In-Reply-To: References: <1A472770E042064698CB5ADC83A12ACD3951B304@TK5EX14MBXC118.redmond.corp.microsoft.com> <1A472770E042064698CB5ADC83A12ACD3951CD41@TK5EX14MBXC118.redmond.corp.microsoft.com> Message-ID: <1A472770E042064698CB5ADC83A12ACD3951D6EF@TK5EX14MBXC118.redmond.corp.microsoft.com> This might be possible. If you wrap this all up in a PythonAst object (calling the constructor which takes a CompilerContext), call Bind on it then you should get a LambdaExpression back out. You can Compile() on that. But it?s not like this is well traveled territory and this only applies to 2.6.1 (before that the trees weren?t DLR ASTs so they weren?t reducable). When we do this ourselves we also call the produced delegate and flow in some data. The delegate is going to want at least a FunctionCode object as an argument but I think you could get away with passing null (at least as long as no exceptions are thrown). The delegate might also want a CodeContext object as well depending on the compilation mode we end up using (which is based on the CompilerContext you give us). This you wouldn?t be able to get away w/ passing null. But you can get one by doing new ModuleContext(new PythonDictionary(), pythonContext).GlobalContext. The HostingHelpers class can give you a LanguageContext from the ScriptEngine for Python which you can cast to a PythonContext. Let me know if it works! ? From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Justin Chase Sent: Monday, April 12, 2010 4:09 PM To: Discussion of IronPython Subject: Re: [IronPython] Building via AST Ok, so at risk of being a nuissance I have one last question because I feel like I'm half way there. I have the following example that seems to work: # sample.py from ConsoleApplication4 import IExample class Example(IExample): test = "hello python" def Do(self): return self.test # program.cs namespace ConsoleApplication4 { class Program { static void Main(string[] args) { var runtime = Python.CreateRuntime(); runtime.LoadAssembly(typeof(IExample).Assembly); dynamic python = runtime.UseFile("sample.py"); IExample example = (IExample)python.Example(); Console.WriteLine(example.Do()); Console.ReadKey(true); } } public interface IExample { string Do(); } } Which prints out "hello python" as expected and is the exact behavior I would like to have. So now, say I did this instead: # program.cs namespace ConsoleApplication4 { class Program { static void Main(string[] args) { var runtime = Python.CreateRuntime(); runtime.LoadAssembly(typeof(IExample).Assembly); var import = new IronPython.Compiler.Ast.ImportStatement( new[] { new ModuleName(new[] { "ConsoleApplication4" }) }, new[] { "IExample" }, false); var classDefinition = new IronPython.Compiler.Ast.ClassDefinition("Example", new Expression[] { new NameExpression("IExample") }, new FunctionDefinition( "Do", new[] { new Parameter("self") }, new ReturnStatement(new ConstantExpression("hello python!")))); // TODO: Compile the above AST into something! dynamic python = null; IExample example = (IExample)python.Example(); Console.WriteLine(example.Do()); Console.ReadKey(true); } } public interface IExample { string Do(); } } Is there anyway to fill in the line below the TODO such that I will get the exact same behavior as the first example? If you say no this time then I'll finally stop asking you questions (except maybe why not :-P). If you do say no this time, then I might be interested in trying to extend things such that it is possible. On Mon, Apr 12, 2010 at 5:20 PM, Dino Viehland > wrote: Yes ? there is the TypeGen class but really it?s just a thin wrapper around TypeBuilder w/ some helper APIs. If we were to implement it today it might just be extension methods instead of a wrapper class. Unfortunately there is currently no way to go from an expression tree to an instance method. It?s on the top of the things to fix in the DLR for a future .NET release. It?s sad that it hasn?t been solved yet but that is the state of the world. If you really wanted to get crazy you could look at forking the DLR expression tree compiler and adding support ? As far as how Python does this ? we do generate classes and we do this via our NewTypeMaker class. But the IL that we create is rather minimal. We just derive and override every virtual method and have it dispatch either to the method defined in a PythonType type (which is stored as an instance field in the object). So while it sucks that we need to generate the IL by hand it?s small enough that it?s not a big deal. From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Justin Chase Sent: Monday, April 12, 2010 2:03 PM To: Discussion of IronPython Subject: Re: [IronPython] Building via AST Ok so I'm wondering if I'm perhaps using the wrong words to try to say what I mean. Because when I look into the IronPython source code I see a class called Microsoft.Scripting.Generation.TypeGen (http://ironpython.codeplex.com/SourceControl/changeset/view/65328#1011039). Which appears to be code for generating a .net type contrary to your response. Am I misinterpreting that? Thanks for your examples below but that is about as far as I have gotten already, what I need is a way to actually generate types and instances members. And I was just looking at the ILGen class and all it's interesting helpers but what I'd really love to find is a way to generate this by just giving it an AST (including "this" references) instead of having to mess around with IL (hasn't this been solved already??). I know that Python has a "class" construct and that if I compile scripts I can create instances of these objects, does this translate into actual .net types under the hood? Or something else? Can you add attributes or annotations to these classes for example? For my grand finale what I would really like to do is to generate types that implement interfaces and load them via MEF (by means of the Export attribute). Is this just the wrong way to be thinking about this entirely? Or am I just missing something? On Mon, Apr 12, 2010 at 3:33 PM, Dino Viehland > wrote: Nope ? the DLR doesn?t have any support for building .NET types ? dynamic or otherwise. If you?d like to just build an object which behaves dynamically I?d suggest looking at DynamicObject. You can just subclass it and override various Try* methods and you?ll have a dynamic object. If you really do need to do ILGen into a type, and as long as you?re building only static methods, you can use expression trees via Lambda.CompileToMethod (unfortunately currently instance methods are not supported). Here?s an example of that: using System; using System.Linq.Expressions; using System.Reflection; class Foo { public static void Main(string[] args) { var asm = AppDomain.CurrentDomain.DefineDynamicAssembly(new AssemblyName("foo"), System.Reflection.Emit.AssemblyBuilderAccess.Save); var module = asm.DefineDynamicModule("foo.dll"); var type = module.DefineType("TestType"); var param1 = Expression.Parameter(typeof(Foox), "arg1"); var param2 = Expression.Parameter(typeof(Foox), "arg2"); var method = type.DefineMethod("TestMethod", MethodAttributes.Public | MethodAttributes.Static); Expression.Lambda>( Expression.Equal(param1, param2), new[] { param1, param2 } ).CompileToMethod(method); type.CreateType(); asm.Save("foo.dll"); } } enum Foox { Bar, Baz } From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Justin Chase Sent: Monday, April 12, 2010 1:21 PM To: users at lists.ironpython.com Subject: [IronPython] Building via AST Suppose I would like to build an AST programmatically and compile that into an assembly dynamically (meaning an assembly flagged with RunAndCollect) from C#. How would I do that with IronPython's help? I do not what to author Python code and compile that I would like to just deal directly with the AST. Currently I have working code where I'm using System.Linq.Expression namespace to build statements and expressions into delegates but what I would like is to leverage the DLR to build dynamic types as well (without having to use ILGenerator preferably). Is this possible today? -- Justin Chase http://www.justnbusiness.com _______________________________________________ Users mailing list Users at lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com -- Justin Chase http://www.justnbusiness.com _______________________________________________ Users mailing list Users at lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com -- Justin Chase http://www.justnbusiness.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From justin.m.chase at gmail.com Tue Apr 13 02:51:56 2010 From: justin.m.chase at gmail.com (Justin Chase) Date: Mon, 12 Apr 2010 19:51:56 -0500 Subject: [IronPython] Building via AST In-Reply-To: <1A472770E042064698CB5ADC83A12ACD3951D6EF@TK5EX14MBXC118.redmond.corp.microsoft.com> References: <1A472770E042064698CB5ADC83A12ACD3951B304@TK5EX14MBXC118.redmond.corp.microsoft.com> <1A472770E042064698CB5ADC83A12ACD3951CD41@TK5EX14MBXC118.redmond.corp.microsoft.com> <1A472770E042064698CB5ADC83A12ACD3951D6EF@TK5EX14MBXC118.redmond.corp.microsoft.com> Message-ID: Awesome. I will thanks. On Apr 12, 2010 7:49 PM, "Dino Viehland" wrote: This might be possible. If you wrap this all up in a PythonAst object (calling the constructor which takes a CompilerContext), call Bind on it then you should get a LambdaExpression back out. You can Compile() on that. But it?s not like this is well traveled territory and this only applies to 2.6.1 (before that the trees weren?t DLR ASTs so they weren?t reducable). When we do this ourselves we also call the produced delegate and flow in some data. The delegate is going to want at least a FunctionCode object as an argument but I think you could get away with passing null (at least as long as no exceptions are thrown). The delegate might also want a CodeContext object as well depending on the compilation mode we end up using (which is based on the CompilerContext you give us). This you wouldn?t be able to get away w/ passing null. But you can get one by doing new ModuleContext(new PythonDictionary(), pythonContext).GlobalContext. The HostingHelpers class can give you a LanguageContext from the ScriptEngine for Python which you can cast to a PythonContext. Let me know if it works! J *From:* users-bounces at lists.ironpython.com [mailto: users-bounces at lists.ironpython.com] *On Behalf Of *Justin Chase *Sent:* Monday, April 12, 2010 4:09 PM To: Discussion of IronPython Subject: Re: [IronPython] Building via AST Ok, so at risk of being a nuissance I have one last question because I feel like I'm half way t... _______________________________________________ Users mailing list Users at lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From qiuyingbo at sohu.com Tue Apr 13 03:40:01 2010 From: qiuyingbo at sohu.com (qiuyingbo at sohu.com) Date: Tue, 13 Apr 2010 01:40:01 GMT Subject: [IronPython] 2.6.1 implements ssl module, but it crash... Message-ID: <1271122801.1a93ef865bf9403a98663df5ad0a02e4.qiuyingbo@sohu.com> import imaplib c = imaplib.IMAP4_SSL('imap.sohu.com', 993) c.login(myusername, mypassword) ipy.exe memory footprint increase to 170M... and crash soon. 2.6.1 and 2.6.1with.NET4 has the same problem From pablodalma93 at hotmail.com Tue Apr 13 14:41:16 2010 From: pablodalma93 at hotmail.com (Pablo Dalmazzo) Date: Tue, 13 Apr 2010 09:41:16 -0300 Subject: [IronPython] Marking an IronPython class as serializable Message-ID: Hi, I need to mark an IronPython class as serializable . Is it possible to do this? Now I know this could be a bad idea for performance reasons and other reasons perhaps, but I want to store a custom class object in the asp.net webforms ViewState, that way when the page is closed the object disappears, and asp.net tells me it can't be done because the object isnt marked as serializable. I know it can be a bad idea but I would like to give it a try and see how it turns out to work. Greetings, Pablo _________________________________________________________________ Ahora no hace falta estar conectado para ver tus mails. Cheque? tu Hotmail con Windows Live Mail, es f?cil. Ver m?s. http://www.microsoft.com/latam/windows/windowslive/products/mail.aspx -------------- next part -------------- An HTML attachment was scrubbed... URL: From xaphiern at googlemail.com Tue Apr 13 16:25:53 2010 From: xaphiern at googlemail.com (Neidhoo Xaphier) Date: Tue, 13 Apr 2010 16:25:53 +0200 Subject: [IronPython] Code Access Security? Message-ID: Hello, I created an DLL-File 'a.dll' from my IronPython module/library 'a.py'. This module uses SqlClient functions. While 'a.py' is running nicely directly from IronPython the 'a.dll' doesn't run correctly when I try to use any of the SQL-related parts. I get the following error message: SystemError: Fehler bei der Anforderung des Berechtigungstyps System.Data.SqlClient.SqlClientPermission, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089. My questions is therefore: How do I grant the proper permission to 'a.dll' so that I can access SqlClient and run correctly? -------------- next part -------------- An HTML attachment was scrubbed... URL: From dinov at microsoft.com Wed Apr 14 01:29:10 2010 From: dinov at microsoft.com (Dino Viehland) Date: Tue, 13 Apr 2010 23:29:10 +0000 Subject: [IronPython] 2.6.1 implements ssl module, but it crash... In-Reply-To: <1271122801.1a93ef865bf9403a98663df5ad0a02e4.qiuyingbo@sohu.com> References: <1271122801.1a93ef865bf9403a98663df5ad0a02e4.qiuyingbo@sohu.com> Message-ID: <1A472770E042064698CB5ADC83A12ACD3952337F@TK5EX14MBXC118.redmond.corp.microsoft.com> qiuyingbo at sohu.com wrote: > import imaplib > c = imaplib.IMAP4_SSL('imap.sohu.com', 993) > c.login(myusername, mypassword) > > ipy.exe memory footprint increase to 170M... and crash soon. > > 2.6.1 and 2.6.1with.NET4 has the same problem Any idea what the crash is? Is it popping up the normal windows crash UI (if on Windows) or is it printing an exception and exiting? If it is crashing w/ the windows error reporting dialog can you run it under a debugger? I tried this against gmail and it worked fine for me. From qiuyingbo at sohu.com Wed Apr 14 05:48:07 2010 From: qiuyingbo at sohu.com (qiuyingbo at sohu.com) Date: Wed, 14 Apr 2010 03:48:07 GMT Subject: [IronPython] 2.6.1 implements ssl module, but it crash... In-Reply-To: <1A472770E042064698CB5ADC83A12ACD3952337F@TK5EX14MBXC118.redmond.corp.microsoft.com> Message-ID: <1271216887.caec692f2ad44545a74589551dec9088.qiuyingbo@sohu.com> I traced the bug and found it occurred when our imap server close connection after imap authentication.It seems that SSLSocket.read() cannot raise exception in this situation. It return 0.Then IMAP4_SSL.readline() go into infiniteloop:         def readline(self):            """Read line from remote."""            line = []            while 1:                char = self.sslobj.read(1)                line.append(char)                if char == "\n": return ''.join(line)I would modify imaplib.py to resolve the problem. But I think it's a bug of SSLSocket.read(), right?Any idea what the crash is? Is it popping up the normal windows crash UI (if on Windows) or is it printing an exception andexiting? If it is crashing w/ the windows error reporting dialogcan you run it under a debugger?I tried this against gmail and it worked fine for me. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jimmy.Schementi at microsoft.com Wed Apr 14 09:08:13 2010 From: Jimmy.Schementi at microsoft.com (Jimmy Schementi) Date: Wed, 14 Apr 2010 07:08:13 +0000 Subject: [IronPython] IronPython 2.6.1 for .NET 4.0 RC targeting Silverlight In-Reply-To: References: <4BBFA0DD.3060902@voidspace.org.uk> <1B42307CD4AADD438CDDA2FE1121CC9217324A8A@TK5EX14MBXC136.redmond.corp.microsoft.com> <8AFB3B06-AF4A-4135-91D0-942A5B7D0D80@microsoft.com> Message-ID: <2A0D6487-86AE-4229-B436-2592EDD8678C@microsoft.com> Doesn't look like IronPython4.sln is there, so I stand corrected. Also, doesn't look like the IronRuby repo has the latest sources either; for some reason our external source repos "main" branches aren't as uptodate as their servicing branches. I'll make a private build for Silverlight 4 to unblock anyone wanting to start experimenting with It and IronPython until we start including those bits in the releases. This would be way better if we had a public daily build server, but that's a whole other issue :( ~Jimmy On Apr 12, 2010, at 8:18 AM, David Matson wrote: > Jimmy, > > I'm having trouble finding the source code for the 2.6.1 .NET 4.0 > release on Codeplex. Can you point me to it? > > Thanks. > > On Sat, Apr 10, 2010 at 2:22 PM, Jimmy Schementi > wrote: >> To embed IronPython (CLR2 SL build) in a Silverlight 4 app, you have to add a reference to Microsoft.Scripting.ExtensionAttribute.dll to make sure types defined in both System.Core.dll and Microsoft.Scripting.Core.dll are used from the latter assembly. >> >> Again, Keep in mind the dynamic type in C# won't work in this case; you'll need to build IronPython against SL4 from source to to get that functionality. >> >> Let me know if this works for you. >> >> ~Jimmy >> >> On Apr 9, 2010, at 3:46 PM, "David Matson" wrote: >> >>> Just for clarity's sake here are the 5 warnings and 1 error I receive. >>> >>> Warning 1 The predefined type >>> 'System.Runtime.CompilerServices.ExtensionAttribute' is defined in >>> multiple assemblies in the global alias; using definition from >>> 'c:\Program Files (x86)\Reference >>> Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client\System.Core.dll' >>> Warning 2 The predefined type >>> 'System.Runtime.InteropServices.DefaultParameterValueAttribute' is >>> defined in multiple assemblies in the global alias; using definition >>> from 'c:\Program Files (x86)\Reference >>> Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client\System.dll' >>> Warning 3 The predefined type >>> 'System.Runtime.CompilerServices.CallSiteBinder' is defined in >>> multiple assemblies in the global alias; using definition from >>> 'c:\Program Files (x86)\Reference >>> Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client\System.Core.dll' >>> Warning 4 The predefined type >>> 'System.Runtime.CompilerServices.CallSite' is defined in multiple >>> assemblies in the global alias; using definition from 'c:\Program >>> Files (x86)\Reference >>> Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client\System.Core.dll' >>> Warning 5 The predefined type >>> 'System.Runtime.CompilerServices.CallSite' is defined in multiple >>> assemblies in the global alias; using definition from 'c:\Program >>> Files (x86)\Reference >>> Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client\System.Core.dll' >>> Error 6 The type 'System.Dynamic.ExpandoObject' exists in both >>> 'c:\Program Files (x86)\Reference >>> Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client\System.Core.dll' >>> and '\IronPythonDlls\Microsoft.Scripting.Core.dll' >>> >>> >>> On Fri, Apr 9, 2010 at 4:40 PM, David Matson wrote: >>>> Jimmy, >>>> >>>> I was using the DLLs from the .NET 2.0 release and that worked fine >>>> albeit there are several warnings regarding types existing in both the >>>> .NET and the IronPython assemblies. However, I tried to use an >>>> ExpandoObject and now I get the error: >>>> >>>> The type 'System.Dynamic.ExpandoObject' exists in both 'c:\Program >>>> Files (x86)\Reference >>>> Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client\System.Core.dll' >>>> and '\IronPythonDlls\Microsoft.Scripting.Core.dll' >>>> >>>> >>>> On Fri, Apr 9, 2010 at 4:33 PM, Jimmy Schementi >>>> wrote: >>>>>> The MSI I downloaded from the link in my previous posts installs to >>>>>> the following: >>>>>> C:\Program Files (x86)\IronPython 2.6 for .NET 4.0 RC\ >>>>>> >>>>>> There is no Silverlight folder as there is in the 2.6.1 download for >>>>>> .NET 2.0. If I try to add the dlls in the root of that folder I get >>>>>> the following message: >>>>>> >>>>>> "You can't add a reference to IronPython.dll as it was not built >>>>>> against the Silverlight runtime. Silverlight projects will only work >>>>>> with Silverlight assemblies." >>>>>> >>>>>> Am I missing something? Thanks for your help. >>>>> >>>>> Since the current stable version of Silverlight is Silverlight 3, which is a subset of .NET 3.5, we only include Silverlight binaries in the version of IronPython for .NET 2.0: http://ironpython.codeplex.com/releases/view/40144. When Silverlight 4 is considered the stable version, which is a subset of .NET 4, "IronPython for .NET 4.0" will contain binaries build against Silverlight 4. Note that those Silverlight binaries will run on Silverlight 4, they just aren't built against Silverlight 4, so any .NET 4.0 specific features (like "dynamic" interop) are not available, but normal app development works. >>>>> >>>>> ~Jimmy >>>>> _______________________________________________ >>>>> Users mailing list >>>>> Users at lists.ironpython.com >>>>> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com >>>>> >>>> >>>> >>>> >>>> -- >>>> David Matson >>>> dmatson at gmail.com >>>> >>> >>> >>> >>> -- >>> David Matson >>> dmatson at gmail.com >>> _______________________________________________ >>> Users mailing list >>> Users at lists.ironpython.com >>> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com >>> >> _______________________________________________ >> Users mailing list >> Users at lists.ironpython.com >> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com >> > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > From Jimmy.Schementi at microsoft.com Wed Apr 14 09:55:46 2010 From: Jimmy.Schementi at microsoft.com (Jimmy Schementi) Date: Wed, 14 Apr 2010 07:55:46 +0000 Subject: [IronPython] Code Access Security? In-Reply-To: References: Message-ID: <3D1B7932-A94E-4531-A36F-91EBB20E19C6@microsoft.com> ipy,exe isn't running with any special permissions. How are you invoking the code in a.dll? ~Jimmy On Apr 13, 2010, at 7:28 AM, "Neidhoo Xaphier" wrote: > Hello, > > I created an DLL-File 'a.dll' from my IronPython module/library 'a.py'. This module uses SqlClient functions. While 'a.py' is running nicely directly from IronPython the 'a.dll' doesn't run correctly when I try to use any of the SQL-related parts. I get the following error message: > > SystemError: Fehler bei der Anforderung des Berechtigungstyps System.Data.SqlClient.SqlClientPermission, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089. > > My questions is therefore: How do I grant the proper permission to 'a.dll' so that I can access SqlClient and run correctly? > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com From Jimmy.Schementi at microsoft.com Wed Apr 14 10:01:16 2010 From: Jimmy.Schementi at microsoft.com (Jimmy Schementi) Date: Wed, 14 Apr 2010 08:01:16 +0000 Subject: [IronPython] Marking an IronPython class as serializable In-Reply-To: References: Message-ID: Take a look at the clrtype sample; it shows how to use .NET attributes on python classes, such as Serializable. http://ironpython.codeplex.com/releases/view/36280#DownloadId=116513 ~Jimmy On Apr 13, 2010, at 5:42 AM, "Pablo Dalmazzo" > wrote: Hi, I need to mark an IronPython class as serializable . Is it possible to do this? Now I know this could be a bad idea for performance reasons and other reasons perhaps, but I want to store a custom class object in the asp.net webforms ViewState, that way when the page is closed the object disappears, and asp.net tells me it can't be done because the object isnt marked as serializable. I know it can be a bad idea but I would like to give it a try and see how it turns out to work. Greetings, Pablo ________________________________ Con Hotmail hay una forma muy f?cil de encontrar tus emails: organizalos por carpetas. Ver m?s _______________________________________________ Users mailing list Users at lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From fuzzyman at voidspace.org.uk Wed Apr 14 10:39:18 2010 From: fuzzyman at voidspace.org.uk (Michael Foord) Date: Wed, 14 Apr 2010 10:39:18 +0200 Subject: [IronPython] IronPython 2.6.1 for .NET 4.0 RC targeting Silverlight In-Reply-To: <2A0D6487-86AE-4229-B436-2592EDD8678C@microsoft.com> References: <4BBFA0DD.3060902@voidspace.org.uk> <1B42307CD4AADD438CDDA2FE1121CC9217324A8A@TK5EX14MBXC136.redmond.corp.microsoft.com> <8AFB3B06-AF4A-4135-91D0-942A5B7D0D80@microsoft.com> <2A0D6487-86AE-4229-B436-2592EDD8678C@microsoft.com> Message-ID: <4BC57F36.2070802@voidspace.org.uk> On 14/04/2010 09:08, Jimmy Schementi wrote: > Doesn't look like IronPython4.sln is there, so I stand corrected. Also, doesn't look like the IronRuby repo has the latest sources either; for some reason our external source repos "main" branches aren't as uptodate as their servicing branches. > > I'll make a private build for Silverlight 4 to unblock anyone wanting to start experimenting with It and IronPython until we start including those bits in the releases. This would be way better if we had a public daily build server, but that's a whole other issue :( > > I would very much like access to this to see if it fixes our problems with accessing some of the components that are new in Silverlight 4. Thanks Michael > ~Jimmy > > On Apr 12, 2010, at 8:18 AM, David Matson wrote: > > >> Jimmy, >> >> I'm having trouble finding the source code for the 2.6.1 .NET 4.0 >> release on Codeplex. Can you point me to it? >> >> Thanks. >> >> On Sat, Apr 10, 2010 at 2:22 PM, Jimmy Schementi >> wrote: >> >>> To embed IronPython (CLR2 SL build) in a Silverlight 4 app, you have to add a reference to Microsoft.Scripting.ExtensionAttribute.dll to make sure types defined in both System.Core.dll and Microsoft.Scripting.Core.dll are used from the latter assembly. >>> >>> Again, Keep in mind the dynamic type in C# won't work in this case; you'll need to build IronPython against SL4 from source to to get that functionality. >>> >>> Let me know if this works for you. >>> >>> ~Jimmy >>> >>> On Apr 9, 2010, at 3:46 PM, "David Matson" wrote: >>> >>> >>>> Just for clarity's sake here are the 5 warnings and 1 error I receive. >>>> >>>> Warning 1 The predefined type >>>> 'System.Runtime.CompilerServices.ExtensionAttribute' is defined in >>>> multiple assemblies in the global alias; using definition from >>>> 'c:\Program Files (x86)\Reference >>>> Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client\System.Core.dll' >>>> Warning 2 The predefined type >>>> 'System.Runtime.InteropServices.DefaultParameterValueAttribute' is >>>> defined in multiple assemblies in the global alias; using definition >>>> from 'c:\Program Files (x86)\Reference >>>> Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client\System.dll' >>>> Warning 3 The predefined type >>>> 'System.Runtime.CompilerServices.CallSiteBinder' is defined in >>>> multiple assemblies in the global alias; using definition from >>>> 'c:\Program Files (x86)\Reference >>>> Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client\System.Core.dll' >>>> Warning 4 The predefined type >>>> 'System.Runtime.CompilerServices.CallSite' is defined in multiple >>>> assemblies in the global alias; using definition from 'c:\Program >>>> Files (x86)\Reference >>>> Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client\System.Core.dll' >>>> Warning 5 The predefined type >>>> 'System.Runtime.CompilerServices.CallSite' is defined in multiple >>>> assemblies in the global alias; using definition from 'c:\Program >>>> Files (x86)\Reference >>>> Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client\System.Core.dll' >>>> Error 6 The type 'System.Dynamic.ExpandoObject' exists in both >>>> 'c:\Program Files (x86)\Reference >>>> Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client\System.Core.dll' >>>> and '\IronPythonDlls\Microsoft.Scripting.Core.dll' >>>> >>>> >>>> On Fri, Apr 9, 2010 at 4:40 PM, David Matson wrote: >>>> >>>>> Jimmy, >>>>> >>>>> I was using the DLLs from the .NET 2.0 release and that worked fine >>>>> albeit there are several warnings regarding types existing in both the >>>>> .NET and the IronPython assemblies. However, I tried to use an >>>>> ExpandoObject and now I get the error: >>>>> >>>>> The type 'System.Dynamic.ExpandoObject' exists in both 'c:\Program >>>>> Files (x86)\Reference >>>>> Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client\System.Core.dll' >>>>> and '\IronPythonDlls\Microsoft.Scripting.Core.dll' >>>>> >>>>> >>>>> On Fri, Apr 9, 2010 at 4:33 PM, Jimmy Schementi >>>>> wrote: >>>>> >>>>>>> The MSI I downloaded from the link in my previous posts installs to >>>>>>> the following: >>>>>>> C:\Program Files (x86)\IronPython 2.6 for .NET 4.0 RC\ >>>>>>> >>>>>>> There is no Silverlight folder as there is in the 2.6.1 download for >>>>>>> .NET 2.0. If I try to add the dlls in the root of that folder I get >>>>>>> the following message: >>>>>>> >>>>>>> "You can't add a reference to IronPython.dll as it was not built >>>>>>> against the Silverlight runtime. Silverlight projects will only work >>>>>>> with Silverlight assemblies." >>>>>>> >>>>>>> Am I missing something? Thanks for your help. >>>>>>> >>>>>> Since the current stable version of Silverlight is Silverlight 3, which is a subset of .NET 3.5, we only include Silverlight binaries in the version of IronPython for .NET 2.0: http://ironpython.codeplex.com/releases/view/40144. When Silverlight 4 is considered the stable version, which is a subset of .NET 4, "IronPython for .NET 4.0" will contain binaries build against Silverlight 4. Note that those Silverlight binaries will run on Silverlight 4, they just aren't built against Silverlight 4, so any .NET 4.0 specific features (like "dynamic" interop) are not available, but normal app development works. >>>>>> >>>>>> ~Jimmy >>>>>> _______________________________________________ >>>>>> Users mailing list >>>>>> Users at lists.ironpython.com >>>>>> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> David Matson >>>>> dmatson at gmail.com >>>>> >>>>> >>>> >>>> >>>> -- >>>> David Matson >>>> dmatson at gmail.com >>>> _______________________________________________ >>>> Users mailing list >>>> Users at lists.ironpython.com >>>> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com >>>> >>>> >>> _______________________________________________ >>> Users mailing list >>> Users at lists.ironpython.com >>> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com >>> >>> >> _______________________________________________ >> Users mailing list >> Users at lists.ironpython.com >> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com >> >> > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > -- http://www.ironpythoninaction.com/ From xaphiern at googlemail.com Wed Apr 14 11:05:26 2010 From: xaphiern at googlemail.com (Neidhoo Xaphier) Date: Wed, 14 Apr 2010 11:05:26 +0200 Subject: [IronPython] Code Access Security? In-Reply-To: <3D1B7932-A94E-4531-A36F-91EBB20E19C6@microsoft.com> References: <3D1B7932-A94E-4531-A36F-91EBB20E19C6@microsoft.com> Message-ID: I invoke it this way: import clr clr.AddReference("a.dll") import a con = a.connect() It is the last line which creates the SystemError. I don't have this issue if I use/import a.py directly and not the compiled a.dll. But I need to provide it as a.dll. Regards, Xaphier 2010/4/14 Jimmy Schementi > ipy,exe isn't running with any special permissions. How are you invoking > the code in a.dll? > > ~Jimmy > > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > -------------- next part -------------- An HTML attachment was scrubbed... URL: From qiuyingbo at sohu.com Wed Apr 14 12:03:54 2010 From: qiuyingbo at sohu.com (qiuyingbo at sohu.com) Date: Wed, 14 Apr 2010 10:03:54 GMT Subject: [IronPython] 2.6.1 implements ssl module, but it crash... In-Reply-To: <1271216887.caec692f2ad44545a74589551dec9088.qiuyingbo@sohu.com> Message-ID: <1271239434.494fb54ef82442658c8cad200ec6c4f2.qiuyingbo@sohu.com> I noticed that there is a wrap_socket() argument: suppress_ragged_eofsThe parameter suppress_ragged_eofs specifies how the SSLSocket.read() method should signal unexpected EOF from the other end of the connection. If specified as True (the default), it returns a normal EOF in response to unexpected EOF errors raised from the underlying socket; if False, it will raise the exceptions back to the caller.But not working ----- ?? ----- ???: qiuyingbo at sohu.com ???: Re: [IronPython] 2.6.1 implements ssl module, but it crash...???: 2010?4?14? 11:48:07I traced the bug and found it occurred when our imap server close connection after imap authentication.It seems that SSLSocket.read() cannot raise exception in this situation. It return 0.Then IMAP4_SSL.readline() go into infiniteloop:         def readline(self):            """Read line from remote."""            line = []            while 1:                char = self.sslobj.read(1)                line.append(char)                if char == "\n": return ''.join(line)I would modify imaplib.py to resolve the problem. But I think it's a bug of SSLSocket.read(), right? -------------- next part -------------- An HTML attachment was scrubbed... URL: From pablodalma93 at hotmail.com Wed Apr 14 13:52:03 2010 From: pablodalma93 at hotmail.com (Pablo Dalmazzo) Date: Wed, 14 Apr 2010 08:52:03 -0300 Subject: [IronPython] is the performance gap between C and CPython a decent comparision between the performance gap between C# and IronPython? Message-ID: Hi there, I was replied in one of my topics in StackOverflow that the gap performance between C with cPython is comparable with the performance gap between with C# with IronPython by some guy I dont know who he is. It could be a newbie, it could not. Now since the base language/platform are very differents my guess is his comparision is way off, but since I hadnt have time to take a look to the IronPython sourcecode at all, even if I want to do it soon, I have no idea if what he says has any sense or not. Now it's a known fact the gap between C and (c)Python is huge, is that a decent comparision of the level of performance difference between C# and IronPython? I think if it's not, someone should reply him with some technical(s) details why not, I was asked if that was true by a programmer friend and she didnt got much confidence in IronPython by reading that Greetings, Pablo _________________________________________________________________ Con Windows Live Mail cheque? tu Hotmail y otras cuentas de email sin estar conectado. Descubr? m?s. http://www.microsoft.com/latam/windows/windowslive/products/mail.aspx -------------- next part -------------- An HTML attachment was scrubbed... URL: From vernondcole at gmail.com Wed Apr 14 18:08:47 2010 From: vernondcole at gmail.com (Vernon Cole) Date: Wed, 14 Apr 2010 10:08:47 -0600 Subject: [IronPython] is the performance gap between C and CPython a decent comparision between the performance gap between C# and IronPython? In-Reply-To: References: Message-ID: Pablo: It depends mostly on how you define "performance" and how important that is in any given case. My brother relates the story of a fellow in a lunch room who was complaining loudly that car manufactures could turn out more powerful engines if they wanted to. Brother's friend, a professional builder of racing engines, replied: "That's right. I could take the V-8 out of your station wagon and make it produce 2000 horsepower. Just remember that the life expectancy of that engine is 20 miles." Most of us are only trying to get from home to the grocery market. We don't need a 2000 horsepower program, and the lower cost of developing in Python is well worth any slight difference in perceived responsiveness. In a graphical environment, the user probably will not notice any difference in speed whatsoever. If there is a bottleneck in a system, that module can be re-implemented in C. One can always write a program that will outperform a product doing some single defined task. -- Vernon Cole On Wed, Apr 14, 2010 at 5:52 AM, Pablo Dalmazzo wrote: > Hi there, > > I was replied in one of my topics in StackOverflow that the gap performance > between C with cPython is comparable with the performance gap between with > C# with IronPython by some guy I dont know who he is. It could be a newbie, > it could not. Now since the base language/platform are very differents my > guess is his comparision is way off, but since I hadnt have time to take a > look to the IronPython sourcecode at all, even if I want to do it soon, I > have no idea if what he says has any sense or not. Now it's a known fact the > gap between C and (c)Python is huge, is that a decent comparision of the > level of performance difference between C# and IronPython? I think if it's > not, someone should reply him with some technical(s) details why not, I was > asked if that was true by a programmer friend and she didnt got much > confidence in IronPython by reading that > > Greetings, Pablo > ------------------------------ > Con Hotmail no pierdas tiempo. Organiz? tus emails en carpetas y > encontralos r?pido. Conoc? c?mo > > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dinov at microsoft.com Wed Apr 14 18:40:43 2010 From: dinov at microsoft.com (Dino Viehland) Date: Wed, 14 Apr 2010 16:40:43 +0000 Subject: [IronPython] is the performance gap between C and CPython a decent comparision between the performance gap between C# and IronPython? In-Reply-To: References: Message-ID: <1A472770E042064698CB5ADC83A12ACD39526207@TK5EX14MBXC118.redmond.corp.microsoft.com> It's certainly true that we both inherit a lot of characteristics from our underlying platform. For example we get a JIT which we can use to compile Python code whenever we want it and they get a highly optimizing ahead of time compiling which they can use for optimized data structure implementations. We get GC which gives us good and fast memory management but they need to implement ref counting which lets them play tricks with re-using objects rather than frequently re-allocating. But I think it's probably too much of a simplification. Looking at the gaps the difference between CPython and C is huge and so is the difference between IronPython and C# but the differences between CPython and IronPython are mixed. CPython is much faster on certain things, IronPython is much faster on other things. In some ways the comparison would imply that you could compare C to C# performance to understand the performance differences of CPython and IronPython and I don't think that would really be of much use. We both have our own bags of tricks which are built on top of the underlying language. It's hard to get into technical details with such a broad topic but I'd say all of the DLR features that revolve around one optimization or another show differences from C#. For example consider the interpreter and the adaptive compiler or even the call site caching which C# has now picked up for its dynamic feature. And I expect the DLR to continue to grow new features which differentiate it from plain old static C#. From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Pablo Dalmazzo Sent: Wednesday, April 14, 2010 4:52 AM To: IronPython Mailing list Subject: [IronPython] is the performance gap between C and CPython a decent comparision between the performance gap between C# and IronPython? Hi there, I was replied in one of my topics in StackOverflow that the gap performance between C with cPython is comparable with the performance gap between with C# with IronPython by some guy I dont know who he is. It could be a newbie, it could not. Now since the base language/platform are very differents my guess is his comparision is way off, but since I hadnt have time to take a look to the IronPython sourcecode at all, even if I want to do it soon, I have no idea if what he says has any sense or not. Now it's a known fact the gap between C and (c)Python is huge, is that a decent comparision of the level of performance difference between C# and IronPython? I think if it's not, someone should reply him with some technical(s) details why not, I was asked if that was true by a programmer friend and she didnt got much confidence in IronPython by reading that Greetings, Pablo ________________________________ Con Hotmail no pierdas tiempo. Organiz? tus emails en carpetas y encontralos r?pido. Conoc? c?mo -------------- next part -------------- An HTML attachment was scrubbed... URL: From fuzzyman at voidspace.org.uk Wed Apr 14 18:48:50 2010 From: fuzzyman at voidspace.org.uk (Michael Foord) Date: Wed, 14 Apr 2010 18:48:50 +0200 Subject: [IronPython] is the performance gap between C and CPython a decent comparision between the performance gap between C# and IronPython? In-Reply-To: References: Message-ID: <4BC5F1F2.30004@voidspace.org.uk> Hello Pablo, Python is an expressive and highly dynamic language. As such it is typically possible to achieve things in less lines of code and fewer layers of architecture when writing idiomatic Python as compared to idiomatic C#. With less code often comes better performance. This really has been my experience and that of many people switching from statically typed languages like C# and Java. *However*, if you transliterate C# code (particularly algorithmic code as used by most synthetic benchmarks) to the direct equivalent in IronPython you *will* see C# running considerably faster. The answer is three-fold: * You don't write the same code in C# and Python * With a less restrictive language and less verbose language you have *more time* for performance optimisation - the bottlenecks in even computationally expensive code is typically the *way* your algorithms are implemented and *not* the language used * With IronPython integrating with C# is almost absurdly easy - so moving your performance sensitive code into C# after appropriate profilling and prototyping in IronPython is not hard Choosing a programming language based on its perceived performance characteristics is a premature optimisation. All the best, Michael Foord On 14/04/2010 13:52, Pablo Dalmazzo wrote: > Hi there, > > I was replied in one of my topics in StackOverflow that the gap > performance between C with cPython is comparable with the performance > gap between with C# with IronPython by some guy I dont know who he is. > It could be a newbie, it could not. Now since the base > language/platform are very differents my guess is his comparision is > way off, but since I hadnt have time to take a look to the IronPython > sourcecode at all, even if I want to do it soon, I have no idea if > what he says has any sense or not. Now it's a known fact the gap > between C and (c)Python is huge, is that a decent comparision of the > level of performance difference between C# and IronPython? I think if > it's not, someone should reply him with some technical(s) details why > not, I was asked if that was true by a programmer friend and she didnt > got much confidence in IronPython by reading that > > Greetings, Pablo > ------------------------------------------------------------------------ > Con Hotmail no pierdas tiempo. Organiz? tus emails en carpetas y > encontralos r?pido. Conoc? c?mo > > > > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > -- http://www.ironpythoninaction.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From justin.m.chase at gmail.com Wed Apr 14 20:23:38 2010 From: justin.m.chase at gmail.com (Justin Chase) Date: Wed, 14 Apr 2010 13:23:38 -0500 Subject: [IronPython] Building via AST In-Reply-To: References: <1A472770E042064698CB5ADC83A12ACD3951B304@TK5EX14MBXC118.redmond.corp.microsoft.com> <1A472770E042064698CB5ADC83A12ACD3951CD41@TK5EX14MBXC118.redmond.corp.microsoft.com> <1A472770E042064698CB5ADC83A12ACD3951D6EF@TK5EX14MBXC118.redmond.corp.microsoft.com> Message-ID: I feel like I'm sooooo close but something isn't quite working. Here is my current code: var runtime = Python.CreateRuntime(); runtime.LoadAssembly(typeof(IExample).Assembly); var engine = runtime.GetEngineByFileExtension(".py"); var context = (PythonContext)HostingHelpers.GetLanguageContext(engine); var globals = new PythonDictionary(); globals.Add("__name__", ""); // I get an exception without this. var options = new PythonCompilerOptions(ModuleOptions.ExecOrEvalCode | ModuleOptions.Initialize); var unit = new SourceUnit(context, NullTextContentProvider.Null, "", SourceCodeKind.Statements); var moduleContext = new ModuleContext(globals, context); var codeContext = new CodeContext( new PythonDictionary(), moduleContext); var classDefinition = new IronPython.Compiler.Ast.ClassDefinition( "Example", new Expression[] { }, new FunctionDefinition( "Do", new[] { new Parameter("self") }, new ReturnStatement(new ConstantExpression("hello python!")))); var pythonAst = new PythonAst( new IronPython.Compiler.Ast.SuiteStatement(new Statement[] { /* import, */ classDefinition }), false, ModuleOptions.ExecOrEvalCode, false, new CompilerContext( unit, options, new ThrowsErrorSink())); pythonAst.Bind(); var lambda = (System.Linq.Expressions.LambdaExpression)pythonAst.Reduce(); var func = (Func)lambda.Compile(); var result = func(codeContext, null); // result is null dynamic python = HostingHelpers.CreateScriptScope(engine, moduleContext.GlobalScope); *dynamic example = python.Example(); // fails! Example is not in scope.* Console.WriteLine(example.Do()); Console.ReadKey(true); Can anyone tell me what I'm missing? This has got to be pretty close. On Mon, Apr 12, 2010 at 7:51 PM, Justin Chase wrote: > Awesome. I will thanks. > > On Apr 12, 2010 7:49 PM, "Dino Viehland" wrote: > > This might be possible. If you wrap this all up in a PythonAst object > (calling the constructor which takes a CompilerContext), call Bind on it > then you should get a LambdaExpression back out. You can Compile() on > that. > > > > But it?s not like this is well traveled territory and this only applies to > 2.6.1 (before that the trees weren?t DLR ASTs so they weren?t reducable). > When we do this ourselves we also call the produced delegate and flow in > some data. The delegate is going to want at least a FunctionCode object as > an argument but I think you could get away with passing null (at least as > long as no exceptions are thrown). The delegate might also want a > CodeContext object as well depending on the compilation mode we end up using > (which is based on the CompilerContext you give us). This you wouldn?t be > able to get away w/ passing null. But you can get one by doing new > ModuleContext(new PythonDictionary(), pythonContext).GlobalContext. The > HostingHelpers class can give you a LanguageContext from the ScriptEngine > for Python which you can cast to a PythonContext. > > > > Let me know if it works! J > > > > *From:* users-bounces at lists.ironpython.com [mailto: > users-bounces at lists.ironpython.com] *On Behalf Of *Justin Chase > *Sent:* Monday, April 12, 2010 4:09 PM > > To: Discussion of IronPython Subject: Re: [IronPython] Building via AST > > Ok, so at risk of being a nuissance I have one last question because I > feel like I'm half way t... > > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > > -- Justin Chase http://www.justnbusiness.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From dinov at microsoft.com Wed Apr 14 22:32:23 2010 From: dinov at microsoft.com (Dino Viehland) Date: Wed, 14 Apr 2010 20:32:23 +0000 Subject: [IronPython] Building via AST In-Reply-To: References: <1A472770E042064698CB5ADC83A12ACD3951B304@TK5EX14MBXC118.redmond.corp.microsoft.com> <1A472770E042064698CB5ADC83A12ACD3951CD41@TK5EX14MBXC118.redmond.corp.microsoft.com> <1A472770E042064698CB5ADC83A12ACD3951D6EF@TK5EX14MBXC118.redmond.corp.microsoft.com> Message-ID: <1A472770E042064698CB5ADC83A12ACD395277CE@TK5EX14MBXC118.redmond.corp.microsoft.com> The problem here is just that you actually have a nested code context when for the top-level code you just need a single global context. Replace the line: var codeContext = new CodeContext( new PythonDictionary(), moduleContext); with: var codeContext = moduleContext.GlobalContext; and it?ll work. The nested code context that you?re creating is only used for when we?re inside of a function definition or a class definition. Also you can avoid creating the script scope and just pull Example out of the globals dictionary as well. From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Justin Chase Sent: Wednesday, April 14, 2010 11:24 AM To: Discussion of IronPython Subject: Re: [IronPython] Building via AST I feel like I'm sooooo close but something isn't quite working. Here is my current code: var runtime = Python.CreateRuntime(); runtime.LoadAssembly(typeof(IExample).Assembly); var engine = runtime.GetEngineByFileExtension(".py"); var context = (PythonContext)HostingHelpers.GetLanguageContext(engine); var globals = new PythonDictionary(); globals.Add("__name__", ""); // I get an exception without this. var options = new PythonCompilerOptions(ModuleOptions.ExecOrEvalCode | ModuleOptions.Initialize); var unit = new SourceUnit(context, NullTextContentProvider.Null, "", SourceCodeKind.Statements); var moduleContext = new ModuleContext(globals, context); var codeContext = new CodeContext( new PythonDictionary(), moduleContext); var classDefinition = new IronPython.Compiler.Ast.ClassDefinition( "Example", new Expression[] { }, new FunctionDefinition( "Do", new[] { new Parameter("self") }, new ReturnStatement(new ConstantExpression("hello python!")))); var pythonAst = new PythonAst( new IronPython.Compiler.Ast.SuiteStatement(new Statement[] { /* import, */ classDefinition }), false, ModuleOptions.ExecOrEvalCode, false, new CompilerContext( unit, options, new ThrowsErrorSink())); pythonAst.Bind(); var lambda = (System.Linq.Expressions.LambdaExpression)pythonAst.Reduce(); var func = (Func)lambda.Compile(); var result = func(codeContext, null); // result is null dynamic python = HostingHelpers.CreateScriptScope(engine, moduleContext.GlobalScope); dynamic example = python.Example(); // fails! Example is not in scope. Console.WriteLine(example.Do()); Console.ReadKey(true); Can anyone tell me what I'm missing? This has got to be pretty close. On Mon, Apr 12, 2010 at 7:51 PM, Justin Chase > wrote: Awesome. I will thanks. On Apr 12, 2010 7:49 PM, "Dino Viehland" > wrote: This might be possible. If you wrap this all up in a PythonAst object (calling the constructor which takes a CompilerContext), call Bind on it then you should get a LambdaExpression back out. You can Compile() on that. But it?s not like this is well traveled territory and this only applies to 2.6.1 (before that the trees weren?t DLR ASTs so they weren?t reducable). When we do this ourselves we also call the produced delegate and flow in some data. The delegate is going to want at least a FunctionCode object as an argument but I think you could get away with passing null (at least as long as no exceptions are thrown). The delegate might also want a CodeContext object as well depending on the compilation mode we end up using (which is based on the CompilerContext you give us). This you wouldn?t be able to get away w/ passing null. But you can get one by doing new ModuleContext(new PythonDictionary(), pythonContext).GlobalContext. The HostingHelpers class can give you a LanguageContext from the ScriptEngine for Python which you can cast to a PythonContext. Let me know if it works! ? From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Justin Chase Sent: Monday, April 12, 2010 4:09 PM To: Discussion of IronPython Subject: Re: [IronPython] Building via AST Ok, so at risk of being a nuissance I have one last question because I feel like I'm half way t... _______________________________________________ Users mailing list Users at lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com -- Justin Chase http://www.justnbusiness.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jimmy.Schementi at microsoft.com Wed Apr 14 09:29:52 2010 From: Jimmy.Schementi at microsoft.com (Jimmy Schementi) Date: Wed, 14 Apr 2010 07:29:52 +0000 Subject: [IronPython] IronPython 2.6.1 for .NET 4.0 RC targeting Silverlight Message-ID: <7688D47D-1CC6-4313-AD6C-9D57CCB9CF0C@microsoft.com> Ok - so that makes sense. So to use some C# 4 features with Silverlight and IronPython you *will* need a version of IronPython for Silverlight built specifically against Silverlight 4. I guess that means that apps using that version of IronPython *won't* work in earlier versions of Silverlight. Yes, which is true for any app using C# dynamic as well, or apps that depend on SL4 specific features. In general versions of IronPython built against (for example) Silverlight 2 *can* use features from Silverlight 3. (Try Python uses IronPython that was built against Silverlight 2 - but dynamically uses some Silverlight 3 APIs if they are available.) As Silverlight 4 includes a different version of the CLR - and not just different API sets - I guess it particularly makes a difference if you are compiling C# code that works with IronPython. Odd and annoying that it won't even add references to earlier versions though. Does *everything* need to be specially compiled to be used with .NET 4? The *current* Silverlight builds can use SL4 features; like webcam, etc. This is because IronPython calls .NET APIs dynamically. However, since the Silverlight 2 builds don't statically depend on any of the new APIs in the Silverlight 4, any CLR4 features that the compilers/libraries usually depend on in .NET 4 aren't available in Silverlight 4; that's what the Silverlight 4 build will do for you. With regard to adding references to assemblies; as long as the same APIs exist in both versions of Silverlight, it will work in both, regardless of which compiler you use. It's the same situation with different .NET versions. Did I miss something where someone reported not being able to do this? -------------- next part -------------- An HTML attachment was scrubbed... URL: From fuzzyman at voidspace.org.uk Wed Apr 14 23:40:46 2010 From: fuzzyman at voidspace.org.uk (Michael Foord) Date: Wed, 14 Apr 2010 23:40:46 +0200 Subject: [IronPython] IronPython 2.6.1 for .NET 4.0 RC targeting Silverlight In-Reply-To: <7688D47D-1CC6-4313-AD6C-9D57CCB9CF0C@microsoft.com> References: <7688D47D-1CC6-4313-AD6C-9D57CCB9CF0C@microsoft.com> Message-ID: <4BC6365E.8050000@voidspace.org.uk> On 14/04/2010 09:29, Jimmy Schementi wrote: > [snip...] >> In general versions of IronPython built against (for example) >> Silverlight 2 *can* use features from Silverlight 3. (Try Python uses >> IronPython that was built against Silverlight 2 - but dynamically >> uses some Silverlight 3 APIs if they are available.) As Silverlight 4 >> includes a different version of the CLR - and not just different API >> sets - I guess it particularly makes a difference if you are >> compiling C# code that works with IronPython. Odd and annoying that >> it won't even add references to earlier versions though. Does >> *everything* need to be specially compiled to be used with .NET 4? >> > > The *current* Silverlight builds can use SL4 features; like webcam, > etc. This is because IronPython calls .NET APIs dynamically. However, > since the Silverlight 2 builds don't statically depend on any of the > new APIs in the Silverlight 4, any CLR4 features that the > compilers/libraries usually depend on in .NET 4 aren't available in > Silverlight 4; that's what the Silverlight 4 build will do for you. Did you see the report of my problem with the RichTextBox with IronPython 2.6.1 RC. Do you see the same problem? > > With regard to adding references to assemblies; as long as the same > APIs exist in both versions of Silverlight, it will work in both, > regardless of which compiler you use. It's the same situation with > different .NET versions. Did I miss something where someone reported > not being able to do this? The person who started this thread reported not being able to reference the assemblies. All the best, Michael Foord > > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > -- http://www.ironpythoninaction.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From justin.m.chase at gmail.com Thu Apr 15 00:34:57 2010 From: justin.m.chase at gmail.com (Justin Chase) Date: Wed, 14 Apr 2010 17:34:57 -0500 Subject: [IronPython] Building via AST In-Reply-To: <1A472770E042064698CB5ADC83A12ACD395277CE@TK5EX14MBXC118.redmond.corp.microsoft.com> References: <1A472770E042064698CB5ADC83A12ACD3951B304@TK5EX14MBXC118.redmond.corp.microsoft.com> <1A472770E042064698CB5ADC83A12ACD3951CD41@TK5EX14MBXC118.redmond.corp.microsoft.com> <1A472770E042064698CB5ADC83A12ACD3951D6EF@TK5EX14MBXC118.redmond.corp.microsoft.com> <1A472770E042064698CB5ADC83A12ACD395277CE@TK5EX14MBXC118.redmond.corp.microsoft.com> Message-ID: Ok awesome! So now I have: dynamic example = globals["Example"]; dynamic instance = example(); Console.WriteLine(instance.Do()); But I'm getting an exception about a line number. Any idea how I can get past that? I've tried a bunch of things but I'm not sure what's going on. ArgumentOutOfRangeException Specified argument was out of the range of valid values. Parameter name: line must be greater than or equal to 1 at Microsoft.Scripting.SourceLocation.ValidateLocation(Int32 index, Int32 line, Int32 column) at Microsoft.Scripting.SourceLocation..ctor(Int32 index, Int32 line, Int32 column) at IronPython.Compiler.Ast.FunctionDefinition.CreateFunctionLambda() at IronPython.Compiler.Ast.FunctionDefinition.EnsureFunctionLambda() at IronPython.Compiler.Ast.FunctionDefinition.GetLambda() at IronPython.Runtime.FunctionCode.get_Code() at IronPython.Runtime.FunctionCode.GetGeneratorOrNormalLambda() at IronPython.Runtime.FunctionCode.UpdateDelegate(PythonContext context, Boolean forceCreation) at IronPython.Runtime.FunctionCode.LazyCompileFirstTarget(PythonFunction function) at IronPython.Compiler.PythonCallTargets.OriginalCallTarget1(PythonFunction function, Object arg0) at IronPython.Runtime.PythonFunction.FunctionCaller`1.Call1(CallSite site, CodeContext context, Object func, T0 arg0) at System.Dynamic.UpdateDelegates.UpdateAndExecute3[T0,T1,T2,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2) at CallSite.Target(Closure , CallSite , Object ) at System.Dynamic.UpdateDelegates.UpdateAndExecute1[T0,TRet](CallSite site, T0 arg0) at CallSite.Target(Closure , CallSite , Object ) at System.Dynamic.UpdateDelegates.UpdateAndExecute1[T0,TRet](CallSite site, T0 arg0) On Wed, Apr 14, 2010 at 3:32 PM, Dino Viehland wrote: > The problem here is just that you actually have a nested code context > when for the top-level code you just need a single global context. Replace > the line: > > > > var codeContext = new CodeContext( > > new PythonDictionary(), > > moduleContext); > > > > with: > > var codeContext = moduleContext.GlobalContext; > > > > and it?ll work. The nested code context that you?re creating is only used > for when we?re inside of a function definition or a class definition. > > > > Also you can avoid creating the script scope and just pull Example out of > the globals dictionary as well. > > > > *From:* users-bounces at lists.ironpython.com [mailto: > users-bounces at lists.ironpython.com] *On Behalf Of *Justin Chase > *Sent:* Wednesday, April 14, 2010 11:24 AM > > *To:* Discussion of IronPython > *Subject:* Re: [IronPython] Building via AST > > > > I feel like I'm sooooo close but something isn't quite working. Here is my > current code: > > > > var runtime = Python.CreateRuntime(); > > > runtime.LoadAssembly(typeof(IExample).Assembly); > > > > var engine = > runtime.GetEngineByFileExtension(".py"); > > var context = > (PythonContext)HostingHelpers.GetLanguageContext(engine); > > > > var globals = new PythonDictionary(); > > globals.Add("__name__", ""); // I > get an exception without this. > > > > var options = new > PythonCompilerOptions(ModuleOptions.ExecOrEvalCode | > ModuleOptions.Initialize); > > var unit = new SourceUnit(context, > NullTextContentProvider.Null, "", SourceCodeKind.Statements); > > > > var moduleContext = new > ModuleContext(globals, context); > > var codeContext = new CodeContext( > > new PythonDictionary(), > > moduleContext); > > > > var classDefinition = new > IronPython.Compiler.Ast.ClassDefinition( > > "Example", > > new Expression[] { }, > > new FunctionDefinition( > > "Do", > > new[] { new > Parameter("self") }, > > new > ReturnStatement(new ConstantExpression("hello python!")))); > > > > var pythonAst = new PythonAst( > > new > IronPython.Compiler.Ast.SuiteStatement(new Statement[] { /* import, */ > classDefinition }), > > false, > > > ModuleOptions.ExecOrEvalCode, > > false, > > new CompilerContext( > > unit, > > options, > > new > ThrowsErrorSink())); > > > > pythonAst.Bind(); > > var lambda = > (System.Linq.Expressions.LambdaExpression)pythonAst.Reduce(); > > var func = (Func FunctionCode, object>)lambda.Compile(); > > var result = func(codeContext, null); // > result is null > > > > dynamic python = > HostingHelpers.CreateScriptScope(engine, moduleContext.GlobalScope); > > *dynamic example = python.Example(); // > fails! Example is not in scope.* > > Console.WriteLine(example.Do()); > > Console.ReadKey(true); > > > > > > Can anyone tell me what I'm missing? This has got to be pretty close. > > > > > > On Mon, Apr 12, 2010 at 7:51 PM, Justin Chase > wrote: > > Awesome. I will thanks. > > On Apr 12, 2010 7:49 PM, "Dino Viehland" wrote: > > This might be possible. If you wrap this all up in a PythonAst object > (calling the constructor which takes a CompilerContext), call Bind on it > then you should get a LambdaExpression back out. You can Compile() on > that. > > > > But it?s not like this is well traveled territory and this only applies to > 2.6.1 (before that the trees weren?t DLR ASTs so they weren?t reducable). > When we do this ourselves we also call the produced delegate and flow in > some data. The delegate is going to want at least a FunctionCode object as > an argument but I think you could get away with passing null (at least as > long as no exceptions are thrown). The delegate might also want a > CodeContext object as well depending on the compilation mode we end up using > (which is based on the CompilerContext you give us). This you wouldn?t be > able to get away w/ passing null. But you can get one by doing new > ModuleContext(new PythonDictionary(), pythonContext).GlobalContext. The > HostingHelpers class can give you a LanguageContext from the ScriptEngine > for Python which you can cast to a PythonContext. > > > > Let me know if it works! J > > > > *From:* users-bounces at lists.ironpython.com [mailto: > users-bounces at lists.ironpython.com] *On Behalf Of *Justin Chase > *Sent:* Monday, April 12, 2010 4:09 PM > > To: Discussion of IronPython Subject: Re: [IronPython] Building via AST > > Ok, so at risk of being a nuissance I have one last question because I > feel like I'm half way t... > > > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > > > > > -- > Justin Chase > http://www.justnbusiness.com > > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > > -- Justin Chase http://www.justnbusiness.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From qiuyingbo at sohu.com Thu Apr 15 00:56:33 2010 From: qiuyingbo at sohu.com (qiuyingbo at sohu.com) Date: Wed, 14 Apr 2010 22:56:33 GMT Subject: [IronPython] ssl server mode issue Message-ID: <1271285793.a73c2a4151ee444da2400b88c321388c.qiuyingbo@sohu.com> I create a self-signed certificate by OpenSSL. It rasie: File "C:\Program Files\IronPython 2.6\Lib\ssl.py", line 346, in wrap_socket return SSLSocket(sock, keyfile=keyfile, certfile=certfile, File "C:\Program Files\IronPython 2.6\Lib\ssl.py", line 118, in __init__ self.do_handshake() File "C:\Program Files\IronPython 2.6\Lib\ssl.py", line 293, in do_handshake self._sslobj.do_handshake() WindowsError: [Errno 22] The credentials supplied to the package were not recognized From dmatson at gmail.com Thu Apr 15 01:17:48 2010 From: dmatson at gmail.com (David Matson) Date: Wed, 14 Apr 2010 17:17:48 -0600 Subject: [IronPython] IronPython 2.6.1 for .NET 4.0 RC targeting Silverlight In-Reply-To: <4BC6365E.8050000@voidspace.org.uk> References: <7688D47D-1CC6-4313-AD6C-9D57CCB9CF0C@microsoft.com> <4BC6365E.8050000@voidspace.org.uk> Message-ID: I couldn't add the references because the assemblies I was trying to add weren't Silverlight assemblies. My issue remains that I need assemblies built against Silverlight 4 because I'm trying to using ExpandoObjects (System.Dynamic) in conjunction with IronPython. If I use the current Silverlight assemblies available on Codeplex I get type duplication errors. On Wed, Apr 14, 2010 at 3:40 PM, Michael Foord wrote: > On 14/04/2010 09:29, Jimmy Schementi wrote: > > [snip...] > > In general versions of IronPython built against (for example) Silverlight 2 > *can* use features from Silverlight 3. (Try Python uses IronPython that was > built against Silverlight 2 - but dynamically uses some Silverlight 3 APIs > if they are available.) As Silverlight 4 includes a different version of the > CLR - and not just different API sets - I guess it particularly makes a > difference if you are compiling C# code that works with IronPython. Odd and > annoying that it won't even add references to earlier versions though. Does > *everything* need to be specially compiled to be used with .NET 4? > > > The *current* Silverlight builds can use SL4 features; like webcam, etc. > This is because IronPython calls .NET APIs dynamically. However, since the > Silverlight 2 builds don't statically depend on any of the new APIs in the > Silverlight 4, any CLR4 features that the compilers/libraries usually depend > on in .NET 4 aren't available in Silverlight 4; that's what the Silverlight > 4 build will do for you. > > Did you see the report of my problem with the RichTextBox with IronPython > 2.6.1 RC. Do you see the same problem? > > > > With regard to adding references to assemblies; as long as the same APIs > exist in both versions of Silverlight, it will work in both, regardless of > which compiler you use. It's the same situation with different .NET > versions. Did I miss something where someone reported not being able to do > this? > > The person who started this thread reported not being able to reference the > assemblies. > > All the best, > > Michael Foord > > > > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > > > -- > http://www.ironpythoninaction.com/ > > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > > -- David Matson dmatson at gmail.com From dinov at microsoft.com Thu Apr 15 01:21:30 2010 From: dinov at microsoft.com (Dino Viehland) Date: Wed, 14 Apr 2010 23:21:30 +0000 Subject: [IronPython] Building via AST In-Reply-To: References: <1A472770E042064698CB5ADC83A12ACD3951B304@TK5EX14MBXC118.redmond.corp.microsoft.com> <1A472770E042064698CB5ADC83A12ACD3951CD41@TK5EX14MBXC118.redmond.corp.microsoft.com> <1A472770E042064698CB5ADC83A12ACD3951D6EF@TK5EX14MBXC118.redmond.corp.microsoft.com> <1A472770E042064698CB5ADC83A12ACD395277CE@TK5EX14MBXC118.redmond.corp.microsoft.com> Message-ID: <1A472770E042064698CB5ADC83A12ACD395285FD@TK5EX14MBXC118.redmond.corp.microsoft.com> Try calling SetLoc on the FunctionDefinition and also try setting the Header property. I think if it?s some reasonable span it?ll work. From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Justin Chase Sent: Wednesday, April 14, 2010 3:35 PM To: Discussion of IronPython Subject: Re: [IronPython] Building via AST Ok awesome! So now I have: dynamic example = globals["Example"]; dynamic instance = example(); Console.WriteLine(instance.Do()); But I'm getting an exception about a line number. Any idea how I can get past that? I've tried a bunch of things but I'm not sure what's going on. ArgumentOutOfRangeException Specified argument was out of the range of valid values. Parameter name: line must be greater than or equal to 1 at Microsoft.Scripting.SourceLocation.ValidateLocation(Int32 index, Int32 line, Int32 column) at Microsoft.Scripting.SourceLocation..ctor(Int32 index, Int32 line, Int32 column) at IronPython.Compiler.Ast.FunctionDefinition.CreateFunctionLambda() at IronPython.Compiler.Ast.FunctionDefinition.EnsureFunctionLambda() at IronPython.Compiler.Ast.FunctionDefinition.GetLambda() at IronPython.Runtime.FunctionCode.get_Code() at IronPython.Runtime.FunctionCode.GetGeneratorOrNormalLambda() at IronPython.Runtime.FunctionCode.UpdateDelegate(PythonContext context, Boolean forceCreation) at IronPython.Runtime.FunctionCode.LazyCompileFirstTarget(PythonFunction function) at IronPython.Compiler.PythonCallTargets.OriginalCallTarget1(PythonFunction function, Object arg0) at IronPython.Runtime.PythonFunction.FunctionCaller`1.Call1(CallSite site, CodeContext context, Object func, T0 arg0) at System.Dynamic.UpdateDelegates.UpdateAndExecute3[T0,T1,T2,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2) at CallSite.Target(Closure , CallSite , Object ) at System.Dynamic.UpdateDelegates.UpdateAndExecute1[T0,TRet](CallSite site, T0 arg0) at CallSite.Target(Closure , CallSite , Object ) at System.Dynamic.UpdateDelegates.UpdateAndExecute1[T0,TRet](CallSite site, T0 arg0) On Wed, Apr 14, 2010 at 3:32 PM, Dino Viehland > wrote: The problem here is just that you actually have a nested code context when for the top-level code you just need a single global context. Replace the line: var codeContext = new CodeContext( new PythonDictionary(), moduleContext); with: var codeContext = moduleContext.GlobalContext; and it?ll work. The nested code context that you?re creating is only used for when we?re inside of a function definition or a class definition. Also you can avoid creating the script scope and just pull Example out of the globals dictionary as well. From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Justin Chase Sent: Wednesday, April 14, 2010 11:24 AM To: Discussion of IronPython Subject: Re: [IronPython] Building via AST I feel like I'm sooooo close but something isn't quite working. Here is my current code: var runtime = Python.CreateRuntime(); runtime.LoadAssembly(typeof(IExample).Assembly); var engine = runtime.GetEngineByFileExtension(".py"); var context = (PythonContext)HostingHelpers.GetLanguageContext(engine); var globals = new PythonDictionary(); globals.Add("__name__", ""); // I get an exception without this. var options = new PythonCompilerOptions(ModuleOptions.ExecOrEvalCode | ModuleOptions.Initialize); var unit = new SourceUnit(context, NullTextContentProvider.Null, "", SourceCodeKind.Statements); var moduleContext = new ModuleContext(globals, context); var codeContext = new CodeContext( new PythonDictionary(), moduleContext); var classDefinition = new IronPython.Compiler.Ast.ClassDefinition( "Example", new Expression[] { }, new FunctionDefinition( "Do", new[] { new Parameter("self") }, new ReturnStatement(new ConstantExpression("hello python!")))); var pythonAst = new PythonAst( new IronPython.Compiler.Ast.SuiteStatement(new Statement[] { /* import, */ classDefinition }), false, ModuleOptions.ExecOrEvalCode, false, new CompilerContext( unit, options, new ThrowsErrorSink())); pythonAst.Bind(); var lambda = (System.Linq.Expressions.LambdaExpression)pythonAst.Reduce(); var func = (Func)lambda.Compile(); var result = func(codeContext, null); // result is null dynamic python = HostingHelpers.CreateScriptScope(engine, moduleContext.GlobalScope); dynamic example = python.Example(); // fails! Example is not in scope. Console.WriteLine(example.Do()); Console.ReadKey(true); Can anyone tell me what I'm missing? This has got to be pretty close. On Mon, Apr 12, 2010 at 7:51 PM, Justin Chase > wrote: Awesome. I will thanks. On Apr 12, 2010 7:49 PM, "Dino Viehland" > wrote: This might be possible. If you wrap this all up in a PythonAst object (calling the constructor which takes a CompilerContext), call Bind on it then you should get a LambdaExpression back out. You can Compile() on that. But it?s not like this is well traveled territory and this only applies to 2.6.1 (before that the trees weren?t DLR ASTs so they weren?t reducable). When we do this ourselves we also call the produced delegate and flow in some data. The delegate is going to want at least a FunctionCode object as an argument but I think you could get away with passing null (at least as long as no exceptions are thrown). The delegate might also want a CodeContext object as well depending on the compilation mode we end up using (which is based on the CompilerContext you give us). This you wouldn?t be able to get away w/ passing null. But you can get one by doing new ModuleContext(new PythonDictionary(), pythonContext).GlobalContext. The HostingHelpers class can give you a LanguageContext from the ScriptEngine for Python which you can cast to a PythonContext. Let me know if it works! ? From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Justin Chase Sent: Monday, April 12, 2010 4:09 PM To: Discussion of IronPython Subject: Re: [IronPython] Building via AST Ok, so at risk of being a nuissance I have one last question because I feel like I'm half way t... _______________________________________________ Users mailing list Users at lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com -- Justin Chase http://www.justnbusiness.com _______________________________________________ Users mailing list Users at lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com -- Justin Chase http://www.justnbusiness.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From dinov at microsoft.com Thu Apr 15 01:39:28 2010 From: dinov at microsoft.com (Dino Viehland) Date: Wed, 14 Apr 2010 23:39:28 +0000 Subject: [IronPython] 2.6.1 implements ssl module, but it crash... In-Reply-To: <1271239434.494fb54ef82442658c8cad200ec6c4f2.qiuyingbo@sohu.com> References: <1271216887.caec692f2ad44545a74589551dec9088.qiuyingbo@sohu.com> <1271239434.494fb54ef82442658c8cad200ec6c4f2.qiuyingbo@sohu.com> Message-ID: <1A472770E042064698CB5ADC83A12ACD39528780@TK5EX14MBXC118.redmond.corp.microsoft.com> My guess is that the exception we?re reporting is either of the wrong type or doesn?t have the right information. ssl.SSLSocket.read is catching SSLError and it looks like we?d probably throw a socket.SocketError instead. I?ve opened this bug: http://ironpython.codeplex.com/WorkItem/View.aspx?WorkItemId=26778 Thanks for beating on ssl ? it obviously still has a few rough edges but hopefully we can collect them all and get them fixed. From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of qiuyingbo at sohu.com Sent: Wednesday, April 14, 2010 3:04 AM To: Discussion of IronPython Subject: Re: [IronPython] 2.6.1 implements ssl module, but it crash... I noticed that there is a wrap_socket() argument: suppress_ragged_eofs The parameter suppress_ragged_eofs specifies how the SSLSocket.read() method should signal unexpected EOF from the other end of the connection. If specified as True (the default), it returns a normal EOF in response to unexpected EOF errors raised from the underlying socket; if False, it will raise the exceptions back to the caller. But not working ----- ?? ----- ???: qiuyingbo at sohu.com ???: Re: [IronPython] 2.6.1 implements ssl module, but it crash... ???: 2010?4?14? 11:48:07 I traced the bug and found it occurred when our imap server close connection after imap authentication. It seems that SSLSocket.read() cannot raise exception in this situation. It return 0. Then IMAP4_SSL.readline() go into infiniteloop: def readline(self): """Read line from remote.""" line = [] while 1: char = self.sslobj.read(1) line.append(char) if char == "\n": return ''.join(line) I would modify imaplib.py to resolve the problem. But I think it's a bug of SSLSocket.read(), right? -------------- next part -------------- An HTML attachment was scrubbed... URL: From dinov at microsoft.com Thu Apr 15 01:58:34 2010 From: dinov at microsoft.com (Dino Viehland) Date: Wed, 14 Apr 2010 23:58:34 +0000 Subject: [IronPython] ssl server mode issue In-Reply-To: <1271285793.a73c2a4151ee444da2400b88c321388c.qiuyingbo@sohu.com> References: <1271285793.a73c2a4151ee444da2400b88c321388c.qiuyingbo@sohu.com> Message-ID: <1A472770E042064698CB5ADC83A12ACD39528A15@TK5EX14MBXC118.redmond.corp.microsoft.com> Could you include the Python code which is doing the connections? Are you doing an IronPython to IronPython connection? Or are you connecting to a server or localhost running a server outside of IronPython? > -----Original Message----- > From: users-bounces at lists.ironpython.com [mailto:users- > bounces at lists.ironpython.com] On Behalf Of qiuyingbo at sohu.com > Sent: Wednesday, April 14, 2010 3:57 PM > To: users > Subject: [IronPython] ssl server mode issue > > I create a self-signed certificate by OpenSSL. It rasie: > > File "C:\Program Files\IronPython 2.6\Lib\ssl.py", line 346, in wrap_socket > return SSLSocket(sock, keyfile=keyfile, certfile=certfile, > File "C:\Program Files\IronPython 2.6\Lib\ssl.py", line 118, in __init__ > self.do_handshake() > File "C:\Program Files\IronPython 2.6\Lib\ssl.py", line 293, in do_handshake > self._sslobj.do_handshake() > WindowsError: [Errno 22] The credentials supplied to the package were not > recognized > > > > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com From Jimmy.Schementi at microsoft.com Thu Apr 15 00:53:49 2010 From: Jimmy.Schementi at microsoft.com (Jimmy Schementi) Date: Wed, 14 Apr 2010 22:53:49 +0000 Subject: [IronPython] IronPython 2.6.1 for .NET 4.0 RC targeting Silverlight Message-ID: <1B42307CD4AADD438CDDA2FE1121CC921732B46F@TK5EX14MBXC136.redmond.corp.microsoft.com> >>> Did you see the report of my problem with the RichTextBox with IronPython 2.6.1 RC. Do you see the same problem? Yes, I can repro it using both IronPython binaries built against SL3 and SL4; it appears that the RichTextBox.ctor() fails to be called via reflection. We call via reflection in the interpreter first as an optimization, and then generate code to do the call; though it looks like both paths are failing. I?m looking into this ? installing windbg on my new machine at the moment =P >>> The person who started this thread reported not being able to reference the assemblies. Oh, I thought they were trying to add references to the .NET 4.0 built assemblies in a Silverlight project, which absolutely doesn?t work; you need to use a build for Silverlight. From: Michael Foord [mailto:fuzzyman at voidspace.org.uk] Sent: Wednesday, April 14, 2010 2:41 PM To: Discussion of IronPython Cc: Jimmy Schementi Subject: Re: [IronPython] IronPython 2.6.1 for .NET 4.0 RC targeting Silverlight On 14/04/2010 09:29, Jimmy Schementi wrote: [snip...] In general versions of IronPython built against (for example) Silverlight 2 *can* use features from Silverlight 3. (Try Python uses IronPython that was built against Silverlight 2 - but dynamically uses some Silverlight 3 APIs if they are available.) As Silverlight 4 includes a different version of the CLR - and not just different API sets - I guess it particularly makes a difference if you are compiling C# code that works with IronPython. Odd and annoying that it won't even add references to earlier versions though. Does *everything* need to be specially compiled to be used with .NET 4? The *current* Silverlight builds can use SL4 features; like webcam, etc. This is because IronPython calls .NET APIs dynamically. However, since the Silverlight 2 builds don't statically depend on any of the new APIs in the Silverlight 4, any CLR4 features that the compilers/libraries usually depend on in .NET 4 aren't available in Silverlight 4; that's what the Silverlight 4 build will do for you. Did you see the report of my problem with the RichTextBox with IronPython 2.6.1 RC. Do you see the same problem? With regard to adding references to assemblies; as long as the same APIs exist in both versions of Silverlight, it will work in both, regardless of which compiler you use. It's the same situation with different .NET versions. Did I miss something where someone reported not being able to do this? The person who started this thread reported not being able to reference the assemblies. All the best, Michael Foord _______________________________________________ Users mailing list Users at lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com -- http://www.ironpythoninaction.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From qiuyingbo at sohu.com Thu Apr 15 02:40:47 2010 From: qiuyingbo at sohu.com (qiuyingbo at sohu.com) Date: Thu, 15 Apr 2010 00:40:47 GMT Subject: [IronPython] ssl server mode issue In-Reply-To: <1A472770E042064698CB5ADC83A12ACD39528A15@TK5EX14MBXC118.redmond.corp.microsoft.com> Message-ID: <1271292047.e783e547f970493798d21c0b1aebe31e.qiuyingbo@sohu.com> I'm doing a web browser to ironpython connection. It is difficult to explain what I am doing,  I'm hacking a http proxy that inherit BaseHTTPServer.BaseHTTPRequestHandler. Next code snippets show how I support HTTPS proxy.. (Linux version run well)   class ProxyHandler(BaseHTTPServer.BaseHTTPRequestHandler):     def do_CONNECT(self):        # print self.raw_requestline         # "CONNECT twitter.com:443 HTTP/1.1"        self.sslhost = self.raw_requestline.split()[1]        self.wfile.write(self.protocol_version + " 200 Connection established\r\n")        self.wfile.write("Proxy-agent: qiuyingbo\r\n\r\n")        import ssl        self.rfile = pseudofile(ssl.wrap_socket(self.connection, None, CERTFILE, True))        self.wfile = self.rfile        self.handle_one_request()   class pseudofile():    ''' SSL Pseudo File Object'''    def __init__(self, sslobj):        self.sslobj = sslobj        self.closed = 0       def read(self, size):        chunks = []        read = 0        while read < size:            data = self.sslobj.read(size-read)            read += len(data)            chunks.append(data)        return ''.join(chunks)       def readline(self):        line = []        while 1:            char = self.sslobj.read(1)            line.append(char)            if char == "\n": return ''.join(line)       def write(self, data):        bytes = len(data)        while bytes > 0:            sent = self.sslobj.write(data)            if sent == bytes:                break    # avoid copy            data = data[sent:]            bytes = bytes - sent     def flush(self):        pass     close = flush -------------- next part -------------- An HTML attachment was scrubbed... URL: From dmatson at gmail.com Thu Apr 15 03:37:01 2010 From: dmatson at gmail.com (David Matson) Date: Wed, 14 Apr 2010 19:37:01 -0600 Subject: [IronPython] IronPython 2.6.1 for .NET 4.0 RC targeting Silverlight In-Reply-To: <1B42307CD4AADD438CDDA2FE1121CC921732B46F@TK5EX14MBXC136.redmond.corp.microsoft.com> References: <1B42307CD4AADD438CDDA2FE1121CC921732B46F@TK5EX14MBXC136.redmond.corp.microsoft.com> Message-ID: Thanks for all your help Jimmy. IronPython fits the role perfectly for our scripting engine. Keep up the great work! On Wed, Apr 14, 2010 at 4:53 PM, Jimmy Schementi wrote: >>>> Did you see the report of my problem with the RichTextBox with >>>> IronPython 2.6.1 RC. Do you see the same problem? > > > > Yes, I can repro it using both IronPython binaries built against SL3 and > SL4; it appears that the RichTextBox.ctor() fails to be called via > reflection. We call via reflection in the interpreter first as an > optimization, and then generate code to do the call; though it looks like > both paths are failing. I?m looking into this ? installing windbg on my new > machine at the moment =P > > > >>>> The person who started this thread reported not being able to reference >>>> the assemblies. > > > > Oh, I thought they were trying to add references to the .NET 4.0 built > assemblies in a Silverlight project, which absolutely doesn?t work; you need > to use a build for Silverlight. > > > > From: Michael Foord [mailto:fuzzyman at voidspace.org.uk] > Sent: Wednesday, April 14, 2010 2:41 PM > To: Discussion of IronPython > Cc: Jimmy Schementi > Subject: Re: [IronPython] IronPython 2.6.1 for .NET 4.0 RC targeting > Silverlight > > > > On 14/04/2010 09:29, Jimmy Schementi wrote: > > [snip...] > > In general versions of IronPython built against (for example) Silverlight 2 > *can* use features from Silverlight 3. (Try Python uses IronPython that was > built against Silverlight 2 - but dynamically uses some Silverlight 3 APIs > if they are available.) As Silverlight 4 includes a different version of the > CLR - and not just different API sets - I guess it particularly makes a > difference if you are compiling C# code that works with IronPython. Odd and > annoying that it won't even add references to earlier versions though. Does > *everything* need to be specially compiled to be used with .NET 4? > > > > The *current* Silverlight builds can use SL4 features; like webcam, etc. > This is because IronPython calls .NET APIs dynamically. However, since the > Silverlight 2 builds don't statically depend on any of the new APIs in the > Silverlight 4, any CLR4 features that the compilers/libraries usually depend > on in .NET 4 aren't available in Silverlight 4; that's what the Silverlight > 4 build will do for you. > > Did you see the report of my problem with the RichTextBox with IronPython > 2.6.1 RC. Do you see the same problem? > > > > > > With regard to adding references to assemblies; as long as the same APIs > exist in both versions of Silverlight, it will work in both, regardless of > which compiler you use. It's the same situation with different .NET > versions. Did I miss something where someone reported not being able to do > this? > > The person who started this thread reported not being able to reference the > assemblies. > > All the best, > > Michael Foord > > > > > > > > _______________________________________________ > > Users mailing list > > Users at lists.ironpython.com > > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > > > > > -- > > http://www.ironpythoninaction.com/ > > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > > -- David Matson dmatson at gmail.com From bruce.bromberek at gmail.com Thu Apr 15 04:35:09 2010 From: bruce.bromberek at gmail.com (Bruce Bromberek) Date: Wed, 14 Apr 2010 21:35:09 -0500 Subject: [IronPython] Code Access Security? In-Reply-To: References: <3D1B7932-A94E-4531-A36F-91EBB20E19C6@microsoft.com> Message-ID: Does a.py have any module imports? I always find I have to mess around with standard python modules being available in order for my DLL's to work when I distribute exe's. But then I'm usually using ODBC connections to *.mdb files On Wed, Apr 14, 2010 at 4:05 AM, Neidhoo Xaphier wrote: > I invoke it this way: > > import clr > clr.AddReference("a.dll") > import a > > con = a.connect() > > It is the last line which creates the SystemError. I don't have this issue > if I use/import a.py directly and not the compiled a.dll. But I need to > provide it as a.dll. > > Regards, > Xaphier > > 2010/4/14 Jimmy Schementi > >> ipy,exe isn't running with any special permissions. How are you invoking >> the code in a.dll? >> >> ~Jimmy >> >> _______________________________________________ >> Users mailing list >> Users at lists.ironpython.com >> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com >> > > > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From justin.m.chase at gmail.com Thu Apr 15 20:25:09 2010 From: justin.m.chase at gmail.com (Justin Chase) Date: Thu, 15 Apr 2010 13:25:09 -0500 Subject: [IronPython] Building via AST In-Reply-To: <1A472770E042064698CB5ADC83A12ACD395285FD@TK5EX14MBXC118.redmond.corp.microsoft.com> References: <1A472770E042064698CB5ADC83A12ACD3951CD41@TK5EX14MBXC118.redmond.corp.microsoft.com> <1A472770E042064698CB5ADC83A12ACD3951D6EF@TK5EX14MBXC118.redmond.corp.microsoft.com> <1A472770E042064698CB5ADC83A12ACD395277CE@TK5EX14MBXC118.redmond.corp.microsoft.com> <1A472770E042064698CB5ADC83A12ACD395285FD@TK5EX14MBXC118.redmond.corp.microsoft.com> Message-ID: SUCCESS! Here's the final code: var runtime = Python.CreateRuntime(); var functionDefinition = new FunctionDefinition( "Do", new[] { new Parameter("self") }, new ReturnStatement(new ConstantExpression("hello python!"))); var classDefinition = new IronPython.Compiler.Ast.ClassDefinition( "Example", new Expression[] { }, functionDefinition); dynamic python = runtime.Compile(classDefinition); dynamic example = python.Example(); Console.WriteLine(example.Do()); Console.ReadKey(true); public static class DLRHelper { public static dynamic Compile(this ScriptRuntime runtime, params Statement[] statements) { var engine = runtime.GetEngineByFileExtension(".py"); var context = (PythonContext)HostingHelpers.GetLanguageContext(engine); var globals = new PythonDictionary(); globals.Add("__name__", ""); var options = new PythonCompilerOptions(ModuleOptions.ExecOrEvalCode); var unit = new SourceUnit(context, NullTextContentProvider.Null, "", SourceCodeKind.AutoDetect); var moduleContext = new ModuleContext(globals, context); var codeContext = moduleContext.GlobalContext; var pythonAst = new PythonAst( new IronPython.Compiler.Ast.SuiteStatement(statements), false, ModuleOptions.ExecOrEvalCode, false, new CompilerContext( unit, options, ErrorSink.Default)); pythonAst.Walk(new EnsureLocWalker()); pythonAst.Bind(); var lambda = (System.Linq.Expressions.LambdaExpression)pythonAst.Reduce(); var func = (Func)lambda.Compile(); var result = func(codeContext, null); // result is null return HostingHelpers.CreateScriptScope(engine, codeContext.GlobalScope); } // I created a walker called EnsureLocWalker that overrides all Walk methods and calls SetLoc to new SourceSpan(new SourceLocation(1, 1, 1), new SourceLocation(2, 2, 2)); // and header when appropriate to new SourceLocation(1, 1, 1) } FYI your WithStatement, TryStatement and ForStatement are missing getters on their header property. That's frustrating. I want to be able to do this: if (node.Header == SourceLocation.Invalid) node.Header = new SourceLocation(1, 1, 1); Also it would be nice if the headers and locations were completely ignored if they're invalid instead of throwing exceptions. Also it would be *reaaaally *nice if you had a Walk(Node node) override on the PythonWalker. So you could do something to all nodes. Also, why have a million overrides for this? Can't you just make a generic PythonWalker? Then just have a single Walk(T node) and AfterWalk(T node). That would be a lot less gross. The reason why I want to do this is because I am working on a DSL tool ( http://metasharp.codeplex.com) where I'm compiling down into an AST. Currently I have transforms to create CodeDom objects and linq Expression objects but I lack the ability to dynamically create Types or directly generate IL. Using this I think i can save a TON of work for myself. Thanks for all the help! On Wed, Apr 14, 2010 at 6:21 PM, Dino Viehland wrote: > Try calling SetLoc on the FunctionDefinition and also try setting the > Header property. I think if it?s some reasonable span it?ll work. > > > > *From:* users-bounces at lists.ironpython.com [mailto: > users-bounces at lists.ironpython.com] *On Behalf Of *Justin Chase > *Sent:* Wednesday, April 14, 2010 3:35 PM > > *To:* Discussion of IronPython > *Subject:* Re: [IronPython] Building via AST > > > > Ok awesome! > > > > So now I have: > > dynamic example = globals["Example"]; > > dynamic instance = example(); > > Console.WriteLine(instance.Do()); > > > > But I'm getting an exception about a line number. Any idea how I can get > past that? I've tried a bunch of things but I'm not sure what's going on. > > > > ArgumentOutOfRangeException > > Specified argument was out of the range of valid values. Parameter name: > line must be greater than or equal to 1 > > at Microsoft.Scripting.SourceLocation.ValidateLocation(Int32 index, > Int32 line, Int32 column) > > at Microsoft.Scripting.SourceLocation..ctor(Int32 index, Int32 line, > Int32 column) > > at IronPython.Compiler.Ast.FunctionDefinition.CreateFunctionLambda() > > at IronPython.Compiler.Ast.FunctionDefinition.EnsureFunctionLambda() > > at IronPython.Compiler.Ast.FunctionDefinition.GetLambda() > > at IronPython.Runtime.FunctionCode.get_Code() > > at IronPython.Runtime.FunctionCode.GetGeneratorOrNormalLambda() > > at IronPython.Runtime.FunctionCode.UpdateDelegate(PythonContext context, > Boolean forceCreation) > > at IronPython.Runtime.FunctionCode.LazyCompileFirstTarget(PythonFunction > function) > > at > IronPython.Compiler.PythonCallTargets.OriginalCallTarget1(PythonFunction > function, Object arg0) > > at IronPython.Runtime.PythonFunction.FunctionCaller`1.Call1(CallSite > site, CodeContext context, Object func, T0 arg0) > > at > System.Dynamic.UpdateDelegates.UpdateAndExecute3[T0,T1,T2,TRet](CallSite > site, T0 arg0, T1 arg1, T2 arg2) > > at CallSite.Target(Closure , CallSite , Object ) > > at System.Dynamic.UpdateDelegates.UpdateAndExecute1[T0,TRet](CallSite > site, T0 arg0) > > at CallSite.Target(Closure , CallSite , Object ) > > at System.Dynamic.UpdateDelegates.UpdateAndExecute1[T0,TRet](CallSite > site, T0 arg0) > > > > > > On Wed, Apr 14, 2010 at 3:32 PM, Dino Viehland > wrote: > > The problem here is just that you actually have a nested code context when > for the top-level code you just need a single global context. Replace the > line: > > > > var codeContext = new CodeContext( > > new PythonDictionary(), > > moduleContext); > > > > with: > > var codeContext = moduleContext.GlobalContext; > > > > and it?ll work. The nested code context that you?re creating is only used > for when we?re inside of a function definition or a class definition. > > > > Also you can avoid creating the script scope and just pull Example out of > the globals dictionary as well. > > > > *From:* users-bounces at lists.ironpython.com [mailto: > users-bounces at lists.ironpython.com] *On Behalf Of *Justin Chase > *Sent:* Wednesday, April 14, 2010 11:24 AM > > > *To:* Discussion of IronPython > *Subject:* Re: [IronPython] Building via AST > > > > I feel like I'm sooooo close but something isn't quite working. Here is my > current code: > > > > var runtime = Python.CreateRuntime(); > > > runtime.LoadAssembly(typeof(IExample).Assembly); > > > > var engine = > runtime.GetEngineByFileExtension(".py"); > > var context = > (PythonContext)HostingHelpers.GetLanguageContext(engine); > > > > var globals = new PythonDictionary(); > > globals.Add("__name__", ""); // I > get an exception without this. > > > > var options = new > PythonCompilerOptions(ModuleOptions.ExecOrEvalCode | > ModuleOptions.Initialize); > > var unit = new SourceUnit(context, > NullTextContentProvider.Null, "", SourceCodeKind.Statements); > > > > var moduleContext = new > ModuleContext(globals, context); > > var codeContext = new CodeContext( > > new PythonDictionary(), > > moduleContext); > > > > var classDefinition = new > IronPython.Compiler.Ast.ClassDefinition( > > "Example", > > new Expression[] { }, > > new FunctionDefinition( > > "Do", > > new[] { new > Parameter("self") }, > > new > ReturnStatement(new ConstantExpression("hello python!")))); > > > > var pythonAst = new PythonAst( > > new > IronPython.Compiler.Ast.SuiteStatement(new Statement[] { /* import, */ > classDefinition }), > > false, > > ModuleOptions.ExecOrEvalCode, > > false, > > new CompilerContext( > > unit, > > options, > > new > ThrowsErrorSink())); > > > > pythonAst.Bind(); > > var lambda = > (System.Linq.Expressions.LambdaExpression)pythonAst.Reduce(); > > var func = (Func FunctionCode, object>)lambda.Compile(); > > var result = func(codeContext, null); // > result is null > > > > dynamic python = > HostingHelpers.CreateScriptScope(engine, moduleContext.GlobalScope); > > *dynamic example = python.Example(); // > fails! Example is not in scope.* > > Console.WriteLine(example.Do()); > > Console.ReadKey(true); > > > > > > Can anyone tell me what I'm missing? This has got to be pretty close. > > > > > > On Mon, Apr 12, 2010 at 7:51 PM, Justin Chase > wrote: > > Awesome. I will thanks. > > On Apr 12, 2010 7:49 PM, "Dino Viehland" wrote: > > This might be possible. If you wrap this all up in a PythonAst object > (calling the constructor which takes a CompilerContext), call Bind on it > then you should get a LambdaExpression back out. You can Compile() on > that. > > > > But it?s not like this is well traveled territory and this only applies to > 2.6.1 (before that the trees weren?t DLR ASTs so they weren?t reducable). > When we do this ourselves we also call the produced delegate and flow in > some data. The delegate is going to want at least a FunctionCode object as > an argument but I think you could get away with passing null (at least as > long as no exceptions are thrown). The delegate might also want a > CodeContext object as well depending on the compilation mode we end up using > (which is based on the CompilerContext you give us). This you wouldn?t be > able to get away w/ passing null. But you can get one by doing new > ModuleContext(new PythonDictionary(), pythonContext).GlobalContext. The > HostingHelpers class can give you a LanguageContext from the ScriptEngine > for Python which you can cast to a PythonContext. > > > > Let me know if it works! J > > > > *From:* users-bounces at lists.ironpython.com [mailto: > users-bounces at lists.ironpython.com] *On Behalf Of *Justin Chase > *Sent:* Monday, April 12, 2010 4:09 PM > > To: Discussion of IronPython Subject: Re: [IronPython] Building via AST > > Ok, so at risk of being a nuissance I have one last question because I > feel like I'm half way t... > > > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > > > > > -- > Justin Chase > http://www.justnbusiness.com > > > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > > > > > -- > Justin Chase > http://www.justnbusiness.com > > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > > -- Justin Chase http://www.justnbusiness.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From justin.m.chase at gmail.com Thu Apr 15 21:56:07 2010 From: justin.m.chase at gmail.com (Justin Chase) Date: Thu, 15 Apr 2010 14:56:07 -0500 Subject: [IronPython] Building via AST In-Reply-To: References: <1A472770E042064698CB5ADC83A12ACD3951CD41@TK5EX14MBXC118.redmond.corp.microsoft.com> <1A472770E042064698CB5ADC83A12ACD3951D6EF@TK5EX14MBXC118.redmond.corp.microsoft.com> <1A472770E042064698CB5ADC83A12ACD395277CE@TK5EX14MBXC118.redmond.corp.microsoft.com> <1A472770E042064698CB5ADC83A12ACD395285FD@TK5EX14MBXC118.redmond.corp.microsoft.com> Message-ID: So this is awesome by the way. I added the import and casting-to-an-interface code back in and it works like a charm. I'm generating python code purely via AST! On Thu, Apr 15, 2010 at 1:25 PM, Justin Chase wrote: > SUCCESS! > > Here's the final code: > var runtime = Python.CreateRuntime(); > > var functionDefinition = new FunctionDefinition( > "Do", > new[] { new Parameter("self") }, > new ReturnStatement(new ConstantExpression("hello python!"))); > > var classDefinition = new IronPython.Compiler.Ast.ClassDefinition( > "Example", > new Expression[] { }, > functionDefinition); > > dynamic python = runtime.Compile(classDefinition); > dynamic example = python.Example(); > > Console.WriteLine(example.Do()); > Console.ReadKey(true); > > public static class DLRHelper > { > public static dynamic Compile(this ScriptRuntime runtime, params > Statement[] statements) > { > var engine = runtime.GetEngineByFileExtension(".py"); > var context = (PythonContext)HostingHelpers.GetLanguageContext(engine); > > var globals = new PythonDictionary(); > globals.Add("__name__", ""); > > var options = new PythonCompilerOptions(ModuleOptions.ExecOrEvalCode); > var unit = new SourceUnit(context, NullTextContentProvider.Null, "", > SourceCodeKind.AutoDetect); > > var moduleContext = new ModuleContext(globals, context); > var codeContext = moduleContext.GlobalContext; > var pythonAst = new PythonAst( > new IronPython.Compiler.Ast.SuiteStatement(statements), > false, > ModuleOptions.ExecOrEvalCode, > false, > new CompilerContext( > unit, > options, > ErrorSink.Default)); > > pythonAst.Walk(new EnsureLocWalker()); > > pythonAst.Bind(); > var lambda = (System.Linq.Expressions.LambdaExpression)pythonAst.Reduce(); > var func = (Func)lambda.Compile(); > var result = func(codeContext, null); // result is null > > return HostingHelpers.CreateScriptScope(engine, codeContext.GlobalScope); > } > > // I created a walker called EnsureLocWalker that overrides all Walk > methods and calls SetLoc to new SourceSpan(new SourceLocation(1, 1, 1), new > SourceLocation(2, 2, 2)); > // and header when appropriate to new SourceLocation(1, 1, 1) > } > > > FYI your WithStatement, TryStatement and ForStatement are missing getters > on their header property. That's frustrating. I want to be able to do this: > > if (node.Header == SourceLocation.Invalid) > node.Header = new SourceLocation(1, 1, 1); > > Also it would be nice if the headers and locations were completely ignored > if they're invalid instead of throwing exceptions. Also it would be *reaaaally > *nice if you had a Walk(Node node) override on the PythonWalker. So you > could do something to all nodes. Also, why have a million overrides for > this? Can't you just make a generic PythonWalker? Then just have a single > Walk(T node) and AfterWalk(T node). That would be a lot less gross. > > The reason why I want to do this is because I am working on a DSL tool ( > http://metasharp.codeplex.com) where I'm compiling down into an AST. > Currently I have transforms to create CodeDom objects and linq Expression > objects but I lack the ability to dynamically create Types or directly > generate IL. Using this I think i can save a TON of work for myself. > > Thanks for all the help! > > > On Wed, Apr 14, 2010 at 6:21 PM, Dino Viehland wrote: > >> Try calling SetLoc on the FunctionDefinition and also try setting the >> Header property. I think if it?s some reasonable span it?ll work. >> >> >> >> *From:* users-bounces at lists.ironpython.com [mailto: >> users-bounces at lists.ironpython.com] *On Behalf Of *Justin Chase >> *Sent:* Wednesday, April 14, 2010 3:35 PM >> >> *To:* Discussion of IronPython >> *Subject:* Re: [IronPython] Building via AST >> >> >> >> Ok awesome! >> >> >> >> So now I have: >> >> dynamic example = globals["Example"]; >> >> dynamic instance = example(); >> >> Console.WriteLine(instance.Do()); >> >> >> >> But I'm getting an exception about a line number. Any idea how I can get >> past that? I've tried a bunch of things but I'm not sure what's going on. >> >> >> >> ArgumentOutOfRangeException >> >> Specified argument was out of the range of valid values. Parameter name: >> line must be greater than or equal to 1 >> >> at Microsoft.Scripting.SourceLocation.ValidateLocation(Int32 index, >> Int32 line, Int32 column) >> >> at Microsoft.Scripting.SourceLocation..ctor(Int32 index, Int32 line, >> Int32 column) >> >> at IronPython.Compiler.Ast.FunctionDefinition.CreateFunctionLambda() >> >> at IronPython.Compiler.Ast.FunctionDefinition.EnsureFunctionLambda() >> >> at IronPython.Compiler.Ast.FunctionDefinition.GetLambda() >> >> at IronPython.Runtime.FunctionCode.get_Code() >> >> at IronPython.Runtime.FunctionCode.GetGeneratorOrNormalLambda() >> >> at IronPython.Runtime.FunctionCode.UpdateDelegate(PythonContext >> context, Boolean forceCreation) >> >> at >> IronPython.Runtime.FunctionCode.LazyCompileFirstTarget(PythonFunction >> function) >> >> at >> IronPython.Compiler.PythonCallTargets.OriginalCallTarget1(PythonFunction >> function, Object arg0) >> >> at IronPython.Runtime.PythonFunction.FunctionCaller`1.Call1(CallSite >> site, CodeContext context, Object func, T0 arg0) >> >> at >> System.Dynamic.UpdateDelegates.UpdateAndExecute3[T0,T1,T2,TRet](CallSite >> site, T0 arg0, T1 arg1, T2 arg2) >> >> at CallSite.Target(Closure , CallSite , Object ) >> >> at System.Dynamic.UpdateDelegates.UpdateAndExecute1[T0,TRet](CallSite >> site, T0 arg0) >> >> at CallSite.Target(Closure , CallSite , Object ) >> >> at System.Dynamic.UpdateDelegates.UpdateAndExecute1[T0,TRet](CallSite >> site, T0 arg0) >> >> >> >> >> >> On Wed, Apr 14, 2010 at 3:32 PM, Dino Viehland >> wrote: >> >> The problem here is just that you actually have a nested code context when >> for the top-level code you just need a single global context. Replace the >> line: >> >> >> >> var codeContext = new CodeContext( >> >> new PythonDictionary(), >> >> moduleContext); >> >> >> >> with: >> >> var codeContext = moduleContext.GlobalContext; >> >> >> >> and it?ll work. The nested code context that you?re creating is only used >> for when we?re inside of a function definition or a class definition. >> >> >> >> Also you can avoid creating the script scope and just pull Example out of >> the globals dictionary as well. >> >> >> >> *From:* users-bounces at lists.ironpython.com [mailto: >> users-bounces at lists.ironpython.com] *On Behalf Of *Justin Chase >> *Sent:* Wednesday, April 14, 2010 11:24 AM >> >> >> *To:* Discussion of IronPython >> *Subject:* Re: [IronPython] Building via AST >> >> >> >> I feel like I'm sooooo close but something isn't quite working. Here is my >> current code: >> >> >> >> var runtime = Python.CreateRuntime(); >> >> >> runtime.LoadAssembly(typeof(IExample).Assembly); >> >> >> >> var engine = >> runtime.GetEngineByFileExtension(".py"); >> >> var context = >> (PythonContext)HostingHelpers.GetLanguageContext(engine); >> >> >> >> var globals = new PythonDictionary(); >> >> globals.Add("__name__", ""); // I >> get an exception without this. >> >> >> >> var options = new >> PythonCompilerOptions(ModuleOptions.ExecOrEvalCode | >> ModuleOptions.Initialize); >> >> var unit = new SourceUnit(context, >> NullTextContentProvider.Null, "", SourceCodeKind.Statements); >> >> >> >> var moduleContext = new >> ModuleContext(globals, context); >> >> var codeContext = new CodeContext( >> >> new PythonDictionary(), >> >> moduleContext); >> >> >> >> var classDefinition = new >> IronPython.Compiler.Ast.ClassDefinition( >> >> "Example", >> >> new Expression[] { }, >> >> new FunctionDefinition( >> >> "Do", >> >> new[] { new >> Parameter("self") }, >> >> new >> ReturnStatement(new ConstantExpression("hello python!")))); >> >> >> >> var pythonAst = new PythonAst( >> >> new >> IronPython.Compiler.Ast.SuiteStatement(new Statement[] { /* import, */ >> classDefinition }), >> >> false, >> >> >> ModuleOptions.ExecOrEvalCode, >> >> false, >> >> new CompilerContext( >> >> unit, >> >> options, >> >> new >> ThrowsErrorSink())); >> >> >> >> pythonAst.Bind(); >> >> var lambda = >> (System.Linq.Expressions.LambdaExpression)pythonAst.Reduce(); >> >> var func = (Func> FunctionCode, object>)lambda.Compile(); >> >> var result = func(codeContext, null); // >> result is null >> >> >> >> dynamic python = >> HostingHelpers.CreateScriptScope(engine, moduleContext.GlobalScope); >> >> *dynamic example = python.Example(); // >> fails! Example is not in scope.* >> >> Console.WriteLine(example.Do()); >> >> Console.ReadKey(true); >> >> >> >> >> >> Can anyone tell me what I'm missing? This has got to be pretty close. >> >> >> >> >> >> On Mon, Apr 12, 2010 at 7:51 PM, Justin Chase >> wrote: >> >> Awesome. I will thanks. >> >> On Apr 12, 2010 7:49 PM, "Dino Viehland" wrote: >> >> This might be possible. If you wrap this all up in a PythonAst object >> (calling the constructor which takes a CompilerContext), call Bind on it >> then you should get a LambdaExpression back out. You can Compile() on >> that. >> >> >> >> But it?s not like this is well traveled territory and this only applies to >> 2.6.1 (before that the trees weren?t DLR ASTs so they weren?t reducable). >> When we do this ourselves we also call the produced delegate and flow in >> some data. The delegate is going to want at least a FunctionCode object as >> an argument but I think you could get away with passing null (at least as >> long as no exceptions are thrown). The delegate might also want a >> CodeContext object as well depending on the compilation mode we end up using >> (which is based on the CompilerContext you give us). This you wouldn?t be >> able to get away w/ passing null. But you can get one by doing new >> ModuleContext(new PythonDictionary(), pythonContext).GlobalContext. The >> HostingHelpers class can give you a LanguageContext from the ScriptEngine >> for Python which you can cast to a PythonContext. >> >> >> >> Let me know if it works! J >> >> >> >> *From:* users-bounces at lists.ironpython.com [mailto: >> users-bounces at lists.ironpython.com] *On Behalf Of *Justin Chase >> *Sent:* Monday, April 12, 2010 4:09 PM >> >> To: Discussion of IronPython Subject: Re: [IronPython] Building via AST >> >> Ok, so at risk of being a nuissance I have one last question because I >> feel like I'm half way t... >> >> >> _______________________________________________ >> Users mailing list >> Users at lists.ironpython.com >> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com >> >> >> >> >> -- >> Justin Chase >> http://www.justnbusiness.com >> >> >> _______________________________________________ >> Users mailing list >> Users at lists.ironpython.com >> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com >> >> >> >> >> -- >> Justin Chase >> http://www.justnbusiness.com >> >> _______________________________________________ >> Users mailing list >> Users at lists.ironpython.com >> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com >> >> > > > -- > Justin Chase > http://www.justnbusiness.com > -- Justin Chase http://www.justnbusiness.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From xaphiern at googlemail.com Fri Apr 16 10:30:37 2010 From: xaphiern at googlemail.com (Neidhoo Xaphier) Date: Fri, 16 Apr 2010 10:30:37 +0200 Subject: [IronPython] Code Access Security? In-Reply-To: References: <3D1B7932-A94E-4531-A36F-91EBB20E19C6@microsoft.com> Message-ID: a.py is importing SimpleSqlClient.py which again is importing System.Data which implements the .NET SQL support. So I tried to import System.Data also in a.py and in the main application. Unfortunatelly I still get the error message: SystemError: Fehler bei der Anforderung des Berechtigungstyps System.Data.SqlClient.SqlClientPermission, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089. I have notived that languages like C# have special constructs to request access grand to system functions. How do I request full access to System.Data in python? 2010/4/15 Bruce Bromberek > Does a.py have any module imports? I always find I have to mess around > with standard python modules being available in order for my DLL's to work > when I distribute exe's. But then I'm usually using ODBC connections to > *.mdb files > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From curt at hagenlocher.org Fri Apr 16 17:19:37 2010 From: curt at hagenlocher.org (Curt Hagenlocher) Date: Fri, 16 Apr 2010 08:19:37 -0700 Subject: [IronPython] Code Access Security? In-Reply-To: References: <3D1B7932-A94E-4531-A36F-91EBB20E19C6@microsoft.com> Message-ID: What kind of environment are you running from? Is this, for instance, an ASP.NET application? If so, can you get the same error when running from outside that environment? On Fri, Apr 16, 2010 at 1:30 AM, Neidhoo Xaphier wrote: > a.py is importing SimpleSqlClient.py which again is importing System.Data > which implements the .NET SQL support. > > So I tried to import System.Data also in a.py and in the main application. > Unfortunatelly I still get the error message: > > SystemError: Fehler bei der Anforderung des Berechtigungstyps > System.Data.SqlClient.SqlClientPermission, System.Data, Version=2.0.0.0, > Culture=neutral, PublicKeyToken=b77a5c561934e089. > > I have notived that languages like C# have special constructs to request > access grand to system functions. How do I request full access to > System.Data in python? > > > 2010/4/15 Bruce Bromberek > >> Does a.py have any module imports? I always find I have to mess around >> with standard python modules being available in order for my DLL's to work >> when I distribute exe's. But then I'm usually using ODBC connections to >> *.mdb files >> >> >> > > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From fuzzyman at voidspace.org.uk Fri Apr 16 22:04:20 2010 From: fuzzyman at voidspace.org.uk (Michael Foord) Date: Fri, 16 Apr 2010 22:04:20 +0200 Subject: [IronPython] IronPython 2.6.1 for .NET 4.0 RC targeting Silverlight In-Reply-To: <1B42307CD4AADD438CDDA2FE1121CC921732B46F@TK5EX14MBXC136.redmond.corp.microsoft.com> References: <1B42307CD4AADD438CDDA2FE1121CC921732B46F@TK5EX14MBXC136.redmond.corp.microsoft.com> Message-ID: <4BC8C2C4.1000303@voidspace.org.uk> On 15/04/2010 00:53, Jimmy Schementi wrote: > > >>> Did you see the report of my problem with the RichTextBox with > IronPython 2.6.1 RC. Do you see the same problem? > > Yes, I can repro it using *both* IronPython binaries built against SL3 > and SL4; it appears that the RichTextBox.ctor() fails to be called via > reflection. We call via reflection in the interpreter first as an > optimization, and then generate code to do the call; though it looks > like both paths are failing. I?m looking into this ? installing windbg > on my new machine at the moment =P > Thanks very much Jimmy. Do you want me to open a bug on codeplex to track this? In the meantime I'm writing some C# to instantiate a RichTextBox and return it to us. All the best, Michael Foord > >>> The person who started this thread reported not being able to > reference the assemblies. > > Oh, I thought they were trying to add references to the .NET 4.0 built > assemblies in a Silverlight project, which absolutely doesn?t work; > you need to use a build for Silverlight. > > *From:* Michael Foord [mailto:fuzzyman at voidspace.org.uk] > *Sent:* Wednesday, April 14, 2010 2:41 PM > *To:* Discussion of IronPython > *Cc:* Jimmy Schementi > *Subject:* Re: [IronPython] IronPython 2.6.1 for .NET 4.0 RC targeting > Silverlight > > On 14/04/2010 09:29, Jimmy Schementi wrote: > > [snip...] > > In general versions of IronPython built against (for example) > Silverlight 2 *can* use features from Silverlight 3. (Try Python uses > IronPython that was built against Silverlight 2 - but dynamically uses > some Silverlight 3 APIs if they are available.) As Silverlight 4 > includes a different version of the CLR - and not just different API > sets - I guess it particularly makes a difference if you are compiling > C# code that works with IronPython. Odd and annoying that it won't > even add references to earlier versions though. Does *everything* need > to be specially compiled to be used with .NET 4? > > The *current* Silverlight builds can use SL4 features; like webcam, > etc. This is because IronPython calls .NET APIs dynamically. However, > since the Silverlight 2 builds don't statically depend on any of the > new APIs in the Silverlight 4, any CLR4 features that the > compilers/libraries usually depend on in .NET 4 aren't available in > Silverlight 4; that's what the Silverlight 4 build will do for you. > > > Did you see the report of my problem with the RichTextBox with > IronPython 2.6.1 RC. Do you see the same problem? > > > > With regard to adding references to assemblies; as long as the same > APIs exist in both versions of Silverlight, it will work in both, > regardless of which compiler you use. It's the same situation with > different .NET versions. Did I miss something where someone reported > not being able to do this? > > > The person who started this thread reported not being able to > reference the assemblies. > > All the best, > > Michael Foord > > > > > > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > > > > > > -- > http://www.ironpythoninaction.com/ -- http://www.ironpythoninaction.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From john.cawley at rkeng.com Fri Apr 16 23:19:51 2010 From: john.cawley at rkeng.com (john.cawley at rkeng.com) Date: Fri, 16 Apr 2010 17:19:51 -0400 Subject: [IronPython] IronPython code to call IronRuby fails; equivalent? C# code works Message-ID: <739993498B7911458E3DF30A0F6EDB56BF7010B3FD@PONYEXPRESS.rkeng.com> I'm at the beginning stages of calling IronRuby from IronPython, but am having difficulty creating the ruby engine. This code works from C# in VS2008: // with referenced assemblies IronRuby, IronRuby.Libraries, IronRuby.Libraries.YAML, Microsoft.Scripting, // Microsoft.Scripting.Core from the IronRuby bin\ directory var engine = IronRuby.Ruby.CreateEngine(); String s = engine.ToString(); MessageBox.Show( s, "test"); // successfully returns "Microsoft.Scripting.Hosting.ScriptEngine" Trying to do the identical logic with this IronPython code: import clr, sys clr.AddReferenceToFileAndPath( "C:/Apps/IronRuby/bin/IronRuby.dll" ) # after initially failed, tried adding specific path to IronRuby DLLs ... clr.AddReferenceToFileAndPath( "C:/Apps/IronRuby/bin/IronRuby.Libraries.dll" ) clr.AddReferenceToFileAndPath( "C:/Apps/IronRuby/bin/IronRuby.Libraries.YAML.dll" ) clr.AddReferenceToFileAndPath( "C:/Apps/IronRuby/bin/Microsoft.Scripting.dll" ) clr.AddReferenceToFileAndPath( "C:/Apps/IronRuby/bin/Microsoft.Scripting.Core.dll" ) import IronRuby for r in clr.References: print "ref", r # to verify I have the correct assemblies loaded print "" print "fence 0" engine = IronRuby.Ruby.CreateEngine() # fails here print "fence 1" print engine This gives this output: ref mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 ref System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 ref IronRuby, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 ref IronRuby.Libraries, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 ref IronRuby.Libraries.Yaml, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 ref Microsoft.Scripting, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 ref Microsoft.Scripting.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 fence 0 Traceback (most recent call last): StandardError: Failed to load language 'IronRuby': Could not load type 'Microsoft.Scripting.Interpreter.ILightCallSiteBinder' from assembly 'Microsoft.Dynamic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. I also added a reference to IronRuby's version of the Microsoft.Dynamic.dll, but it still failed similarly. The logic I'm trying to execute is brief enough that there shouldn't be much that could go wrong, but ... Thanks in advance for any insights! --John -------------- next part -------------- An HTML attachment was scrubbed... URL: From dinov at microsoft.com Sat Apr 17 00:11:49 2010 From: dinov at microsoft.com (Dino Viehland) Date: Fri, 16 Apr 2010 22:11:49 +0000 Subject: [IronPython] IronPython code to call IronRuby fails; equivalent? C# code works In-Reply-To: <739993498B7911458E3DF30A0F6EDB56BF7010B3FD@PONYEXPRESS.rkeng.com> References: <739993498B7911458E3DF30A0F6EDB56BF7010B3FD@PONYEXPRESS.rkeng.com> Message-ID: <1A472770E042064698CB5ADC83A12ACD395345CE@TK5EX14MBXC118.redmond.corp.microsoft.com> Is this IronPython 2.6.1 and IronRuby 1.0? From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of john.cawley at rkeng.com Sent: Friday, April 16, 2010 2:20 PM To: Users at lists.ironpython.com Subject: [IronPython] IronPython code to call IronRuby fails; equivalent? C# code works I'm at the beginning stages of calling IronRuby from IronPython, but am having difficulty creating the ruby engine. This code works from C# in VS2008: // with referenced assemblies IronRuby, IronRuby.Libraries, IronRuby.Libraries.YAML, Microsoft.Scripting, // Microsoft.Scripting.Core from the IronRuby bin\ directory var engine = IronRuby.Ruby.CreateEngine(); String s = engine.ToString(); MessageBox.Show( s, "test"); // successfully returns "Microsoft.Scripting.Hosting.ScriptEngine" Trying to do the identical logic with this IronPython code: import clr, sys clr.AddReferenceToFileAndPath( "C:/Apps/IronRuby/bin/IronRuby.dll" ) # after initially failed, tried adding specific path to IronRuby DLLs ... clr.AddReferenceToFileAndPath( "C:/Apps/IronRuby/bin/IronRuby.Libraries.dll" ) clr.AddReferenceToFileAndPath( "C:/Apps/IronRuby/bin/IronRuby.Libraries.YAML.dll" ) clr.AddReferenceToFileAndPath( "C:/Apps/IronRuby/bin/Microsoft.Scripting.dll" ) clr.AddReferenceToFileAndPath( "C:/Apps/IronRuby/bin/Microsoft.Scripting.Core.dll" ) import IronRuby for r in clr.References: print "ref", r # to verify I have the correct assemblies loaded print "" print "fence 0" engine = IronRuby.Ruby.CreateEngine() # fails here print "fence 1" print engine This gives this output: ref mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 ref System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 ref IronRuby, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 ref IronRuby.Libraries, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 ref IronRuby.Libraries.Yaml, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 ref Microsoft.Scripting, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 ref Microsoft.Scripting.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 fence 0 Traceback (most recent call last): StandardError: Failed to load language 'IronRuby': Could not load type 'Microsoft.Scripting.Interpreter.ILightCallSiteBinder' from assembly 'Microsoft.Dynamic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. I also added a reference to IronRuby's version of the Microsoft.Dynamic.dll, but it still failed similarly. The logic I'm trying to execute is brief enough that there shouldn't be much that could go wrong, but ... Thanks in advance for any insights! --John -------------- next part -------------- An HTML attachment was scrubbed... URL: From fuzzyman at voidspace.org.uk Sat Apr 17 03:00:54 2010 From: fuzzyman at voidspace.org.uk (Michael Foord) Date: Sat, 17 Apr 2010 03:00:54 +0200 Subject: [IronPython] Still stuck on rich editor with IronPython and Silverlight Message-ID: <4BC90846.5080609@voidspace.org.uk> Hello all, I'm still stuck on using the Silverlight 4 RichTextBox from IronPython. Unfortunately this is blocking our project. :-( Instantiating the RichTextBox directly or loading it from xaml fails. A wrapper class in C# that instantiates the RichTextBox and returns it to IronPython fails. A wrapper C# class that internally creates the RichTextBox but never returns it to IronPython *still* fails. Anyone got any suggestions for possible alternative approaches? My latest (failing) attempt. C#: public static class Foo { static RichTextEditor _editor = null; public static void Create(StackPanel panel) { _editor = new RichTextEditor(); panel.Children.Add(_editor); } } IronPython: clr.AddReference('SilverlightTextEditor, Version=1.0.0.0, Culture=neutral') canv = Canvas() xaml = Application.Current.LoadRootVisual(canv, "app.xaml") from SilverlightTextEditor import Foo panel = StackPanel() xaml.Children.Add(panel) Foo.Create(panel) (Note that RichTextEditor is a standalone UserControl editor component built on top of the RichTextBox. It works fine from C#.) All the best, Michael Foord -- http://www.ironpythoninaction.com/ From Tomas.Matousek at microsoft.com Sat Apr 17 03:09:25 2010 From: Tomas.Matousek at microsoft.com (Tomas Matousek) Date: Sat, 17 Apr 2010 01:09:25 +0000 Subject: [IronPython] IronPython code to call IronRuby fails; equivalent? C# code works In-Reply-To: <1A472770E042064698CB5ADC83A12ACD395345CE@TK5EX14MBXC118.redmond.corp.microsoft.com> References: <739993498B7911458E3DF30A0F6EDB56BF7010B3FD@PONYEXPRESS.rkeng.com> <1A472770E042064698CB5ADC83A12ACD395345CE@TK5EX14MBXC118.redmond.corp.microsoft.com> Message-ID: <4B342496A3EFEB48839E10BB4BF5964C542139E5@TK5EX14MBXC131.redmond.corp.microsoft.com> The problem is probably caused by assembly load (IronRuby/DLR assemblies are loaded in a different context). To fix this you can install IronPython and IronRuby to GAC. Using gacutil tool (http://msdn.microsoft.com/en-us/library/ex0ss12c(VS.80).aspx) from elevated command line gacutil /i IronPython.dll gacutil /i IronPython.Modules.dll gacutil /i IronRuby.dll gacutil /i IronRuby.Libraries.dll gacutil /i IronRuby.Libraries.YAML.dll gacutil /i Microsoft.Dynamic.dll gacutil /i Microsoft.Scripting.Debugging.dll gacutil /i Microsoft.Scripting.dll Then you can use clr.AddReference("IronRuby") Tomas From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Dino Viehland Sent: Friday, April 16, 2010 3:12 PM To: Discussion of IronPython Subject: Re: [IronPython] IronPython code to call IronRuby fails; equivalent? C# code works Is this IronPython 2.6.1 and IronRuby 1.0? From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of john.cawley at rkeng.com Sent: Friday, April 16, 2010 2:20 PM To: Users at lists.ironpython.com Subject: [IronPython] IronPython code to call IronRuby fails; equivalent? C# code works I'm at the beginning stages of calling IronRuby from IronPython, but am having difficulty creating the ruby engine. This code works from C# in VS2008: // with referenced assemblies IronRuby, IronRuby.Libraries, IronRuby.Libraries.YAML, Microsoft.Scripting, // Microsoft.Scripting.Core from the IronRuby bin\ directory var engine = IronRuby.Ruby.CreateEngine(); String s = engine.ToString(); MessageBox.Show( s, "test"); // successfully returns "Microsoft.Scripting.Hosting.ScriptEngine" Trying to do the identical logic with this IronPython code: import clr, sys clr.AddReferenceToFileAndPath( "C:/Apps/IronRuby/bin/IronRuby.dll" ) # after initially failed, tried adding specific path to IronRuby DLLs ... clr.AddReferenceToFileAndPath( "C:/Apps/IronRuby/bin/IronRuby.Libraries.dll" ) clr.AddReferenceToFileAndPath( "C:/Apps/IronRuby/bin/IronRuby.Libraries.YAML.dll" ) clr.AddReferenceToFileAndPath( "C:/Apps/IronRuby/bin/Microsoft.Scripting.dll" ) clr.AddReferenceToFileAndPath( "C:/Apps/IronRuby/bin/Microsoft.Scripting.Core.dll" ) import IronRuby for r in clr.References: print "ref", r # to verify I have the correct assemblies loaded print "" print "fence 0" engine = IronRuby.Ruby.CreateEngine() # fails here print "fence 1" print engine This gives this output: ref mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 ref System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 ref IronRuby, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 ref IronRuby.Libraries, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 ref IronRuby.Libraries.Yaml, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 ref Microsoft.Scripting, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 ref Microsoft.Scripting.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 fence 0 Traceback (most recent call last): StandardError: Failed to load language 'IronRuby': Could not load type 'Microsoft.Scripting.Interpreter.ILightCallSiteBinder' from assembly 'Microsoft.Dynamic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. I also added a reference to IronRuby's version of the Microsoft.Dynamic.dll, but it still failed similarly. The logic I'm trying to execute is brief enough that there shouldn't be much that could go wrong, but ... Thanks in advance for any insights! --John -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jimmy.Schementi at microsoft.com Sat Apr 17 03:19:56 2010 From: Jimmy.Schementi at microsoft.com (Jimmy Schementi) Date: Sat, 17 Apr 2010 01:19:56 +0000 Subject: [IronPython] Still stuck on rich editor with IronPython and Silverlight Message-ID: Michael, let's get Dino in on this ... Dino, This seems like our fault, but I'm not savvy enough to track it down or verify my claim. Seems like it doesn't work regardless of invoking via reflection or ref.emit code; calling it's constructor 10,000 times still gave the same result. As Michael said, doing anything with RichTextBox fails when invoked from IronPython, but works fine when invoked without IronPython on the stack (pure C# app, for example). I'm amazed that it fails when *called* from C#, meaning that IronPython is doing something to make statically compiled code fail. We can look at this together on Monday unless you get to it sooner; I thought I knew how to use windbg but failed miserably at doing anything useful, so you'll have to help :) ~Jimmy On Apr 16, 2010, at 6:01 PM, "Michael Foord" wrote: > Hello all, > > I'm still stuck on using the Silverlight 4 RichTextBox from IronPython. Unfortunately this is blocking our project. :-( > > Instantiating the RichTextBox directly or loading it from xaml fails. > > A wrapper class in C# that instantiates the RichTextBox and returns it to IronPython fails. > > A wrapper C# class that internally creates the RichTextBox but never returns it to IronPython *still* fails. Anyone got any suggestions for possible alternative approaches? > > My latest (failing) attempt. C#: > > public static class Foo > { > static RichTextEditor _editor = null; > > public static void Create(StackPanel panel) > { > _editor = new RichTextEditor(); > panel.Children.Add(_editor); > } > } > > IronPython: > > clr.AddReference('SilverlightTextEditor, Version=1.0.0.0, Culture=neutral') > > canv = Canvas() > xaml = Application.Current.LoadRootVisual(canv, "app.xaml") > > from SilverlightTextEditor import Foo > panel = StackPanel() > xaml.Children.Add(panel) > > Foo.Create(panel) > > (Note that RichTextEditor is a standalone UserControl editor component built on top of the RichTextBox. It works fine from C#.) > > All the best, > > Michael Foord > > -- > http://www.ironpythoninaction.com/ > > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > From fuzzyman at voidspace.org.uk Sat Apr 17 03:20:59 2010 From: fuzzyman at voidspace.org.uk (Michael Foord) Date: Sat, 17 Apr 2010 03:20:59 +0200 Subject: [IronPython] Still stuck on rich editor with IronPython and Silverlight In-Reply-To: References: Message-ID: <4BC90CFB.4020200@voidspace.org.uk> On 17/04/2010 03:19, Jimmy Schementi wrote: > Michael, let's get Dino in on this ... > > Dino, This seems like our fault, but I'm not savvy enough to track it down or verify my claim. Seems like it doesn't work regardless of invoking via reflection or ref.emit code; calling it's constructor 10,000 times still gave the same result. As Michael said, doing anything with RichTextBox fails when invoked from IronPython, but works fine when invoked without IronPython on the stack (pure C# app, for example). I'm amazed that it fails when *called* from C#, meaning that IronPython is doing something to make statically compiled code fail. > Thanks for looking at this Jimmy. IronPython must be doing something really quite impressive here. :-) All the best, Michael > We can look at this together on Monday unless you get to it sooner; I thought I knew how to use windbg but failed miserably at doing anything useful, so you'll have to help :) > > ~Jimmy > > On Apr 16, 2010, at 6:01 PM, "Michael Foord" wrote: > > >> Hello all, >> >> I'm still stuck on using the Silverlight 4 RichTextBox from IronPython. Unfortunately this is blocking our project. :-( >> >> Instantiating the RichTextBox directly or loading it from xaml fails. >> >> A wrapper class in C# that instantiates the RichTextBox and returns it to IronPython fails. >> >> A wrapper C# class that internally creates the RichTextBox but never returns it to IronPython *still* fails. Anyone got any suggestions for possible alternative approaches? >> >> My latest (failing) attempt. C#: >> >> public static class Foo >> { >> static RichTextEditor _editor = null; >> >> public static void Create(StackPanel panel) >> { >> _editor = new RichTextEditor(); >> panel.Children.Add(_editor); >> } >> } >> >> IronPython: >> >> clr.AddReference('SilverlightTextEditor, Version=1.0.0.0, Culture=neutral') >> >> canv = Canvas() >> xaml = Application.Current.LoadRootVisual(canv, "app.xaml") >> >> from SilverlightTextEditor import Foo >> panel = StackPanel() >> xaml.Children.Add(panel) >> >> Foo.Create(panel) >> >> (Note that RichTextEditor is a standalone UserControl editor component built on top of the RichTextBox. It works fine from C#.) >> >> All the best, >> >> Michael Foord >> >> -- >> http://www.ironpythoninaction.com/ >> >> _______________________________________________ >> Users mailing list >> Users at lists.ironpython.com >> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com >> >> > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > -- http://www.ironpythoninaction.com/ From harry.percival at gmail.com Sun Apr 18 18:39:47 2010 From: harry.percival at gmail.com (Harry Percival) Date: Sun, 18 Apr 2010 18:39:47 +0200 Subject: [IronPython] sqlalchemy + sqlite on ironpython Message-ID: Hey all, trying to get SQLAlchemy + SQLite working on IronPython.? Any tips? I think SQLAlchemy is installing OK, but slqite seems to be the real stumbling block. Here's what I've tried so far: 1/ use cpython sqlite via Ironclad: doesn't work ( http://code.google.com/p/ironclad/issues/detail?id=19 ) 2/ fepy version of sqlite: unable to import dbapi2 from sqlite 3/ using dist-tools to install pysqlite2 on ipy - falls over with 'need visual studio 6.0 compiler' error 4/ manually copying 'stuff' from c:\Python26\Lib to IronPython lib folder - not working (as you can tell from the use of the word 'stuff', i clearly don't really know what i'm doing here) suggestions gratefully appreciated! rgds, Harry From jdhardy at gmail.com Mon Apr 19 17:13:30 2010 From: jdhardy at gmail.com (Jeff Hardy) Date: Mon, 19 Apr 2010 09:13:30 -0600 Subject: [IronPython] sqlalchemy + sqlite on ironpython In-Reply-To: References: Message-ID: Hi Harry, Two other options that I know of: 1) IronPython.Sqlite (http://bitbucket.org/jdhardy/ironpython.sqlite): This is a pure managed implementation with no external dependencies but it's not complete. 2) A wrapper around System.Data.Sqlite: http://bitbucket.org/jdhardy/adonet-dbapi. A slightly older version of this is in the FePy trunk. This is only a partial implementation as well. I think #1 is the better long-term option because System.Data.Sqlite (#2) isn't capable of supporting all of Python's sqlite3 module and is thus a bit of a dead end. I don't know which of the two is actually more capable currently, though. - Jeff On Sun, Apr 18, 2010 at 10:39 AM, Harry Percival wrote: > Hey all, > > trying to get SQLAlchemy + SQLite working on IronPython.? Any tips? > > I think SQLAlchemy is installing OK, but slqite seems to be the real > stumbling block. Here's what I've tried so far: > > 1/ use cpython sqlite via Ironclad: doesn't work ( > http://code.google.com/p/ironclad/issues/detail?id=19 ) > 2/ fepy version of sqlite: unable to import dbapi2 from sqlite > 3/ using dist-tools to install pysqlite2 on ipy - falls over with > 'need visual studio 6.0 compiler' error > 4/ manually copying 'stuff' from c:\Python26\Lib to IronPython lib > folder - not working (as you can tell from the use of the word > 'stuff', i clearly don't really know what i'm doing here) > > suggestions gratefully appreciated! > > rgds, > Harry > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > From harry.percival at gmail.com Mon Apr 19 17:20:04 2010 From: harry.percival at gmail.com (Harry Percival) Date: Mon, 19 Apr 2010 17:20:04 +0200 Subject: [IronPython] sqlalchemy + sqlite on ironpython In-Reply-To: References: Message-ID: Hi Jeff, I just this minute wrote you an email via bitbucket. I am having some initial success with your adonet-dbapi - I had bumped into trouble with the fact that the connection strings need to look different from the standard cpython ones. For anyone else interested: standard sqlalchemy/cpython/sqlite3 syntax would be: >>> from sqlalchemy import * >>> engine = create_engine('sqlite:///foo.db3', echo=True) >>> metadata = MetaData() >>> users_table = Table('users', metadata, ... Column('id', Integer, primary_key=True), ... Column('name', String), ... Column('fullname', String), ... Column('password', String) ... ) >>> metadata.create_all(engine) amended syntaxt if using Jeff's System.Data.Sqlite wrapper >>> engine = create_engine('sqlite:///data source=foo2.db3', echo=True) I'll take a look at your 'pure' sqlite implementation now... thanks again! hp On Mon, Apr 19, 2010 at 5:13 PM, Jeff Hardy wrote: > Hi Harry, > Two other options that I know of: > > 1) IronPython.Sqlite (http://bitbucket.org/jdhardy/ironpython.sqlite): > This is a pure managed implementation with no external dependencies > but it's not complete. > > 2) A wrapper around System.Data.Sqlite: > http://bitbucket.org/jdhardy/adonet-dbapi. A slightly older version of > this is in the FePy trunk. This is only a partial implementation as > well. > > I think #1 is the better long-term option because System.Data.Sqlite > (#2) isn't capable of supporting all of Python's sqlite3 module and is > thus a bit of a dead end. I don't know which of the two is actually > more capable currently, though. > > - Jeff > > On Sun, Apr 18, 2010 at 10:39 AM, Harry Percival > wrote: >> Hey all, >> >> trying to get SQLAlchemy + SQLite working on IronPython.? Any tips? >> >> I think SQLAlchemy is installing OK, but slqite seems to be the real >> stumbling block. Here's what I've tried so far: >> >> 1/ use cpython sqlite via Ironclad: doesn't work ( >> http://code.google.com/p/ironclad/issues/detail?id=19 ) >> 2/ fepy version of sqlite: unable to import dbapi2 from sqlite >> 3/ using dist-tools to install pysqlite2 on ipy - falls over with >> 'need visual studio 6.0 compiler' error >> 4/ manually copying 'stuff' from c:\Python26\Lib to IronPython lib >> folder - not working (as you can tell from the use of the word >> 'stuff', i clearly don't really know what i'm doing here) >> >> suggestions gratefully appreciated! >> >> rgds, >> Harry >> _______________________________________________ >> Users mailing list >> Users at lists.ironpython.com >> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com >> > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > -- ------------------------------ Harry J.W. Percival ------------------------------ Italy Mobile: +39 389 095 8959 UK Mobile: +44 (0) 78877 02511 (may be turned off) Skype: harry.percival Email: harry.percival at gmail.com From dinov at microsoft.com Mon Apr 19 23:55:10 2010 From: dinov at microsoft.com (Dino Viehland) Date: Mon, 19 Apr 2010 21:55:10 +0000 Subject: [IronPython] License change? Message-ID: <1A472770E042064698CB5ADC83A12ACD39541997@TK5EX14MBXC118.redmond.corp.microsoft.com> Hello IronPython community, As you probably know IronPython has a long history of releasing our source code under permissive licenses. Initially IronPython was released under a specific IronPython license which was quite similar to the Microsoft Public License (PS-Pl) we ship under today. We occasionally hear feedback, questions and a general lack of familiarity from you about the license that we use. And in several instances, we have been asked why we don't adopt a more popular license, such as the Apache 2.0 License. We are therefore considering switching our license to a well known permissive license which is more commonly used by open source projects. Currently we are considering the Apache License, Version 2.0. We'd like to hear your feedback before we make any decisions. Do you think adopting a more popular license, such as the Apache License, would be a good change for IronPython? -------------- next part -------------- An HTML attachment was scrubbed... URL: From fuzzyman at voidspace.org.uk Mon Apr 19 23:58:06 2010 From: fuzzyman at voidspace.org.uk (Michael Foord) Date: Mon, 19 Apr 2010 23:58:06 +0200 Subject: [IronPython] License change? In-Reply-To: <1A472770E042064698CB5ADC83A12ACD39541997@TK5EX14MBXC118.redmond.corp.microsoft.com> References: <1A472770E042064698CB5ADC83A12ACD39541997@TK5EX14MBXC118.redmond.corp.microsoft.com> Message-ID: <4BCCD1EE.9040100@voidspace.org.uk> Personally I think the Microsoft Public License is a pretty good open source license and I'm not sure the confusion of *another* license change is worth it. My $0.02... All the best, Michael On 19/04/2010 23:55, Dino Viehland wrote: > > Hello IronPython community, > > As you probably know IronPython has a long history of releasing our > source code under permissive licenses. Initially IronPython was > released under a specific IronPython license which was quite similar > to the Microsoft Public License (PS-Pl) we ship under today. We > occasionally hear feedback, questions and a general lack of > familiarity from you about the license that we use. And in several > instances, we have been asked why we don't adopt a more popular > license, such as the Apache 2.0 License. We are therefore considering > switching our license to a well known permissive license which is more > commonly used by open source projects. Currently we are considering > the Apache License, Version 2.0. > > We'd like to hear your feedback before we make any decisions. Do you > think adopting a more popular license, such as the Apache License, > would be a good change for IronPython? > > > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > -- http://www.ironpythoninaction.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From dwierenga at gmail.com Tue Apr 20 00:10:53 2010 From: dwierenga at gmail.com (Dan Wierenga) Date: Mon, 19 Apr 2010 15:10:53 -0700 Subject: [IronPython] License change? In-Reply-To: <1A472770E042064698CB5ADC83A12ACD39541997@TK5EX14MBXC118.redmond.corp.microsoft.com> References: <1A472770E042064698CB5ADC83A12ACD39541997@TK5EX14MBXC118.redmond.corp.microsoft.com> Message-ID: On Mon, Apr 19, 2010 at 2:55 PM, Dino Viehland wrote: > > ? Do you think adopting a more popular license, such as the Apache License, would be a good change for IronPython? My $.02: there aren't a lot of people that are familiar with the MS public licenses compared to the Apache/GPL/BSD/etc licenses. For many of them, the mention of "Microsoft" in the license name immediately (erroneously, but immediately nonetheless) makes them conclude a project isn't open source. Adopting a license that people are familiar with will make it easier for them to come to terms with the fact that Microsoft can and does sponsor open-source projects.? And it convinces them from the outset that there isn't some hidden backdoor in the license for Microsoft to exploit. From jdhardy at gmail.com Tue Apr 20 00:13:55 2010 From: jdhardy at gmail.com (Jeff Hardy) Date: Mon, 19 Apr 2010 16:13:55 -0600 Subject: [IronPython] License change? In-Reply-To: <4BCCD1EE.9040100@voidspace.org.uk> References: <1A472770E042064698CB5ADC83A12ACD39541997@TK5EX14MBXC118.redmond.corp.microsoft.com> <4BCCD1EE.9040100@voidspace.org.uk> Message-ID: On Mon, Apr 19, 2010 at 3:58 PM, Michael Foord wrote: > Personally I think the Microsoft Public License is a pretty good open source > license and I'm not sure the confusion of *another* license change is worth > it. My $0.02... I agree with Michael. I don't see a particular issue with the Ms-PL, and it's not a particularly long or complex licence - unlike Apache's. The fact that it contains 'MS' might scare some people off, but if they're not willing to read the actual terms of the licence and decide if it's acceptable, do we really care? - Jeff From fuzzyman at voidspace.org.uk Tue Apr 20 00:15:30 2010 From: fuzzyman at voidspace.org.uk (Michael Foord) Date: Tue, 20 Apr 2010 00:15:30 +0200 Subject: [IronPython] License change? In-Reply-To: References: <1A472770E042064698CB5ADC83A12ACD39541997@TK5EX14MBXC118.redmond.corp.microsoft.com> <4BCCD1EE.9040100@voidspace.org.uk> Message-ID: <4BCCD602.5070708@voidspace.org.uk> On 20/04/2010 00:13, Jeff Hardy wrote: > On Mon, Apr 19, 2010 at 3:58 PM, Michael Foord > wrote: > >> Personally I think the Microsoft Public License is a pretty good open source >> license and I'm not sure the confusion of *another* license change is worth >> it. My $0.02... >> > I agree with Michael. I don't see a particular issue with the Ms-PL, > and it's not a particularly long or complex licence - unlike Apache's. > > The fact that it contains 'MS' might scare some people off, but if > they're not willing to read the actual terms of the licence and decide > if it's acceptable, do we really care? > And if they're scared off by 'MS' how likely are they to be using IronPython in the first place. Michael > - Jeff > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > -- http://www.ironpythoninaction.com/ From tony.meyer at gmail.com Tue Apr 20 00:36:00 2010 From: tony.meyer at gmail.com (Tony Meyer) Date: Tue, 20 Apr 2010 10:36:00 +1200 Subject: [IronPython] License change? In-Reply-To: References: <1A472770E042064698CB5ADC83A12ACD39541997@TK5EX14MBXC118.redmond.corp.microsoft.com> <4BCCD1EE.9040100@voidspace.org.uk> Message-ID: > I agree with Michael. I don't see a particular issue with the Ms-PL, > and it's not a particularly long or complex licence - unlike Apache's. > > The fact that it contains 'MS' might scare some people off, but if > they're not willing to read the actual terms of the licence and decide > if it's acceptable, do we really care? +1 Cheers, Tony From mats at ronin-group.org Tue Apr 20 01:28:58 2010 From: mats at ronin-group.org (Mats) Date: Mon, 19 Apr 2010 16:28:58 -0700 Subject: [IronPython] Office add-in with IronPython? Message-ID: I've search all over for an example and/or tutorial for writing Office add-ins with IronPython to no success. Does anyone know if such a thing exist? Or has anyone made an add-in that would be willing to help me get to a minimal add-in? I have very little knowledge of .Net and IronPython but have worked with CPython for years. I just installed IronPython a week or so ago and am enjoying working with it. Thanks, Mats From vernondcole at gmail.com Tue Apr 20 01:47:39 2010 From: vernondcole at gmail.com (Vernon Cole) Date: Mon, 19 Apr 2010 17:47:39 -0600 Subject: [IronPython] License change? In-Reply-To: References: <1A472770E042064698CB5ADC83A12ACD39541997@TK5EX14MBXC118.redmond.corp.microsoft.com> Message-ID: Yes, a change to a license which did not contain the name "Microsoft" would be a benefit. People have long memories, and Microsoft has a remembered history of not playing well with others. (My own memory goes back 20 years to the WordPerfect war.) I tend to not trust the news from MSNBC simply because of the first two letters in the name. Unfortunately, prejudice runs deep in humans. Even more unfortunately, Microsoft's policy of refusing to allow patches to IronPython from outside the company reinforces the worry that, even though the playground bully may be acting nice right now, he's still a bully deep down inside. It really interferes with the desired image of MS as a team player. IMHO some corporate Vice President should visit the legal department and slap faces until that policy gets changed. But what do I know? -- I'm just a customer. For all you in the development team, keep up the good work! -- Vernon Cole On Mon, Apr 19, 2010 at 4:10 PM, Dan Wierenga wrote: > On Mon, Apr 19, 2010 at 2:55 PM, Dino Viehland > wrote: > > > > Do you think adopting a more popular license, such as the Apache > License, would be a good change for IronPython? > > My $.02: there aren't a lot of people that are familiar with the MS > public licenses compared to the Apache/GPL/BSD/etc licenses. For many > of them, the mention of "Microsoft" in the license name immediately > (erroneously, but immediately nonetheless) makes them conclude a > project isn't open source. > > > Adopting a license that people are familiar with will make it easier > for them to come to terms with the fact that Microsoft can and does > sponsor open-source projects. And it convinces them from the outset > that there isn't some hidden backdoor in the license for Microsoft to > exploit. > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > -------------- next part -------------- An HTML attachment was scrubbed... URL: From rpehlm at btinternet.com Tue Apr 20 05:00:40 2010 From: rpehlm at btinternet.com (RPEHLM) Date: Tue, 20 Apr 2010 05:00:40 +0200 Subject: [IronPython] License change? In-Reply-To: References: <1A472770E042064698CB5ADC83A12ACD39541997@TK5EX14MBXC118.redmond.corp.microsoft.com> Message-ID: <4BCD18D7.9010207@btinternet.com> Use the MS licence and help build a positive reputation for MS. I get sick and tired of MS being constantly (and unfairly) denigrated, especially when the other lot (not referring to the Linux crowd here) are not playing particularly 'nice' at the moment. I don't care that MS played 'nasty' some time in the past, most big firms do from time to time. BUT the past is the past. Robin Expat Brit happily living in Germany (paternal grandfather was killed in WW2 by a U-boat near Galvaston [city refused to switch off lights at night]). Vernon Cole wrote: > Yes, a change to a license which did not contain the name "Microsoft" > would be a benefit. People have long memories, and Microsoft has a > remembered history of not playing well with others. (My own memory > goes back 20 years to the WordPerfect war.) I tend to not trust the > news from MSNBC simply because of the first two letters in the name. > Unfortunately, prejudice runs deep in humans. > Even more unfortunately, Microsoft's policy of refusing to allow > patches to IronPython from outside the company reinforces the worry > that, even though the playground bully may be acting nice right now, > he's still a bully deep down inside. It really interferes with the > desired image of MS as a team player. IMHO some corporate Vice > President should visit the legal department and slap faces until that > policy gets changed. But what do I know? -- I'm just a customer. > For all you in the development team, keep up the good work! > -- > Vernon Cole > > On Mon, Apr 19, 2010 at 4:10 PM, Dan Wierenga > wrote: > > On Mon, Apr 19, 2010 at 2:55 PM, Dino Viehland > > wrote: > > > > Do you think adopting a more popular license, such as the > Apache License, would be a good change for IronPython? > > My $.02: there aren't a lot of people that are familiar with the MS > public licenses compared to the Apache/GPL/BSD/etc licenses. For many > of them, the mention of "Microsoft" in the license name immediately > (erroneously, but immediately nonetheless) makes them conclude a > project isn't open source. > > > Adopting a license that people are familiar with will make it easier > for them to come to terms with the fact that Microsoft can and does > sponsor open-source projects. And it convinces them from the outset > that there isn't some hidden backdoor in the license for Microsoft to > exploit. > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > > > > > * > > E-mail message checked by Spyware Doctor (7.0.0.514) > Database version: 6.14750 > http://www.pctools.com/spyware-doctor-antivirus/ > > * > ------------------------------------------------------------------------ > > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > > > > > E-mail message checked by Spyware Doctor (7.0.0.514) > Database version: 6.14750 > http://www.pctools.com/en/spyware-doctor-antivirus/ > E-mail message checked by Spyware Doctor (7.0.0.514) Database version: 6.14750 http://www.pctools.com/en/spyware-doctor-antivirus/ From saveenr at microsoft.com Tue Apr 20 09:18:04 2010 From: saveenr at microsoft.com (Saveen Reddy) Date: Tue, 20 Apr 2010 07:18:04 +0000 Subject: [IronPython] Office add-in with IronPython? In-Reply-To: References: Message-ID: <9327FAE58C21BB4FAED4A1BBE8D326C71231B1@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> I once wrote an Office Add-In for Visio 2007 that hosted IronPython. Can you provide some context around the kind of add-in are you thinking about creating and how do see it making use of IronPython? Thanks, -Saveen ________________________________________ From: users-bounces at lists.ironpython.com [users-bounces at lists.ironpython.com] on behalf of Mats [mats at ronin-group.org] Sent: Monday, April 19, 2010 4:28 PM To: users at lists.ironpython.com Subject: [IronPython] Office add-in with IronPython? I've search all over for an example and/or tutorial for writing Office add-ins with IronPython to no success. Does anyone know if such a thing exist? Or has anyone made an add-in that would be willing to help me get to a minimal add-in? I have very little knowledge of .Net and IronPython but have worked with CPython for years. I just installed IronPython a week or so ago and am enjoying working with it. Thanks, Mats _______________________________________________ Users mailing list Users at lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com From Jimmy.Schementi at microsoft.com Tue Apr 20 10:29:08 2010 From: Jimmy.Schementi at microsoft.com (Jimmy Schementi) Date: Tue, 20 Apr 2010 08:29:08 +0000 Subject: [IronPython] Office add-in with IronPython? Message-ID: <3EFBB102-9AF6-4F50-B00C-D968845D37D4@microsoft.com> Mats, The way to write a Office add-in is to create one in a static .NET language, like C#, and then use the DLR hosting APIs to run Python code, which would also involve exposing whatever Office APIs to script code. I believe VS Pro and above support creating new Office add-in projects, so getting started there should be easy if you have the proper tools. Then getting that add-in to host Python code is just a matter of getting familiar with the DLR hosting API, which you can do by reading the spec (http://dlr.codeplex.com/Project/Download/FileDownload.aspx?DownloadId=97301) and looking at the "BadPaint" sample (http://ironpython.codeplex.com/releases/view/36280#DownloadId=116523) which shows how to embed IronPython in a C# app. Good luck! ~Jimmy On Apr 20, 2010, at 12:22 AM, "Saveen Reddy" wrote: > I once wrote an Office Add-In for Visio 2007 that hosted IronPython. Can you provide some context around the kind of add-in are you thinking about creating and how do see it making use of IronPython? > > Thanks, > -Saveen > ________________________________________ > From: users-bounces at lists.ironpython.com [users-bounces at lists.ironpython.com] on behalf of Mats [mats at ronin-group.org] > Sent: Monday, April 19, 2010 4:28 PM > To: users at lists.ironpython.com > Subject: [IronPython] Office add-in with IronPython? > > I've search all over for an example and/or tutorial for writing Office add-ins > with IronPython to no success. Does anyone know if such a thing exist? Or has > anyone made an add-in that would be willing to help me get to a minimal add-in? > I have very little knowledge of .Net and IronPython but have worked with CPython > for years. I just installed IronPython a week or so ago and am > enjoying working > with it. > > Thanks, > > Mats > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > From laurionb at microsoft.com Tue Apr 20 11:10:34 2010 From: laurionb at microsoft.com (Laurion Burchall) Date: Tue, 20 Apr 2010 09:10:34 +0000 Subject: [IronPython] Bad performance calling .NET method Message-ID: <9344c1bd029a4b8aa28fee0e371c6b49@DF-MBX-E1502.exchange.corp.microsoft.com> I am getting terrible performance invoking a C# method from IP. I have a static class called Api with this method: public static void MakeKey(JET_SESID sesid, JET_TABLEID tableid, string data, Encoding encoding, MakeKeyGrbit grbit) When I call it directly from C# I get about 3M calls/second. In IronPython I get only 50,000 calls/second -- a 60X slowdown! The method is overloaded. When I call these overloads I get good performance (~ 1M calls/second): public static void MakeKey(JET_SESID sesid, JET_TABLEID tableid, int data, MakeKeyGrbit grbit) public static void MakeKey(JET_SESID sesid, JET_TABLEID tableid, float data, MakeKeyGrbit grbit) public static void MakeKey(JET_SESID sesid, JET_TABLEID tableid, byte[] data, MakeKeyGrbit grbit) (for the last overload I passed in the string turned into a byte array with Encoding.GetBytes()) Things I have tried that didn't help: - Changing the name of the method so it was unique. - Calling the method using Api.MakeKey.Overloads[...] - Calling other methods I have that take string arguments. They were fast. When I profile the code the time shows up in mscorwks.dll (56%) and mscorlib.ni.dll (17%). IronPython is only 8% and my code is 6%. Can anyone help me work out what is going wrong? I have a short, turn-key repro of this. MakeKey is a very commonly used method so having it be so slow is crippling. thanks, --Laurion -------------- next part -------------- An HTML attachment was scrubbed... URL: From antonio.piteira at wtvision.com Tue Apr 20 14:14:36 2010 From: antonio.piteira at wtvision.com (Antonio Piteira) Date: Tue, 20 Apr 2010 13:14:36 +0100 Subject: [IronPython] License change? In-Reply-To: <4BCD18D7.9010207@btinternet.com> References: <1A472770E042064698CB5ADC83A12ACD39541997@TK5EX14MBXC118.redmond.corp.microsoft.com> <4BCD18D7.9010207@btinternet.com> Message-ID: I just read the document about Microsoft Public License and I think it is pretty clear...! Obviously everybody knows that there is a license, so it doesn't matter if it is Apache or Microsoft just because of the name. Just read the agreement and decide if fits your needs. I don't see any problem here. All the best, Ant?nio Piteira ____________________________________________________________ 2010/4/20 RPEHLM > Use the MS licence and help build a positive reputation for MS. I get sick > and tired of MS being constantly (and unfairly) denigrated, especially when > the other lot (not referring to the Linux crowd here) are not playing > particularly 'nice' at the moment. I don't care that MS played 'nasty' some > time in the past, most big firms do from time to time. BUT the past is the > past. > > Robin > Expat Brit happily living in Germany (paternal grandfather was killed in > WW2 by a U-boat near Galvaston [city refused to switch off lights at > night]). > > Vernon Cole wrote: > >> Yes, a change to a license which did not contain the name "Microsoft" >> would be a benefit. People have long memories, and Microsoft has a >> remembered history of not playing well with others. (My own memory goes back >> 20 years to the WordPerfect war.) I tend to not trust the news from MSNBC >> simply because of the first two letters in the name. Unfortunately, >> prejudice runs deep in humans. >> Even more unfortunately, Microsoft's policy of refusing to allow patches >> to IronPython from outside the company reinforces the worry that, even >> though the playground bully may be acting nice right now, he's still a bully >> deep down inside. It really interferes with the desired image of MS as a >> team player. IMHO some corporate Vice President should visit the legal >> department and slap faces until that policy gets changed. But what do I >> know? -- I'm just a customer. >> For all you in the development team, keep up the good work! >> -- >> Vernon Cole >> >> On Mon, Apr 19, 2010 at 4:10 PM, Dan Wierenga > dwierenga at gmail.com>> wrote: >> >> On Mon, Apr 19, 2010 at 2:55 PM, Dino Viehland >> > wrote: >> > >> > Do you think adopting a more popular license, such as the >> Apache License, would be a good change for IronPython? >> >> My $.02: there aren't a lot of people that are familiar with the MS >> public licenses compared to the Apache/GPL/BSD/etc licenses. For many >> of them, the mention of "Microsoft" in the license name immediately >> (erroneously, but immediately nonetheless) makes them conclude a >> project isn't open source. >> >> >> Adopting a license that people are familiar with will make it easier >> for them to come to terms with the fact that Microsoft can and does >> sponsor open-source projects. And it convinces them from the outset >> that there isn't some hidden backdoor in the license for Microsoft to >> exploit. >> _______________________________________________ >> Users mailing list >> Users at lists.ironpython.com >> >> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com >> >> >> >> >> * >> >> E-mail message checked by Spyware Doctor (7.0.0.514) >> Database version: 6.14750 >> http://www.pctools.com/spyware-doctor-antivirus/ < >> http://www.pctools.com/en/spyware-doctor-antivirus/> >> * >> ------------------------------------------------------------------------ >> >> >> _______________________________________________ >> Users mailing list >> Users at lists.ironpython.com >> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com >> >> >> >> >> E-mail message checked by Spyware Doctor (7.0.0.514) >> Database version: 6.14750 >> http://www.pctools.com/en/spyware-doctor-antivirus/ >> >> > > > > > E-mail message checked by Spyware Doctor (7.0.0.514) > Database version: 6.14750 > http://www.pctools.com/en/spyware-doctor-antivirus/ > > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mats at ronin-group.org Tue Apr 20 16:28:37 2010 From: mats at ronin-group.org (Mats) Date: Tue, 20 Apr 2010 07:28:37 -0700 Subject: [IronPython] Office add-in with IronPython? In-Reply-To: <3EFBB102-9AF6-4F50-B00C-D968845D37D4@microsoft.com> References: <3EFBB102-9AF6-4F50-B00C-D968845D37D4@microsoft.com> Message-ID: I'd like to be able, among other things, to attach a custom form to a client record in Outlook that pulls data from a database and I like to do it in my favorite language - Python. I know you can do this with win32 as Spambayes proves, is it also possible for IronPython without having to code in C#? I also want to be able to target Excel in a similar way. Thanks for all your answers, Mats On Tue, Apr 20, 2010 at 1:29 AM, Jimmy Schementi wrote: > Mats, > > The way to write a Office add-in is to create one in a static .NET language, like C#, and then use the DLR hosting APIs to run Python code, which would also involve exposing whatever Office APIs to script code. I believe VS Pro and above support creating new Office add-in projects, so getting started there should be easy if you have the proper tools. Then getting that add-in to host Python code is just a matter of getting familiar with the DLR hosting API, which you can do by reading the spec (http://dlr.codeplex.com/Project/Download/FileDownload.aspx?DownloadId=97301) and looking at the "BadPaint" sample (http://ironpython.codeplex.com/releases/view/36280#DownloadId=116523) which shows how to embed IronPython in a C# app. > > Good luck! > > ~Jimmy > > On Apr 20, 2010, at 12:22 AM, "Saveen Reddy" wrote: > >> I once wrote an Office Add-In for Visio 2007 that hosted IronPython. Can you provide some context around the kind of add-in are you thinking about creating and how do see it making use of IronPython? >> >> Thanks, >> -Saveen >> ________________________________________ >> From: users-bounces at lists.ironpython.com [users-bounces at lists.ironpython.com] on behalf of Mats [mats at ronin-group.org] >> Sent: Monday, April 19, 2010 4:28 PM >> To: users at lists.ironpython.com >> Subject: [IronPython] Office add-in with IronPython? >> >> I've search all over for an example and/or tutorial for writing Office add-ins >> with IronPython to no success. Does anyone know if such a thing exist? ?Or has >> anyone made an add-in that would be willing to help me get to a minimal add-in? >> I have very little knowledge of .Net and IronPython but have worked with CPython >> for years. ?I just installed IronPython a week or so ago and am >> enjoying working >> with it. >> >> Thanks, >> >> Mats >> _______________________________________________ >> Users mailing list >> Users at lists.ironpython.com >> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com >> _______________________________________________ >> Users mailing list >> Users at lists.ironpython.com >> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com >> > > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > From magnus at magnusottosson.se Tue Apr 20 18:43:59 2010 From: magnus at magnusottosson.se (Magnus Ottosson) Date: Tue, 20 Apr 2010 18:43:59 +0200 Subject: [IronPython] IronPython Tools for Visual Studio 2010 Message-ID: Hi, Where can I get the IronPython Tools for Visual Studio 2010? Magnus From billchi at microsoft.com Tue Apr 20 18:58:24 2010 From: billchi at microsoft.com (Bill Chiles) Date: Tue, 20 Apr 2010 16:58:24 +0000 Subject: [IronPython] IronPython Tools for Visual Studio 2010 In-Reply-To: References: Message-ID: We're working on widely releasing updated bits very soon, and we'll post here when that goes out. We're still working on some issues preventing us from just putting the code into the IPy sources, so there will be at least one more bits-only update. The previous version was released only at pycon for early feedback. Thanks, Bill -----Original Message----- From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Magnus Ottosson Sent: Tuesday, April 20, 2010 9:44 AM To: users at lists.ironpython.com Subject: [IronPython] IronPython Tools for Visual Studio 2010 Hi, Where can I get the IronPython Tools for Visual Studio 2010? Magnus _______________________________________________ Users mailing list Users at lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com From dinov at microsoft.com Tue Apr 20 20:34:00 2010 From: dinov at microsoft.com (Dino Viehland) Date: Tue, 20 Apr 2010 18:34:00 +0000 Subject: [IronPython] Bad performance calling .NET method In-Reply-To: <9344c1bd029a4b8aa28fee0e371c6b49@DF-MBX-E1502.exchange.corp.microsoft.com> References: <9344c1bd029a4b8aa28fee0e371c6b49@DF-MBX-E1502.exchange.corp.microsoft.com> Message-ID: <1A472770E042064698CB5ADC83A12ACD395465C1@TK5EX14MBXC118.redmond.corp.microsoft.com> I assume something is going horribly wrong with our type checks. Can you attach the repro? Or at least are these just classes, or are any structs, or maybe weird classes like delegates? And is this on .NET 2.0 or .NET 4.0? From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Laurion Burchall Sent: Tuesday, April 20, 2010 2:11 AM To: Discussion of IronPython Subject: [IronPython] Bad performance calling .NET method I am getting terrible performance invoking a C# method from IP. I have a static class called Api with this method: public static void MakeKey(JET_SESID sesid, JET_TABLEID tableid, string data, Encoding encoding, MakeKeyGrbit grbit) When I call it directly from C# I get about 3M calls/second. In IronPython I get only 50,000 calls/second -- a 60X slowdown! The method is overloaded. When I call these overloads I get good performance (~ 1M calls/second): public static void MakeKey(JET_SESID sesid, JET_TABLEID tableid, int data, MakeKeyGrbit grbit) public static void MakeKey(JET_SESID sesid, JET_TABLEID tableid, float data, MakeKeyGrbit grbit) public static void MakeKey(JET_SESID sesid, JET_TABLEID tableid, byte[] data, MakeKeyGrbit grbit) (for the last overload I passed in the string turned into a byte array with Encoding.GetBytes()) Things I have tried that didn't help: - Changing the name of the method so it was unique. - Calling the method using Api.MakeKey.Overloads[...] - Calling other methods I have that take string arguments. They were fast. When I profile the code the time shows up in mscorwks.dll (56%) and mscorlib.ni.dll (17%). IronPython is only 8% and my code is 6%. Can anyone help me work out what is going wrong? I have a short, turn-key repro of this. MakeKey is a very commonly used method so having it be so slow is crippling. thanks, --Laurion -------------- next part -------------- An HTML attachment was scrubbed... URL: From laurionb at microsoft.com Tue Apr 20 20:56:41 2010 From: laurionb at microsoft.com (Laurion Burchall) Date: Tue, 20 Apr 2010 18:56:41 +0000 Subject: [IronPython] Bad performance calling .NET method In-Reply-To: <1A472770E042064698CB5ADC83A12ACD395465C1@TK5EX14MBXC118.redmond.corp.microsoft.com> References: <9344c1bd029a4b8aa28fee0e371c6b49@DF-MBX-E1502.exchange.corp.microsoft.com>, <1A472770E042064698CB5ADC83A12ACD395465C1@TK5EX14MBXC118.redmond.corp.microsoft.com> Message-ID: <9a3a7ddcc0ff4304817128095c9b391b@DF-MBX-E1502.exchange.corp.microsoft.com> You were right about the structs. By creating a method with the same type of signature (struct, struct, string, Encoding, enumeration). I got the same slowdown in a trivial DLL. This is with the .NET 2.0 version of IP: ** First, the C# code: namespace IronPythonInteropPerf { using System.Text; public struct Struct1 { internal int i; } public struct Struct2 { internal int i; } public enum Enumeration { Foo, } public static class Interop { public static void A(Struct1 a, Struct2 b, string x, Encoding encoding, Enumeration e) { } } } ** Now the IronPython test: import System import System.Diagnostics import System.Text from System.Diagnostics import Stopwatch from System.Text import Encoding import clr clr.AddReferenceByPartialName('IronPythonInteropPerf') from IronPythonInteropPerf import * N = 1000000 a = Struct1() b = Struct2() c = 'hello' d = Enumeration.Foo stopwatch = Stopwatch.StartNew() for i in xrange(N): Interop.A(a, b, c, Encoding.Unicode, d) stopwatch.Stop() print ' A: %s' % stopwatch.Elapsed def foo(a1, a2, a3, a4, a5): stopwatch = Stopwatch.StartNew() for j in xrange(N): Interop.A(a1, a2, a3, a4, a5) stopwatch.Stop() print 'foo.A: %s' % stopwatch.Elapsed foo(a, b, c, Encoding.Unicode, d) ** Note that I am calling Interop.A twice. This gives very different results -- the call from inside of function foo() is fast (11M calls/second) but the call from the script is slow (50K calls/second): A: 00:00:18.6063353 foo.A: 00:00:00.0894888 There isn't a caching effect at work either -- foo() is faster if I call it before the other code. ________________________________ From: users-bounces at lists.ironpython.com [users-bounces at lists.ironpython.com] on behalf of Dino Viehland [dinov at microsoft.com] Sent: Tuesday, April 20, 2010 11:34 AM To: Discussion of IronPython Subject: Re: [IronPython]Bad performance calling .NET method I assume something is going horribly wrong with our type checks. Can you attach the repro? Or at least are these just classes, or are any structs, or maybe weird classes like delegates? And is this on .NET 2.0 or .NET 4.0? From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Laurion Burchall Sent: Tuesday, April 20, 2010 2:11 AM To: Discussion of IronPython Subject: [IronPython] Bad performance calling .NET method I am getting terrible performance invoking a C# method from IP. I have a static class called Api with this method: public static void MakeKey(JET_SESID sesid, JET_TABLEID tableid, string data, Encoding encoding, MakeKeyGrbit grbit) When I call it directly from C# I get about 3M calls/second. In IronPython I get only 50,000 calls/second -- a 60X slowdown! The method is overloaded. When I call these overloads I get good performance (~ 1M calls/second): public static void MakeKey(JET_SESID sesid, JET_TABLEID tableid, int data, MakeKeyGrbit grbit) public static void MakeKey(JET_SESID sesid, JET_TABLEID tableid, float data, MakeKeyGrbit grbit) public static void MakeKey(JET_SESID sesid, JET_TABLEID tableid, byte[] data, MakeKeyGrbit grbit) (for the last overload I passed in the string turned into a byte array with Encoding.GetBytes()) Things I have tried that didn't help: - Changing the name of the method so it was unique. - Calling the method using Api.MakeKey.Overloads[...] - Calling other methods I have that take string arguments. They were fast. When I profile the code the time shows up in mscorwks.dll (56%) and mscorlib.ni.dll (17%). IronPython is only 8% and my code is 6%. Can anyone help me work out what is going wrong? I have a short, turn-key repro of this. MakeKey is a very commonly used method so having it be so slow is crippling. thanks, --Laurion -------------- next part -------------- An HTML attachment was scrubbed... URL: From dinov at microsoft.com Tue Apr 20 21:51:17 2010 From: dinov at microsoft.com (Dino Viehland) Date: Tue, 20 Apr 2010 19:51:17 +0000 Subject: [IronPython] Bad performance calling .NET method In-Reply-To: <9a3a7ddcc0ff4304817128095c9b391b@DF-MBX-E1502.exchange.corp.microsoft.com> References: <9344c1bd029a4b8aa28fee0e371c6b49@DF-MBX-E1502.exchange.corp.microsoft.com>, <1A472770E042064698CB5ADC83A12ACD395465C1@TK5EX14MBXC118.redmond.corp.microsoft.com> <9a3a7ddcc0ff4304817128095c9b391b@DF-MBX-E1502.exchange.corp.microsoft.com> Message-ID: <1A472770E042064698CB5ADC83A12ACD39546D67@TK5EX14MBXC118.redmond.corp.microsoft.com> Is the perf problem only there when the code is global? In general we don't try to optimize code which occurs at the top-level of a script - we assume the most significant work will occur inside of function definitions. In this case the update to "i" through each loop iteration needs to update a global value in a dictionary rather than updating a local on the stack each time which is going to be much more expensive. Also the reads from the globals instead of parameters will be much more expensive as well. And while I doubt this is much of the perf problem you're also accessing the Unicode property on encoding each time through in the global case. There's also the chance depending on what version of IronPython you're running on that we're staying in the interpreter. I think on 2.6.1 we should compile the global loop eventually but it'll still be slower than the compiled function. Is there a reason the top-level code needs to be efficient? From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Laurion Burchall Sent: Tuesday, April 20, 2010 11:57 AM To: Discussion of IronPython Subject: Re: [IronPython] Bad performance calling .NET method You were right about the structs. By creating a method with the same type of signature (struct, struct, string, Encoding, enumeration). I got the same slowdown in a trivial DLL. This is with the .NET 2.0 version of IP: ** First, the C# code: namespace IronPythonInteropPerf { using System.Text; public struct Struct1 { internal int i; } public struct Struct2 { internal int i; } public enum Enumeration { Foo, } public static class Interop { public static void A(Struct1 a, Struct2 b, string x, Encoding encoding, Enumeration e) { } } } ** Now the IronPython test: import System import System.Diagnostics import System.Text from System.Diagnostics import Stopwatch from System.Text import Encoding import clr clr.AddReferenceByPartialName('IronPythonInteropPerf') from IronPythonInteropPerf import * N = 1000000 a = Struct1() b = Struct2() c = 'hello' d = Enumeration.Foo stopwatch = Stopwatch.StartNew() for i in xrange(N): Interop.A(a, b, c, Encoding.Unicode, d) stopwatch.Stop() print ' A: %s' % stopwatch.Elapsed def foo(a1, a2, a3, a4, a5): stopwatch = Stopwatch.StartNew() for j in xrange(N): Interop.A(a1, a2, a3, a4, a5) stopwatch.Stop() print 'foo.A: %s' % stopwatch.Elapsed foo(a, b, c, Encoding.Unicode, d) ** Note that I am calling Interop.A twice. This gives very different results -- the call from inside of function foo() is fast (11M calls/second) but the call from the script is slow (50K calls/second): A: 00:00:18.6063353 foo.A: 00:00:00.0894888 There isn't a caching effect at work either -- foo() is faster if I call it before the other code. ________________________________ From: users-bounces at lists.ironpython.com [users-bounces at lists.ironpython.com] on behalf of Dino Viehland [dinov at microsoft.com] Sent: Tuesday, April 20, 2010 11:34 AM To: Discussion of IronPython Subject: Re: [IronPython]Bad performance calling .NET method I assume something is going horribly wrong with our type checks. Can you attach the repro? Or at least are these just classes, or are any structs, or maybe weird classes like delegates? And is this on .NET 2.0 or .NET 4.0? From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Laurion Burchall Sent: Tuesday, April 20, 2010 2:11 AM To: Discussion of IronPython Subject: [IronPython] Bad performance calling .NET method I am getting terrible performance invoking a C# method from IP. I have a static class called Api with this method: public static void MakeKey(JET_SESID sesid, JET_TABLEID tableid, string data, Encoding encoding, MakeKeyGrbit grbit) When I call it directly from C# I get about 3M calls/second. In IronPython I get only 50,000 calls/second -- a 60X slowdown! The method is overloaded. When I call these overloads I get good performance (~ 1M calls/second): public static void MakeKey(JET_SESID sesid, JET_TABLEID tableid, int data, MakeKeyGrbit grbit) public static void MakeKey(JET_SESID sesid, JET_TABLEID tableid, float data, MakeKeyGrbit grbit) public static void MakeKey(JET_SESID sesid, JET_TABLEID tableid, byte[] data, MakeKeyGrbit grbit) (for the last overload I passed in the string turned into a byte array with Encoding.GetBytes()) Things I have tried that didn't help: - Changing the name of the method so it was unique. - Calling the method using Api.MakeKey.Overloads[...] - Calling other methods I have that take string arguments. They were fast. When I profile the code the time shows up in mscorwks.dll (56%) and mscorlib.ni.dll (17%). IronPython is only 8% and my code is 6%. Can anyone help me work out what is going wrong? I have a short, turn-key repro of this. MakeKey is a very commonly used method so having it be so slow is crippling. thanks, --Laurion -------------- next part -------------- An HTML attachment was scrubbed... URL: From tcronin at asrclkrec.com Tue Apr 20 22:04:10 2010 From: tcronin at asrclkrec.com (Cronin, Ted) Date: Tue, 20 Apr 2010 13:04:10 -0700 Subject: [IronPython] IronPython Tools for Visual Studio 2010 In-Reply-To: References: Message-ID: Looking forward to this release. Will the pycon version install with VS 2010 final? I suppose I can try. Ted Cronin ACR ValueGIS (951) 955 - 0487 -----Original Message----- From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Bill Chiles Sent: Tuesday, April 20, 2010 9:58 AM To: Discussion of IronPython Subject: Re: [IronPython] IronPython Tools for Visual Studio 2010 We're working on widely releasing updated bits very soon, and we'll post here when that goes out. We're still working on some issues preventing us from just putting the code into the IPy sources, so there will be at least one more bits-only update. The previous version was released only at pycon for early feedback. Thanks, Bill -----Original Message----- From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Magnus Ottosson Sent: Tuesday, April 20, 2010 9:44 AM To: users at lists.ironpython.com Subject: [IronPython] IronPython Tools for Visual Studio 2010 Hi, Where can I get the IronPython Tools for Visual Studio 2010? Magnus _______________________________________________ Users mailing list Users at lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com _______________________________________________ Users mailing list Users at lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com From dinov at microsoft.com Tue Apr 20 22:12:05 2010 From: dinov at microsoft.com (Dino Viehland) Date: Tue, 20 Apr 2010 20:12:05 +0000 Subject: [IronPython] IronPython Tools for Visual Studio 2010 In-Reply-To: References: Message-ID: <1A472770E042064698CB5ADC83A12ACD39546E96@TK5EX14MBXC118.redmond.corp.microsoft.com> Ted wrote: > Looking forward to this release. > > Will the pycon version install with VS 2010 final? I suppose I can > try. I haven't tried myself but I've heard that it doesn't work. From laurionb at microsoft.com Tue Apr 20 22:45:49 2010 From: laurionb at microsoft.com (Laurion Burchall) Date: Tue, 20 Apr 2010 20:45:49 +0000 Subject: [IronPython] Bad performance calling .NET method In-Reply-To: <1A472770E042064698CB5ADC83A12ACD39546D67@TK5EX14MBXC118.redmond.corp.microsoft.com> References: <9344c1bd029a4b8aa28fee0e371c6b49@DF-MBX-E1502.exchange.corp.microsoft.com>, <1A472770E042064698CB5ADC83A12ACD395465C1@TK5EX14MBXC118.redmond.corp.microsoft.com> <9a3a7ddcc0ff4304817128095c9b391b@DF-MBX-E1502.exchange.corp.microsoft.com>, <1A472770E042064698CB5ADC83A12ACD39546D67@TK5EX14MBXC118.redmond.corp.microsoft.com> Message-ID: <9182b292e0d04c3db7f2501f9234ea4b@DF-MBX-E1502.exchange.corp.microsoft.com> In the case that affects me the code isn't global. The class looks like this: class EseDBCursor(object): ... def __getitem__(self, key): with _EseTransaction(self._sesid): self._seekForKey(key) return self._retrieveCurrentRecordValue() def _makeKey(self, key): """Construct a key for the given value.""" Api.MakeKey(self._sesid, self._tableid, str(key), Encoding.Unicode, MakeKeyGrbit.NewKey) def _seekForKey(self, key): """Seek for the specified key. A KeyError exception is raised if the key isn't found.""" self._makeKey(key) if not Api.TrySeek(self._sesid, self._tableid, SeekGrbit.SeekEQ): raise KeyError('key \'%s\' was not found' % key) I tried moving the call to Api.MakeKey into _seekForKey but that didn't improve things. It is definitely the call to Api.MakeKey that is slowing things down -- removing that one call speeds things up. The code that tests the performance looks like this: def insertRetrieveTest(): ... timer = Stopwatch.StartNew() for i in xrange(n): data = db[k] timer.Stop() ... # Basic test first insertRetrieveTest() ________________________________ From: users-bounces at lists.ironpython.com [users-bounces at lists.ironpython.com] on behalf of Dino Viehland [dinov at microsoft.com] Sent: Tuesday, April 20, 2010 12:51 PM To: Discussion of IronPython Subject: Re: [IronPython]Bad performance calling .NET method Is the perf problem only there when the code is global? In general we don?t try to optimize code which occurs at the top-level of a script ? we assume the most significant work will occur inside of function definitions. In this case the update to ?i? through each loop iteration needs to update a global value in a dictionary rather than updating a local on the stack each time which is going to be much more expensive. Also the reads from the globals instead of parameters will be much more expensive as well. And while I doubt this is much of the perf problem you?re also accessing the Unicode property on encoding each time through in the global case. There?s also the chance depending on what version of IronPython you?re running on that we?re staying in the interpreter. I think on 2.6.1 we should compile the global loop eventually but it?ll still be slower than the compiled function. Is there a reason the top-level code needs to be efficient? From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Laurion Burchall Sent: Tuesday, April 20, 2010 11:57 AM To: Discussion of IronPython Subject: Re: [IronPython] Bad performance calling .NET method You were right about the structs. By creating a method with the same type of signature (struct, struct, string, Encoding, enumeration). I got the same slowdown in a trivial DLL. This is with the .NET 2.0 version of IP: ** First, the C# code: namespace IronPythonInteropPerf { using System.Text; public struct Struct1 { internal int i; } public struct Struct2 { internal int i; } public enum Enumeration { Foo, } public static class Interop { public static void A(Struct1 a, Struct2 b, string x, Encoding encoding, Enumeration e) { } } } ** Now the IronPython test: import System import System.Diagnostics import System.Text from System.Diagnostics import Stopwatch from System.Text import Encoding import clr clr.AddReferenceByPartialName('IronPythonInteropPerf') from IronPythonInteropPerf import * N = 1000000 a = Struct1() b = Struct2() c = 'hello' d = Enumeration.Foo stopwatch = Stopwatch.StartNew() for i in xrange(N): Interop.A(a, b, c, Encoding.Unicode, d) stopwatch.Stop() print ' A: %s' % stopwatch.Elapsed def foo(a1, a2, a3, a4, a5): stopwatch = Stopwatch.StartNew() for j in xrange(N): Interop.A(a1, a2, a3, a4, a5) stopwatch.Stop() print 'foo.A: %s' % stopwatch.Elapsed foo(a, b, c, Encoding.Unicode, d) ** Note that I am calling Interop.A twice. This gives very different results -- the call from inside of function foo() is fast (11M calls/second) but the call from the script is slow (50K calls/second): A: 00:00:18.6063353 foo.A: 00:00:00.0894888 There isn't a caching effect at work either -- foo() is faster if I call it before the other code. ________________________________ From: users-bounces at lists.ironpython.com [users-bounces at lists.ironpython.com] on behalf of Dino Viehland [dinov at microsoft.com] Sent: Tuesday, April 20, 2010 11:34 AM To: Discussion of IronPython Subject: Re: [IronPython]Bad performance calling .NET method I assume something is going horribly wrong with our type checks. Can you attach the repro? Or at least are these just classes, or are any structs, or maybe weird classes like delegates? And is this on .NET 2.0 or .NET 4.0? From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Laurion Burchall Sent: Tuesday, April 20, 2010 2:11 AM To: Discussion of IronPython Subject: [IronPython] Bad performance calling .NET method I am getting terrible performance invoking a C# method from IP. I have a static class called Api with this method: public static void MakeKey(JET_SESID sesid, JET_TABLEID tableid, string data, Encoding encoding, MakeKeyGrbit grbit) When I call it directly from C# I get about 3M calls/second. In IronPython I get only 50,000 calls/second -- a 60X slowdown! The method is overloaded. When I call these overloads I get good performance (~ 1M calls/second): public static void MakeKey(JET_SESID sesid, JET_TABLEID tableid, int data, MakeKeyGrbit grbit) public static void MakeKey(JET_SESID sesid, JET_TABLEID tableid, float data, MakeKeyGrbit grbit) public static void MakeKey(JET_SESID sesid, JET_TABLEID tableid, byte[] data, MakeKeyGrbit grbit) (for the last overload I passed in the string turned into a byte array with Encoding.GetBytes()) Things I have tried that didn't help: - Changing the name of the method so it was unique. - Calling the method using Api.MakeKey.Overloads[...] - Calling other methods I have that take string arguments. They were fast. When I profile the code the time shows up in mscorwks.dll (56%) and mscorlib.ni.dll (17%). IronPython is only 8% and my code is 6%. Can anyone help me work out what is going wrong? I have a short, turn-key repro of this. MakeKey is a very commonly used method so having it be so slow is crippling. thanks, --Laurion -------------- next part -------------- An HTML attachment was scrubbed... URL: From codekaizen at gmail.com Wed Apr 21 03:21:33 2010 From: codekaizen at gmail.com (Rory Plaire) Date: Tue, 20 Apr 2010 18:21:33 -0700 Subject: [IronPython] License change? In-Reply-To: References: <1A472770E042064698CB5ADC83A12ACD39541997@TK5EX14MBXC118.redmond.corp.microsoft.com> <4BCD18D7.9010207@btinternet.com> Message-ID: What about using a dual-license (MS-PL _and_ Apache 2.0)? This approach has become fairly popular, and will likely satisfy each consideration. -rory On Tue, Apr 20, 2010 at 5:14 AM, Antonio Piteira < antonio.piteira at wtvision.com> wrote: > I just read the document about Microsoft Public License and I think it > is pretty clear...! > > Obviously everybody knows that there is a license, so it doesn't matter if > it is Apache or Microsoft just because of the name. Just read the agreement > and decide if fits your needs. > > I don't see any problem here. > > All the best, > Ant?nio Piteira > ____________________________________________________________ > 2010/4/20 RPEHLM > >> Use the MS licence and help build a positive reputation for MS. I get >> sick and tired of MS being constantly (and unfairly) denigrated, especially >> when the other lot (not referring to the Linux crowd here) are not playing >> particularly 'nice' at the moment. I don't care that MS played 'nasty' some >> time in the past, most big firms do from time to time. BUT the past is the >> past. >> >> Robin >> Expat Brit happily living in Germany (paternal grandfather was killed in >> WW2 by a U-boat near Galvaston [city refused to switch off lights at >> night]). >> >> Vernon Cole wrote: >> >>> Yes, a change to a license which did not contain the name "Microsoft" >>> would be a benefit. People have long memories, and Microsoft has a >>> remembered history of not playing well with others. (My own memory goes back >>> 20 years to the WordPerfect war.) I tend to not trust the news from MSNBC >>> simply because of the first two letters in the name. Unfortunately, >>> prejudice runs deep in humans. >>> Even more unfortunately, Microsoft's policy of refusing to allow >>> patches to IronPython from outside the company reinforces the worry that, >>> even though the playground bully may be acting nice right now, he's still a >>> bully deep down inside. It really interferes with the desired image of MS >>> as a team player. IMHO some corporate Vice President should visit the legal >>> department and slap faces until that policy gets changed. But what do I >>> know? -- I'm just a customer. >>> For all you in the development team, keep up the good work! >>> -- >>> Vernon Cole >>> >>> On Mon, Apr 19, 2010 at 4:10 PM, Dan Wierenga >> dwierenga at gmail.com>> wrote: >>> >>> On Mon, Apr 19, 2010 at 2:55 PM, Dino Viehland >>> > wrote: >>> > >>> > Do you think adopting a more popular license, such as the >>> Apache License, would be a good change for IronPython? >>> >>> My $.02: there aren't a lot of people that are familiar with the MS >>> public licenses compared to the Apache/GPL/BSD/etc licenses. For many >>> of them, the mention of "Microsoft" in the license name immediately >>> (erroneously, but immediately nonetheless) makes them conclude a >>> project isn't open source. >>> >>> >>> Adopting a license that people are familiar with will make it easier >>> for them to come to terms with the fact that Microsoft can and does >>> sponsor open-source projects. And it convinces them from the outset >>> that there isn't some hidden backdoor in the license for Microsoft to >>> exploit. >>> _______________________________________________ >>> Users mailing list >>> Users at lists.ironpython.com >>> >>> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com >>> >>> >>> >>> >>> * >>> >>> E-mail message checked by Spyware Doctor (7.0.0.514) >>> Database version: 6.14750 >>> http://www.pctools.com/spyware-doctor-antivirus/ < >>> http://www.pctools.com/en/spyware-doctor-antivirus/> >>> * >>> ------------------------------------------------------------------------ >>> >>> >>> _______________________________________________ >>> Users mailing list >>> Users at lists.ironpython.com >>> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com >>> >>> >>> >>> >>> E-mail message checked by Spyware Doctor (7.0.0.514) >>> Database version: 6.14750 >>> http://www.pctools.com/en/spyware-doctor-antivirus/ >>> >>> >> >> >> >> >> E-mail message checked by Spyware Doctor (7.0.0.514) >> Database version: 6.14750 >> http://www.pctools.com/en/spyware-doctor-antivirus/ >> >> _______________________________________________ >> Users mailing list >> Users at lists.ironpython.com >> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com >> > > > > > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sanxiyn at gmail.com Wed Apr 21 03:44:59 2010 From: sanxiyn at gmail.com (Seo Sanghyeon) Date: Wed, 21 Apr 2010 10:44:59 +0900 Subject: [IronPython] License change? In-Reply-To: <1A472770E042064698CB5ADC83A12ACD39541997@TK5EX14MBXC118.redmond.corp.microsoft.com> References: <1A472770E042064698CB5ADC83A12ACD39541997@TK5EX14MBXC118.redmond.corp.microsoft.com> Message-ID: 2010/4/20 Dino Viehland : > We?d like to hear your feedback before we make any decisions.? Do you think > adopting a more popular license, such as the Apache License, would be a good > change for IronPython? IANAL, but since MS-PL and Apache License are pretty similar, my main interest is GPL compatibility. Apache License 2.0 was designed to be compatible with GPL 3 (but not 2), which is a very good thing. I am unclear about compatibility of MS-PL and GPL versions. -- Seo Sanghyeon From raymond.hettinger at gmail.com Thu Apr 22 09:30:52 2010 From: raymond.hettinger at gmail.com (Raymond Hettinger) Date: Thu, 22 Apr 2010 00:30:52 -0700 Subject: [IronPython] License change? In-Reply-To: References: <1A472770E042064698CB5ADC83A12ACD39541997@TK5EX14MBXC118.redmond.corp.microsoft.com> <4BCD18D7.9010207@btinternet.com> Message-ID: On Apr 20, 2010, at 6:21 PM, Rory Plaire wrote: > > My $.02: there aren't a lot of people that are familiar with the MS > public licenses compared to the Apache/GPL/BSD/etc licenses. For many > of them, the mention of "Microsoft" in the license name immediately > (erroneously, but immediately nonetheless) makes them conclude a > project isn't open source. > > > Adopting a license that people are familiar with will make it easier > for them to come to terms with the fact that Microsoft can and does > sponsor open-source projects. And it convinces them from the outset > that there isn't some hidden backdoor in the license for Microsoft to > exploit. > This makes good sense to me. +1 for MIT license or somesuch. Raymond P.S. Thank you Microsoft for this excellent project. From daftspaniel at gmail.com Thu Apr 22 12:42:15 2010 From: daftspaniel at gmail.com (Davy Mitchell) Date: Thu, 22 Apr 2010 11:42:15 +0100 Subject: [IronPython] VS IronPython Message-ID: Hey Folks, Has anyone got the new link for this answer? stackoverflow.com/questions/1904681/there-is-any-python-syntax-highlighter-for-visual-studio-2010-beta-2/1906833#1906833 Thanks, Davy -- Davy Stuff - http://daftspaniel.blogspot.com Geeky Stuff - http://daftpython.blogspot.com Davy's Ironpython Editor - http://code.google.com/p/davysironpythoneditor/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From jdhardy at gmail.com Thu Apr 22 17:07:19 2010 From: jdhardy at gmail.com (Jeff Hardy) Date: Thu, 22 Apr 2010 09:07:19 -0600 Subject: [IronPython] VS IronPython In-Reply-To: References: Message-ID: Hi Davy, I never updated the extension for VS 2010 RTM because the IronPython team has their own extension 'coming soon'. It should be updated once those are released. - Jeff On Thu, Apr 22, 2010 at 4:42 AM, Davy Mitchell wrote: > Hey Folks, > Has anyone got the new link for this answer? > stackoverflow.com/questions/1904681/there-is-any-python-syntax-highlighter-for-visual-studio-2010-beta-2/1906833#1906833 > Thanks, > Davy > > -- > ?Davy Stuff ?- http://daftspaniel.blogspot.com > ?Geeky Stuff ?- http://daftpython.blogspot.com > ?Davy's Ironpython Editor - http://code.google.com/p/davysironpythoneditor/ > > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > > From cenovsky at bakalari.cz Thu Apr 22 18:28:26 2010 From: cenovsky at bakalari.cz (Lukas Cenovsky) Date: Thu, 22 Apr 2010 18:28:26 +0200 Subject: [IronPython] Bug when formating decimal type Message-ID: <4BD0792A.3050001@bakalari.cz> I haven ecountered a difference in IronPython and Python behaviors which looks like IronPython bug: IronPython 2.6.1 (2.6.10920.0) on .NET 2.0.50727.4927 Type "help", "copyright", "credits" or "license" for more information. >>> import decimal >>> d = decimal.Decimal('3.5') >>> d Decimal('3.5') >>> '{0}'.format(d) Traceback (most recent call last): File "", line 1, in File "C:\Dos\IronPython-2.6.1\Lib\decimal.py", line 3486, in __format__ File "C:\Dos\IronPython-2.6.1\Lib\decimal.py", line 5416, in _parse_format_spe cifier ValueError: Invalid format specifier: >>> '{0!s}'.format(d) '3.5' Python 2.6.4 (r264:75708, Oct 26 2009, 07:36:50) [MSC v.1500 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import decimal >>> d = decimal.Decimal('3.5') >>> d Decimal('3.5') >>> '{0}'.format(d) '3.5' >>> '{0!s}'.format(d) '3.5' >>> -- -- Luk?? From daftspaniel at gmail.com Thu Apr 22 22:05:19 2010 From: daftspaniel at gmail.com (Davy Mitchell) Date: Thu, 22 Apr 2010 21:05:19 +0100 Subject: [IronPython] VS IronPython In-Reply-To: References: Message-ID: Thanks for the update Jeff. I've updated the original answer. -------------- next part -------------- An HTML attachment was scrubbed... URL: From dinov at microsoft.com Thu Apr 22 22:11:30 2010 From: dinov at microsoft.com (Dino Viehland) Date: Thu, 22 Apr 2010 20:11:30 +0000 Subject: [IronPython] Still stuck on rich editor with IronPython and Silverlight In-Reply-To: <4BC90CFB.4020200@voidspace.org.uk> References: <4BC90CFB.4020200@voidspace.org.uk> Message-ID: <1A472770E042064698CB5ADC83A12ACD395551AE@TK5EX14MBXC118.redmond.corp.microsoft.com> Ok, I know what's going on here, but I don't know the exact solution. I'm hoping one of you two know the solution. The good news is there's no bug, the rich text box isn't supposed to work! :) What's going on is that quirks mode is disabling the creation of the rich text box. This appears to be due to a version check against the version that's coming from the XAP. So I guess fixing some Silverlight ' version specified in the XAP file will fix this - I don't know if that's a XAP being generated by Chiron or if it's something on gestalt.ironpython.net. > -----Original Message----- > From: users-bounces at lists.ironpython.com [mailto:users- > bounces at lists.ironpython.com] On Behalf Of Michael Foord > Sent: Friday, April 16, 2010 6:21 PM > To: Discussion of IronPython > Cc: Jimmy Schementi > Subject: Re: [IronPython] Still stuck on rich editor with IronPython > and Silverlight > > On 17/04/2010 03:19, Jimmy Schementi wrote: > > Michael, let's get Dino in on this ... > > > > Dino, This seems like our fault, but I'm not savvy enough to track it > down or verify my claim. Seems like it doesn't work regardless of > invoking via reflection or ref.emit code; calling it's constructor > 10,000 times still gave the same result. As Michael said, doing > anything with RichTextBox fails when invoked from IronPython, but works > fine when invoked without IronPython on the stack (pure C# app, for > example). I'm amazed that it fails when *called* from C#, meaning that > IronPython is doing something to make statically compiled code fail. > > > > Thanks for looking at this Jimmy. IronPython must be doing something > really quite impressive here. :-) > > All the best, > > Michael > > > We can look at this together on Monday unless you get to it sooner; I > thought I knew how to use windbg but failed miserably at doing anything > useful, so you'll have to help :) > > > > ~Jimmy > > > > On Apr 16, 2010, at 6:01 PM, "Michael > Foord" wrote: > > > > > >> Hello all, > >> > >> I'm still stuck on using the Silverlight 4 RichTextBox from > IronPython. Unfortunately this is blocking our project. :-( > >> > >> Instantiating the RichTextBox directly or loading it from xaml > fails. > >> > >> A wrapper class in C# that instantiates the RichTextBox and returns > it to IronPython fails. > >> > >> A wrapper C# class that internally creates the RichTextBox but never > returns it to IronPython *still* fails. Anyone got any suggestions for > possible alternative approaches? > >> > >> My latest (failing) attempt. C#: > >> > >> public static class Foo > >> { > >> static RichTextEditor _editor = null; > >> > >> public static void Create(StackPanel panel) > >> { > >> _editor = new RichTextEditor(); > >> panel.Children.Add(_editor); > >> } > >> } > >> > >> IronPython: > >> > >> clr.AddReference('SilverlightTextEditor, Version=1.0.0.0, > Culture=neutral') > >> > >> canv = Canvas() > >> xaml = Application.Current.LoadRootVisual(canv, "app.xaml") > >> > >> from SilverlightTextEditor import Foo > >> panel = StackPanel() > >> xaml.Children.Add(panel) > >> > >> Foo.Create(panel) > >> > >> (Note that RichTextEditor is a standalone UserControl editor > component built on top of the RichTextBox. It works fine from C#.) > >> > >> All the best, > >> > >> Michael Foord > >> > >> -- > >> http://www.ironpythoninaction.com/ > >> > >> _______________________________________________ > >> Users mailing list > >> Users at lists.ironpython.com > >> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > >> > >> > > _______________________________________________ > > Users mailing list > > Users at lists.ironpython.com > > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > > > > > -- > http://www.ironpythoninaction.com/ > > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com From Jimmy.Schementi at microsoft.com Thu Apr 22 23:13:54 2010 From: Jimmy.Schementi at microsoft.com (Jimmy Schementi) Date: Thu, 22 Apr 2010 21:13:54 +0000 Subject: [IronPython] Still stuck on rich editor with IronPython and Silverlight Message-ID: AH! Thanks Dino! In the XAP file there is an AppManifest.xaml, which specifies a version number. Ours (both what Chiron generates and what's on gestalt.ironpython.net) is still set to a version of SL2, for Moonlight compat, which turns on quirks mode when running in SL3+. Changing Chiron.exe.config's AppManifest template (or your own copy of AppManifest.xaml) to have SL4's version number will run without quirks mode enabled, hopefully letting you use the richtextbox. For gestalt.ironpython.net, we will have multiple XAPs depending on what SL version you want to use, and the SL3 and 4 XAPs will have updates version numbers. Michael, let me know how this works out for you. ~Jimmy On Apr 22, 2010, at 1:11 PM, "Dino Viehland" wrote: > Ok, I know what's going on here, but I don't know the exact solution. I'm > hoping one of you two know the solution. The good news is there's no bug, > the rich text box isn't supposed to work! :) > > What's going on is that quirks mode is disabling the creation of the > rich text box. This appears to be due to a version check against the > version that's coming from the XAP. So I guess fixing some Silverlight ' > version specified in the XAP file will fix this - I don't know if that's > a XAP being generated by Chiron or if it's something on gestalt.ironpython.net. > >> -----Original Message----- >> From: users-bounces at lists.ironpython.com [mailto:users- >> bounces at lists.ironpython.com] On Behalf Of Michael Foord >> Sent: Friday, April 16, 2010 6:21 PM >> To: Discussion of IronPython >> Cc: Jimmy Schementi >> Subject: Re: [IronPython] Still stuck on rich editor with IronPython >> and Silverlight >> >> On 17/04/2010 03:19, Jimmy Schementi wrote: >>> Michael, let's get Dino in on this ... >>> >>> Dino, This seems like our fault, but I'm not savvy enough to track it >> down or verify my claim. Seems like it doesn't work regardless of >> invoking via reflection or ref.emit code; calling it's constructor >> 10,000 times still gave the same result. As Michael said, doing >> anything with RichTextBox fails when invoked from IronPython, but works >> fine when invoked without IronPython on the stack (pure C# app, for >> example). I'm amazed that it fails when *called* from C#, meaning that >> IronPython is doing something to make statically compiled code fail. >>> >> >> Thanks for looking at this Jimmy. IronPython must be doing something >> really quite impressive here. :-) >> >> All the best, >> >> Michael >> >>> We can look at this together on Monday unless you get to it sooner; I >> thought I knew how to use windbg but failed miserably at doing anything >> useful, so you'll have to help :) >>> >>> ~Jimmy >>> >>> On Apr 16, 2010, at 6:01 PM, "Michael >> Foord" wrote: >>> >>> >>>> Hello all, >>>> >>>> I'm still stuck on using the Silverlight 4 RichTextBox from >> IronPython. Unfortunately this is blocking our project. :-( >>>> >>>> Instantiating the RichTextBox directly or loading it from xaml >> fails. >>>> >>>> A wrapper class in C# that instantiates the RichTextBox and returns >> it to IronPython fails. >>>> >>>> A wrapper C# class that internally creates the RichTextBox but never >> returns it to IronPython *still* fails. Anyone got any suggestions for >> possible alternative approaches? >>>> >>>> My latest (failing) attempt. C#: >>>> >>>> public static class Foo >>>> { >>>> static RichTextEditor _editor = null; >>>> >>>> public static void Create(StackPanel panel) >>>> { >>>> _editor = new RichTextEditor(); >>>> panel.Children.Add(_editor); >>>> } >>>> } >>>> >>>> IronPython: >>>> >>>> clr.AddReference('SilverlightTextEditor, Version=1.0.0.0, >> Culture=neutral') >>>> >>>> canv = Canvas() >>>> xaml = Application.Current.LoadRootVisual(canv, "app.xaml") >>>> >>>> from SilverlightTextEditor import Foo >>>> panel = StackPanel() >>>> xaml.Children.Add(panel) >>>> >>>> Foo.Create(panel) >>>> >>>> (Note that RichTextEditor is a standalone UserControl editor >> component built on top of the RichTextBox. It works fine from C#.) >>>> >>>> All the best, >>>> >>>> Michael Foord >>>> >>>> -- >>>> http://www.ironpythoninaction.com/ >>>> >>>> _______________________________________________ >>>> Users mailing list >>>> Users at lists.ironpython.com >>>> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com >>>> >>>> >>> _______________________________________________ >>> Users mailing list >>> Users at lists.ironpython.com >>> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com >>> >> >> >> -- >> http://www.ironpythoninaction.com/ >> >> _______________________________________________ >> Users mailing list >> Users at lists.ironpython.com >> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com From fuzzyman at voidspace.org.uk Thu Apr 22 23:44:58 2010 From: fuzzyman at voidspace.org.uk (Michael Foord) Date: Thu, 22 Apr 2010 23:44:58 +0200 Subject: [IronPython] Still stuck on rich editor with IronPython and Silverlight In-Reply-To: References: Message-ID: <4BD0C35A.2080909@voidspace.org.uk> Thanks very much - this is great news for us! I'm trying this now. Having to hardcode our AppManifest.xaml is unfortunate as we normally let Chiron generate this for us (whilst developing) - but I guess we could just recompile Chiron. Much appreciated, Michael On 22/04/2010 23:13, Jimmy Schementi wrote: > AH! Thanks Dino! > > In the XAP file there is an AppManifest.xaml, which specifies a version number. Ours (both what Chiron generates and what's on gestalt.ironpython.net) is still set to a version of SL2, for Moonlight compat, which turns on quirks mode when running in SL3+. Changing Chiron.exe.config's AppManifest template (or your own copy of AppManifest.xaml) to have SL4's version number will run without quirks mode enabled, hopefully letting you use the richtextbox. > > For gestalt.ironpython.net, we will have multiple XAPs depending on what SL version you want to use, and the SL3 and 4 XAPs will have updates version numbers. > > Michael, let me know how this works out for you. > > ~Jimmy > > On Apr 22, 2010, at 1:11 PM, "Dino Viehland" wrote: > > >> Ok, I know what's going on here, but I don't know the exact solution. I'm >> hoping one of you two know the solution. The good news is there's no bug, >> the rich text box isn't supposed to work! :) >> >> What's going on is that quirks mode is disabling the creation of the >> rich text box. This appears to be due to a version check against the >> version that's coming from the XAP. So I guess fixing some Silverlight ' >> version specified in the XAP file will fix this - I don't know if that's >> a XAP being generated by Chiron or if it's something on gestalt.ironpython.net. >> >> >>> -----Original Message----- >>> From: users-bounces at lists.ironpython.com [mailto:users- >>> bounces at lists.ironpython.com] On Behalf Of Michael Foord >>> Sent: Friday, April 16, 2010 6:21 PM >>> To: Discussion of IronPython >>> Cc: Jimmy Schementi >>> Subject: Re: [IronPython] Still stuck on rich editor with IronPython >>> and Silverlight >>> >>> On 17/04/2010 03:19, Jimmy Schementi wrote: >>> >>>> Michael, let's get Dino in on this ... >>>> >>>> Dino, This seems like our fault, but I'm not savvy enough to track it >>>> >>> down or verify my claim. Seems like it doesn't work regardless of >>> invoking via reflection or ref.emit code; calling it's constructor >>> 10,000 times still gave the same result. As Michael said, doing >>> anything with RichTextBox fails when invoked from IronPython, but works >>> fine when invoked without IronPython on the stack (pure C# app, for >>> example). I'm amazed that it fails when *called* from C#, meaning that >>> IronPython is doing something to make statically compiled code fail. >>> >>>> >>> Thanks for looking at this Jimmy. IronPython must be doing something >>> really quite impressive here. :-) >>> >>> All the best, >>> >>> Michael >>> >>> >>>> We can look at this together on Monday unless you get to it sooner; I >>>> >>> thought I knew how to use windbg but failed miserably at doing anything >>> useful, so you'll have to help :) >>> >>>> ~Jimmy >>>> >>>> On Apr 16, 2010, at 6:01 PM, "Michael >>>> >>> Foord" wrote: >>> >>>> >>>> >>>>> Hello all, >>>>> >>>>> I'm still stuck on using the Silverlight 4 RichTextBox from >>>>> >>> IronPython. Unfortunately this is blocking our project. :-( >>> >>>>> Instantiating the RichTextBox directly or loading it from xaml >>>>> >>> fails. >>> >>>>> A wrapper class in C# that instantiates the RichTextBox and returns >>>>> >>> it to IronPython fails. >>> >>>>> A wrapper C# class that internally creates the RichTextBox but never >>>>> >>> returns it to IronPython *still* fails. Anyone got any suggestions for >>> possible alternative approaches? >>> >>>>> My latest (failing) attempt. C#: >>>>> >>>>> public static class Foo >>>>> { >>>>> static RichTextEditor _editor = null; >>>>> >>>>> public static void Create(StackPanel panel) >>>>> { >>>>> _editor = new RichTextEditor(); >>>>> panel.Children.Add(_editor); >>>>> } >>>>> } >>>>> >>>>> IronPython: >>>>> >>>>> clr.AddReference('SilverlightTextEditor, Version=1.0.0.0, >>>>> >>> Culture=neutral') >>> >>>>> canv = Canvas() >>>>> xaml = Application.Current.LoadRootVisual(canv, "app.xaml") >>>>> >>>>> from SilverlightTextEditor import Foo >>>>> panel = StackPanel() >>>>> xaml.Children.Add(panel) >>>>> >>>>> Foo.Create(panel) >>>>> >>>>> (Note that RichTextEditor is a standalone UserControl editor >>>>> >>> component built on top of the RichTextBox. It works fine from C#.) >>> >>>>> All the best, >>>>> >>>>> Michael Foord >>>>> >>>>> -- >>>>> http://www.ironpythoninaction.com/ >>>>> >>>>> _______________________________________________ >>>>> Users mailing list >>>>> Users at lists.ironpython.com >>>>> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com >>>>> >>>>> >>>>> >>>> _______________________________________________ >>>> Users mailing list >>>> Users at lists.ironpython.com >>>> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com >>>> >>>> >>> >>> -- >>> http://www.ironpythoninaction.com/ >>> >>> _______________________________________________ >>> Users mailing list >>> Users at lists.ironpython.com >>> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com >>> > -- http://www.ironpythoninaction.com/ From cenovsky at bakalari.cz Fri Apr 23 00:10:44 2010 From: cenovsky at bakalari.cz (Lukas Cenovsky) Date: Fri, 23 Apr 2010 00:10:44 +0200 Subject: [IronPython] Still stuck on rich editor with IronPython and Silverlight In-Reply-To: <4BD0C35A.2080909@voidspace.org.uk> References: <4BD0C35A.2080909@voidspace.org.uk> Message-ID: <4BD0C964.6050400@bakalari.cz> I think when AppManifest.xaml is in app folder, Chiron won't generate it. -- -- Luk?? Michael Foord wrote: > Thanks very much - this is great news for us! I'm trying this now. > Having to hardcode our AppManifest.xaml is unfortunate as we normally > let Chiron generate this for us (whilst developing) - but I guess we > could just recompile Chiron. > > Much appreciated, > > Michael > > On 22/04/2010 23:13, Jimmy Schementi wrote: >> AH! Thanks Dino! >> >> In the XAP file there is an AppManifest.xaml, which specifies a >> version number. Ours (both what Chiron generates and what's on >> gestalt.ironpython.net) is still set to a version of SL2, for >> Moonlight compat, which turns on quirks mode when running in SL3+. >> Changing Chiron.exe.config's AppManifest template (or your own copy >> of AppManifest.xaml) to have SL4's version number will run without >> quirks mode enabled, hopefully letting you use the richtextbox. >> >> For gestalt.ironpython.net, we will have multiple XAPs depending on >> what SL version you want to use, and the SL3 and 4 XAPs will have >> updates version numbers. >> >> Michael, let me know how this works out for you. >> >> ~Jimmy >> >> On Apr 22, 2010, at 1:11 PM, "Dino Viehland" wrote: >> >>> Ok, I know what's going on here, but I don't know the exact >>> solution. I'm >>> hoping one of you two know the solution. The good news is there's no >>> bug, >>> the rich text box isn't supposed to work! :) >>> >>> What's going on is that quirks mode is disabling the creation of the >>> rich text box. This appears to be due to a version check against the >>> version that's coming from the XAP. So I guess fixing some >>> Silverlight ' >>> version specified in the XAP file will fix this - I don't know if >>> that's >>> a XAP being generated by Chiron or if it's something on >>> gestalt.ironpython.net. >>> >>>> -----Original Message----- >>>> From: users-bounces at lists.ironpython.com [mailto:users- >>>> bounces at lists.ironpython.com] On Behalf Of Michael Foord >>>> Sent: Friday, April 16, 2010 6:21 PM >>>> To: Discussion of IronPython >>>> Cc: Jimmy Schementi >>>> Subject: Re: [IronPython] Still stuck on rich editor with IronPython >>>> and Silverlight >>>> >>>> On 17/04/2010 03:19, Jimmy Schementi wrote: >>>>> Michael, let's get Dino in on this ... >>>>> >>>>> Dino, This seems like our fault, but I'm not savvy enough to track it >>>> down or verify my claim. Seems like it doesn't work regardless of >>>> invoking via reflection or ref.emit code; calling it's constructor >>>> 10,000 times still gave the same result. As Michael said, doing >>>> anything with RichTextBox fails when invoked from IronPython, but >>>> works >>>> fine when invoked without IronPython on the stack (pure C# app, for >>>> example). I'm amazed that it fails when *called* from C#, meaning that >>>> IronPython is doing something to make statically compiled code fail. >>>> Thanks for looking at this Jimmy. IronPython must be doing something >>>> really quite impressive here. :-) >>>> >>>> All the best, >>>> >>>> Michael >>>> >>>>> We can look at this together on Monday unless you get to it sooner; I >>>> thought I knew how to use windbg but failed miserably at doing >>>> anything >>>> useful, so you'll have to help :) >>>>> ~Jimmy >>>>> >>>>> On Apr 16, 2010, at 6:01 PM, "Michael >>>> Foord" wrote: >>>>> >>>>>> Hello all, >>>>>> >>>>>> I'm still stuck on using the Silverlight 4 RichTextBox from >>>> IronPython. Unfortunately this is blocking our project. :-( >>>>>> Instantiating the RichTextBox directly or loading it from xaml >>>> fails. >>>>>> A wrapper class in C# that instantiates the RichTextBox and returns >>>> it to IronPython fails. >>>>>> A wrapper C# class that internally creates the RichTextBox but never >>>> returns it to IronPython *still* fails. Anyone got any suggestions for >>>> possible alternative approaches? >>>>>> My latest (failing) attempt. C#: >>>>>> >>>>>> public static class Foo >>>>>> { >>>>>> static RichTextEditor _editor = null; >>>>>> >>>>>> public static void Create(StackPanel panel) >>>>>> { >>>>>> _editor = new RichTextEditor(); >>>>>> panel.Children.Add(_editor); >>>>>> } >>>>>> } >>>>>> >>>>>> IronPython: >>>>>> >>>>>> clr.AddReference('SilverlightTextEditor, Version=1.0.0.0, >>>> Culture=neutral') >>>>>> canv = Canvas() >>>>>> xaml = Application.Current.LoadRootVisual(canv, "app.xaml") >>>>>> >>>>>> from SilverlightTextEditor import Foo >>>>>> panel = StackPanel() >>>>>> xaml.Children.Add(panel) >>>>>> >>>>>> Foo.Create(panel) >>>>>> >>>>>> (Note that RichTextEditor is a standalone UserControl editor >>>> component built on top of the RichTextBox. It works fine from C#.) >>>>>> All the best, >>>>>> >>>>>> Michael Foord >>>>>> >>>>>> -- >>>>>> http://www.ironpythoninaction.com/ >>>>>> >>>>>> _______________________________________________ >>>>>> Users mailing list >>>>>> Users at lists.ironpython.com >>>>>> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com >>>>>> >>>>>> >>>>> _______________________________________________ >>>>> Users mailing list >>>>> Users at lists.ironpython.com >>>>> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com >>>>> >>>> >>>> -- >>>> http://www.ironpythoninaction.com/ >>>> >>>> _______________________________________________ >>>> Users mailing list >>>> Users at lists.ironpython.com >>>> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > > From fuzzyman at voidspace.org.uk Fri Apr 23 00:40:40 2010 From: fuzzyman at voidspace.org.uk (Michael Foord) Date: Fri, 23 Apr 2010 00:40:40 +0200 Subject: [IronPython] Still stuck on rich editor with IronPython and Silverlight In-Reply-To: <4BD0C964.6050400@bakalari.cz> References: <4BD0C35A.2080909@voidspace.org.uk> <4BD0C964.6050400@bakalari.cz> Message-ID: <4BD0D068.9040004@voidspace.org.uk> On 23/04/2010 00:10, Lukas Cenovsky wrote: > I think when AppManifest.xaml is in app folder, Chiron won't generate it. > That is correct - which means when we add (or remove) an assembly we have to also manually add it to the AppManifest because Chiron will no longer do it for us... Michael > -- > -- Luk?? > > > Michael Foord wrote: >> Thanks very much - this is great news for us! I'm trying this now. >> Having to hardcode our AppManifest.xaml is unfortunate as we normally >> let Chiron generate this for us (whilst developing) - but I guess we >> could just recompile Chiron. >> >> Much appreciated, >> >> Michael >> >> On 22/04/2010 23:13, Jimmy Schementi wrote: >>> AH! Thanks Dino! >>> >>> In the XAP file there is an AppManifest.xaml, which specifies a >>> version number. Ours (both what Chiron generates and what's on >>> gestalt.ironpython.net) is still set to a version of SL2, for >>> Moonlight compat, which turns on quirks mode when running in SL3+. >>> Changing Chiron.exe.config's AppManifest template (or your own copy >>> of AppManifest.xaml) to have SL4's version number will run without >>> quirks mode enabled, hopefully letting you use the richtextbox. >>> >>> For gestalt.ironpython.net, we will have multiple XAPs depending on >>> what SL version you want to use, and the SL3 and 4 XAPs will have >>> updates version numbers. >>> >>> Michael, let me know how this works out for you. >>> >>> ~Jimmy >>> >>> On Apr 22, 2010, at 1:11 PM, "Dino Viehland" >>> wrote: >>> >>>> Ok, I know what's going on here, but I don't know the exact >>>> solution. I'm >>>> hoping one of you two know the solution. The good news is there's >>>> no bug, >>>> the rich text box isn't supposed to work! :) >>>> >>>> What's going on is that quirks mode is disabling the creation of the >>>> rich text box. This appears to be due to a version check against the >>>> version that's coming from the XAP. So I guess fixing some >>>> Silverlight ' >>>> version specified in the XAP file will fix this - I don't know if >>>> that's >>>> a XAP being generated by Chiron or if it's something on >>>> gestalt.ironpython.net. >>>> >>>>> -----Original Message----- >>>>> From: users-bounces at lists.ironpython.com [mailto:users- >>>>> bounces at lists.ironpython.com] On Behalf Of Michael Foord >>>>> Sent: Friday, April 16, 2010 6:21 PM >>>>> To: Discussion of IronPython >>>>> Cc: Jimmy Schementi >>>>> Subject: Re: [IronPython] Still stuck on rich editor with IronPython >>>>> and Silverlight >>>>> >>>>> On 17/04/2010 03:19, Jimmy Schementi wrote: >>>>>> Michael, let's get Dino in on this ... >>>>>> >>>>>> Dino, This seems like our fault, but I'm not savvy enough to >>>>>> track it >>>>> down or verify my claim. Seems like it doesn't work regardless of >>>>> invoking via reflection or ref.emit code; calling it's constructor >>>>> 10,000 times still gave the same result. As Michael said, doing >>>>> anything with RichTextBox fails when invoked from IronPython, but >>>>> works >>>>> fine when invoked without IronPython on the stack (pure C# app, for >>>>> example). I'm amazed that it fails when *called* from C#, meaning >>>>> that >>>>> IronPython is doing something to make statically compiled code fail. >>>>> Thanks for looking at this Jimmy. IronPython must be doing something >>>>> really quite impressive here. :-) >>>>> >>>>> All the best, >>>>> >>>>> Michael >>>>> >>>>>> We can look at this together on Monday unless you get to it >>>>>> sooner; I >>>>> thought I knew how to use windbg but failed miserably at doing >>>>> anything >>>>> useful, so you'll have to help :) >>>>>> ~Jimmy >>>>>> >>>>>> On Apr 16, 2010, at 6:01 PM, "Michael >>>>> Foord" wrote: >>>>>> >>>>>>> Hello all, >>>>>>> >>>>>>> I'm still stuck on using the Silverlight 4 RichTextBox from >>>>> IronPython. Unfortunately this is blocking our project. :-( >>>>>>> Instantiating the RichTextBox directly or loading it from xaml >>>>> fails. >>>>>>> A wrapper class in C# that instantiates the RichTextBox and returns >>>>> it to IronPython fails. >>>>>>> A wrapper C# class that internally creates the RichTextBox but >>>>>>> never >>>>> returns it to IronPython *still* fails. Anyone got any suggestions >>>>> for >>>>> possible alternative approaches? >>>>>>> My latest (failing) attempt. C#: >>>>>>> >>>>>>> public static class Foo >>>>>>> { >>>>>>> static RichTextEditor _editor = null; >>>>>>> >>>>>>> public static void Create(StackPanel panel) >>>>>>> { >>>>>>> _editor = new RichTextEditor(); >>>>>>> panel.Children.Add(_editor); >>>>>>> } >>>>>>> } >>>>>>> >>>>>>> IronPython: >>>>>>> >>>>>>> clr.AddReference('SilverlightTextEditor, Version=1.0.0.0, >>>>> Culture=neutral') >>>>>>> canv = Canvas() >>>>>>> xaml = Application.Current.LoadRootVisual(canv, "app.xaml") >>>>>>> >>>>>>> from SilverlightTextEditor import Foo >>>>>>> panel = StackPanel() >>>>>>> xaml.Children.Add(panel) >>>>>>> >>>>>>> Foo.Create(panel) >>>>>>> >>>>>>> (Note that RichTextEditor is a standalone UserControl editor >>>>> component built on top of the RichTextBox. It works fine from C#.) >>>>>>> All the best, >>>>>>> >>>>>>> Michael Foord >>>>>>> >>>>>>> -- >>>>>>> http://www.ironpythoninaction.com/ >>>>>>> >>>>>>> _______________________________________________ >>>>>>> Users mailing list >>>>>>> Users at lists.ironpython.com >>>>>>> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com >>>>>>> >>>>>>> >>>>>> _______________________________________________ >>>>>> Users mailing list >>>>>> Users at lists.ironpython.com >>>>>> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com >>>>>> >>>>> >>>>> -- >>>>> http://www.ironpythoninaction.com/ >>>>> >>>>> _______________________________________________ >>>>> Users mailing list >>>>> Users at lists.ironpython.com >>>>> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com >> >> > > > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com -- http://www.ironpythoninaction.com/ From dinov at microsoft.com Fri Apr 23 00:46:11 2010 From: dinov at microsoft.com (Dino Viehland) Date: Thu, 22 Apr 2010 22:46:11 +0000 Subject: [IronPython] ssl server mode issue In-Reply-To: <1271292047.e783e547f970493798d21c0b1aebe31e.qiuyingbo@sohu.com> References: <1A472770E042064698CB5ADC83A12ACD39528A15@TK5EX14MBXC118.redmond.corp.microsoft.com> <1271292047.e783e547f970493798d21c0b1aebe31e.qiuyingbo@sohu.com> Message-ID: <1A472770E042064698CB5ADC83A12ACD39557589@TK5EX14MBXC118.redmond.corp.microsoft.com> Ok, took me a while to get back to this, but I haven?t forgotten. So I?ve taken your code below and combined it with the code in test_ssl to have the full end to end test case. I?ve included that here. Let me know if there?s anything that?s significantly different. First thing I tried w/ this was using the ?keycert.pem? which copes with the CPython test case and that seemed to behave similarly between IronPython and CPython. There does seem to be one difference which is with CPython the connection from the browser stays open and w/ IronPython it closes. This is after a GET request which we can?t respond to: DINOV1.redmond.corp.microsoft.com - - [22/Apr/2010 15:38:16] code 501, message Unsupported method ('GET') DINOV1.redmond.corp.microsoft.com - - [22/Apr/2010 15:38:16] "GET / HTTP/1.1" 501 ? That?s probably a bug but not the issue you?re running into but I?ve opened a bug here: http://ironpython.codeplex.com/WorkItem/View.aspx?WorkItemId=26852. So then I generated a self-signed request as described here: http://sial.org/howto/openssl/self-signed/ with a .cnf file as described here: http://bugs.gentoo.org/show_bug.cgi?id=251047 but minus the x509_extensions line. With that I get the same result as I get with keycert.pem. So my guess is that I?m not generating the self signed certificate in the same way that you are and that there?s something about your cert which doesn?t work. Does your generation differ from what I did? import BaseHTTPServer from BaseHTTPServer import HTTPServer from SimpleHTTPServer import SimpleHTTPRequestHandler import threading import socket import sys import traceback import ssl CERTFILE = 'host.pem' HOST='localhost' import time class ProxyHandler(BaseHTTPServer.BaseHTTPRequestHandler): def do_CONNECT(self): print self.raw_requestline # "CONNECT twitter.com:443 HTTP/1.1" self.sslhost = self.raw_requestline.split()[1] self.wfile.write(self.protocol_version + " 200 Connection established\r\n") self.wfile.write("Proxy-agent: qiuyingbo\r\n\r\n") self.rfile = pseudofile(ssl.wrap_socket(self.connection, None, CERTFILE, True)) self.wfile = self.rfile self.handle_one_request() class SocketServerHTTPSServer(threading.Thread): class HTTPSServer(HTTPServer): def __init__(self, server_address, RequestHandlerClass, certfile): HTTPServer.__init__(self, server_address, RequestHandlerClass) # we assume the certfile contains both private key and certificate self.certfile = certfile self.active = False self.active_lock = threading.Lock() self.allow_reuse_address = True def __str__(self): return ('<%s %s:%s>' % (self.__class__.__name__, self.server_name, self.server_port)) def get_request (self): # override this to wrap socket with SSL sock, addr = self.socket.accept() sslconn = ssl.wrap_socket(sock, server_side=True, certfile=self.certfile) return sslconn, addr # The methods overridden below this are mainly so that we # can run it in a thread and be able to stop it from another # You probably wouldn't need them in other uses. def server_activate(self): # We want to run this in a thread for testing purposes, # so we override this to set timeout, so that we get # a chance to stop the server self.socket.settimeout(0.5) HTTPServer.server_activate(self) def serve_forever(self): # We want this to run in a thread, so we use a slightly # modified version of "forever". self.active = True while 1: try: # We need to lock while handling the request. # Another thread can close the socket after self.active # has been checked and before the request is handled. # This causes an exception when using the closed socket. with self.active_lock: if not self.active: break self.handle_request() except socket.timeout: pass except KeyboardInterrupt: self.server_close() return except: sys.stdout.write(''.join(traceback.format_exception(*sys.exc_info()))) break time.sleep(0.1) def server_close(self): # Again, we want this to run in a thread, so we need to override # close to clear the "active" flag, so that serve_forever() will # terminate. with self.active_lock: HTTPServer.server_close(self) self.active = False def __init__(self, certfile): self.flag = None self.active = False self.port = 1234 self.server = self.HTTPSServer( (HOST, self.port), ProxyHandler, certfile) threading.Thread.__init__(self) self.daemon = True def __str__(self): return "<%s %s>" % (self.__class__.__name__, self.server) def start (self, flag=None): self.flag = flag threading.Thread.start(self) def run (self): self.active = True if self.flag: self.flag.set() self.server.serve_forever() self.active = False def stop (self): self.active = False self.server.server_close() class pseudofile(): ''' SSL Pseudo File Object''' def __init__(self, sslobj): self.sslobj = sslobj self.closed = 0 def read(self, size): chunks = [] read = 0 while read < size: data = self.sslobj.read(size-read) read += len(data) chunks.append(data) return ''.join(chunks) def readline(self): line = [] while 1: char = self.sslobj.read(1) line.append(char) if char == "\n": return ''.join(line) def write(self, data): bytes = len(data) while bytes > 0: sent = self.sslobj.write(data) if sent == bytes: break # avoid copy data = data[sent:] bytes = bytes - sent def flush(self): pass close = flush server=SocketServerHTTPSServer(CERTFILE) flag = threading.Event() server.start(flag) # wait for it to start flag.wait() print 'started' time.sleep(100000) From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of qiuyingbo at sohu.com Sent: Wednesday, April 14, 2010 5:41 PM To: Discussion of IronPython Subject: Re: [IronPython] ssl server mode issue I'm doing a web browser to ironpython connection. It is difficult to explain what I am doing, I'm hacking a http proxy that inherit BaseHTTPServer.BaseHTTPRequestHandler. Next code snippets show how I support HTTPS proxy.. (Linux version run well) class ProxyHandler(BaseHTTPServer.BaseHTTPRequestHandler): def do_CONNECT(self): # print self.raw_requestline # "CONNECT twitter.com:443 HTTP/1.1" self.sslhost = self.raw_requestline.split()[1] self.wfile.write(self.protocol_version + " 200 Connection established\r\n") self.wfile.write("Proxy-agent: qiuyingbo\r\n\r\n") import ssl self.rfile = pseudofile(ssl.wrap_socket(self.connection, None, CERTFILE, True)) self.wfile = self.rfile self.handle_one_request() class pseudofile(): ''' SSL Pseudo File Object''' def __init__(self, sslobj): self.sslobj = sslobj self.closed = 0 def read(self, size): chunks = [] read = 0 while read < size: data = self.sslobj.read(size-read) read += len(data) chunks.append(data) return ''.join(chunks) def readline(self): line = [] while 1: char = self.sslobj.read(1) line.append(char) if char == "\n": return ''.join(line) def write(self, data): bytes = len(data) while bytes > 0: sent = self.sslobj.write(data) if sent == bytes: break # avoid copy data = data[sent:] bytes = bytes - sent def flush(self): pass close = flush -------------- next part -------------- An HTML attachment was scrubbed... URL: From dinov at microsoft.com Fri Apr 23 01:41:35 2010 From: dinov at microsoft.com (Dino Viehland) Date: Thu, 22 Apr 2010 23:41:35 +0000 Subject: [IronPython] Bad performance calling .NET method In-Reply-To: <9182b292e0d04c3db7f2501f9234ea4b@DF-MBX-E1502.exchange.corp.microsoft.com> References: <9344c1bd029a4b8aa28fee0e371c6b49@DF-MBX-E1502.exchange.corp.microsoft.com>, <1A472770E042064698CB5ADC83A12ACD395465C1@TK5EX14MBXC118.redmond.corp.microsoft.com> <9a3a7ddcc0ff4304817128095c9b391b@DF-MBX-E1502.exchange.corp.microsoft.com>, <1A472770E042064698CB5ADC83A12ACD39546D67@TK5EX14MBXC118.redmond.corp.microsoft.com> <9182b292e0d04c3db7f2501f9234ea4b@DF-MBX-E1502.exchange.corp.microsoft.com> Message-ID: <1A472770E042064698CB5ADC83A12ACD39557CEF@TK5EX14MBXC118.redmond.corp.microsoft.com> It looks like most of the perf problem here is actually the call to Unicode.Encoding. There's an issue where we're not switching over from a sub-optimial (but quick to generate) code path to a more optimial (but slower to generate) code path when we're continually accessing members. It's a trivial fix to make this work. But I would suggest removing the call from the loop if it's perf sensitive anyway - you can store it in a global and access it there. Moving Encoding.Unicode outside of the loop on my machine we were 14x slower than C#. W/ a fix for the Unicode.Encoding issue, but leaving the get in, we are 23x slower. W/o the fix we are ridiculously slower, I would guess it's like 5000x vs C# calling the empty method. Your method probably does work though :) At that point we're spending most of the time in the loop, iterating over the xrange, etc... We'll eventually start optimizing that stuff away too but it's not a trivial fix. From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Laurion Burchall Sent: Tuesday, April 20, 2010 1:46 PM To: Discussion of IronPython Subject: Re: [IronPython] Bad performance calling .NET method In the case that affects me the code isn't global. The class looks like this: class EseDBCursor(object): ... def __getitem__(self, key): with _EseTransaction(self._sesid): self._seekForKey(key) return self._retrieveCurrentRecordValue() def _makeKey(self, key): """Construct a key for the given value.""" Api.MakeKey(self._sesid, self._tableid, str(key), Encoding.Unicode, MakeKeyGrbit.NewKey) def _seekForKey(self, key): """Seek for the specified key. A KeyError exception is raised if the key isn't found.""" self._makeKey(key) if not Api.TrySeek(self._sesid, self._tableid, SeekGrbit.SeekEQ): raise KeyError('key \'%s\' was not found' % key) I tried moving the call to Api.MakeKey into _seekForKey but that didn't improve things. It is definitely the call to Api.MakeKey that is slowing things down -- removing that one call speeds things up. The code that tests the performance looks like this: def insertRetrieveTest(): ... timer = Stopwatch.StartNew() for i in xrange(n): data = db[k] timer.Stop() ... # Basic test first insertRetrieveTest() ________________________________ From: users-bounces at lists.ironpython.com [users-bounces at lists.ironpython.com] on behalf of Dino Viehland [dinov at microsoft.com] Sent: Tuesday, April 20, 2010 12:51 PM To: Discussion of IronPython Subject: Re: [IronPython]Bad performance calling .NET method Is the perf problem only there when the code is global? In general we don't try to optimize code which occurs at the top-level of a script - we assume the most significant work will occur inside of function definitions. In this case the update to "i" through each loop iteration needs to update a global value in a dictionary rather than updating a local on the stack each time which is going to be much more expensive. Also the reads from the globals instead of parameters will be much more expensive as well. And while I doubt this is much of the perf problem you're also accessing the Unicode property on encoding each time through in the global case. There's also the chance depending on what version of IronPython you're running on that we're staying in the interpreter. I think on 2.6.1 we should compile the global loop eventually but it'll still be slower than the compiled function. Is there a reason the top-level code needs to be efficient? From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Laurion Burchall Sent: Tuesday, April 20, 2010 11:57 AM To: Discussion of IronPython Subject: Re: [IronPython] Bad performance calling .NET method You were right about the structs. By creating a method with the same type of signature (struct, struct, string, Encoding, enumeration). I got the same slowdown in a trivial DLL. This is with the .NET 2.0 version of IP: ** First, the C# code: namespace IronPythonInteropPerf { using System.Text; public struct Struct1 { internal int i; } public struct Struct2 { internal int i; } public enum Enumeration { Foo, } public static class Interop { public static void A(Struct1 a, Struct2 b, string x, Encoding encoding, Enumeration e) { } } } ** Now the IronPython test: import System import System.Diagnostics import System.Text from System.Diagnostics import Stopwatch from System.Text import Encoding import clr clr.AddReferenceByPartialName('IronPythonInteropPerf') from IronPythonInteropPerf import * N = 1000000 a = Struct1() b = Struct2() c = 'hello' d = Enumeration.Foo stopwatch = Stopwatch.StartNew() for i in xrange(N): Interop.A(a, b, c, Encoding.Unicode, d) stopwatch.Stop() print ' A: %s' % stopwatch.Elapsed def foo(a1, a2, a3, a4, a5): stopwatch = Stopwatch.StartNew() for j in xrange(N): Interop.A(a1, a2, a3, a4, a5) stopwatch.Stop() print 'foo.A: %s' % stopwatch.Elapsed foo(a, b, c, Encoding.Unicode, d) ** Note that I am calling Interop.A twice. This gives very different results -- the call from inside of function foo() is fast (11M calls/second) but the call from the script is slow (50K calls/second): A: 00:00:18.6063353 foo.A: 00:00:00.0894888 There isn't a caching effect at work either -- foo() is faster if I call it before the other code. ________________________________ From: users-bounces at lists.ironpython.com [users-bounces at lists.ironpython.com] on behalf of Dino Viehland [dinov at microsoft.com] Sent: Tuesday, April 20, 2010 11:34 AM To: Discussion of IronPython Subject: Re: [IronPython]Bad performance calling .NET method I assume something is going horribly wrong with our type checks. Can you attach the repro? Or at least are these just classes, or are any structs, or maybe weird classes like delegates? And is this on .NET 2.0 or .NET 4.0? From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Laurion Burchall Sent: Tuesday, April 20, 2010 2:11 AM To: Discussion of IronPython Subject: [IronPython] Bad performance calling .NET method I am getting terrible performance invoking a C# method from IP. I have a static class called Api with this method: public static void MakeKey(JET_SESID sesid, JET_TABLEID tableid, string data, Encoding encoding, MakeKeyGrbit grbit) When I call it directly from C# I get about 3M calls/second. In IronPython I get only 50,000 calls/second -- a 60X slowdown! The method is overloaded. When I call these overloads I get good performance (~ 1M calls/second): public static void MakeKey(JET_SESID sesid, JET_TABLEID tableid, int data, MakeKeyGrbit grbit) public static void MakeKey(JET_SESID sesid, JET_TABLEID tableid, float data, MakeKeyGrbit grbit) public static void MakeKey(JET_SESID sesid, JET_TABLEID tableid, byte[] data, MakeKeyGrbit grbit) (for the last overload I passed in the string turned into a byte array with Encoding.GetBytes()) Things I have tried that didn't help: - Changing the name of the method so it was unique. - Calling the method using Api.MakeKey.Overloads[...] - Calling other methods I have that take string arguments. They were fast. When I profile the code the time shows up in mscorwks.dll (56%) and mscorlib.ni.dll (17%). IronPython is only 8% and my code is 6%. Can anyone help me work out what is going wrong? I have a short, turn-key repro of this. MakeKey is a very commonly used method so having it be so slow is crippling. thanks, --Laurion -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jimmy.Schementi at microsoft.com Fri Apr 23 01:53:36 2010 From: Jimmy.Schementi at microsoft.com (Jimmy Schementi) Date: Thu, 22 Apr 2010 23:53:36 +0000 Subject: [IronPython] Still stuck on rich editor with IronPython and Silverlight In-Reply-To: <4BD0D068.9040004@voidspace.org.uk> References: <4BD0C35A.2080909@voidspace.org.uk> <4BD0C964.6050400@bakalari.cz> <4BD0D068.9040004@voidspace.org.uk> Message-ID: <1B42307CD4AADD438CDDA2FE1121CC9217336B9F@TK5EX14MBXC136.redmond.corp.microsoft.com> > On 23/04/2010 00:10, Lukas Cenovsky wrote: > > I think when AppManifest.xaml is in app folder, Chiron won't generate it. > > > > That is correct - which means when we add (or remove) an assembly we > have to also manually add it to the AppManifest because Chiron will no > longer do it for us... You don't need to save the AppManifest.xaml to disk, just change Silverlight\bin\Chiron.exe.config (in your IronPython installation directory). It's a very simple change to the section: where it says RuntimeVersion change its value to "4.0.50401.0". This will cause Chiron.exe to generate the appropriate AppManifest.xaml for you, regardless of whether or not you want to generate it to disk. However, if you don't want to change every installation of IronPython that you have, saving the AppManifest.xaml to disk is totally fine, and will still work in the scenario you're describing. Chiron does NOT do any detection of assemblies in your app and add them to the AppManifest.xaml, because it doesn't need to. The AppManifest.xaml's section is the equivalent of "Add Reference" in a C# Silverlight app. In Python, that just translates to a clr.AddReferenceToFile; there is no need to list it in the AppManifest.xaml. Even listing it in the AppManfiest.xaml still requires you to do use clr.AddReferenceToFile, as the DLR integration does not load AssemblyParts for Python to use (maybe it should, but it doesn't today). ~Jimmy From qiuyingbo at sohu.com Fri Apr 23 02:39:34 2010 From: qiuyingbo at sohu.com (qiuyingbo at sohu.com) Date: Fri, 23 Apr 2010 00:39:34 GMT Subject: [IronPython] ssl server mode issue In-Reply-To: <1A472770E042064698CB5ADC83A12ACD39557589@TK5EX14MBXC118.redmond.corp.microsoft.com> Message-ID: <1271983174.acad0a3d2f4b4a559fcdbb592271d9b4.qiuyingbo@sohu.com> I generated certificate as the instruction of http://docs.python.org/library/ssl.html:openssl req -new -x509 -days 365 -nodes -out cert.pem -keyout cert.pem ----- ?? ----- ???: Dino Viehland ???: Re: [IronPython] ssl server mode issue???: 2010?4?23? 6:46:11 Ok, took me a while to get back to this, but I haven?t forgotten.  So I?ve taken your code below and combined it with the code in test_ssl to have the full end to end test case.  I?ve included that here.  Let me know if there?s anything that?s significantly different.   First thing I tried w/ this was using the ?keycert.pem? which copes with the CPython test case and that seemed to behave similarly between IronPython and CPython.  There does seem to be one difference which is with CPython the connection from the browser stays open and w/ IronPython it closes.  This is after a GET request which we can?t respond to:   DINOV1.redmond.corp.microsoft.com - - [22/Apr/2010 15:38:16] code 501, message Unsupported method ('GET') DINOV1.redmond.corp.microsoft.com - - [22/Apr/2010 15:38:16] "GET / HTTP/1.1" 501 ?   That?s probably a bug but not the issue you?re running into but I?ve opened a bug here: http://ironpython.codeplex.com/WorkItem/View.aspx?WorkItemId=26852.    So then I generated a self-signed request as described here: http://sial.org/howto/openssl/self-signed/ with a .cnf file as described here: http://bugs.gentoo.org/show_bug.cgi?id=251047 but minus the x509_extensions line.  With that I get the same result as I get with keycert.pem.   So my guess is that I?m not generating the self signed certificate in the same way that you are and that there?s something about your cert which doesn?t work.  Does your generation differ from what I did?   import BaseHTTPServer from BaseHTTPServer import HTTPServer from SimpleHTTPServer import SimpleHTTPRequestHandler import threading import socket import sys import traceback import ssl CERTFILE = 'host.pem' HOST='localhost' import time   class ProxyHandler(BaseHTTPServer.BaseHTTPRequestHandler):     def do_CONNECT(self):         print self.raw_requestline         # "CONNECT twitter.com:443 HTTP/1.1"         self.sslhost = self.raw_requestline.split()[1]         self.wfile.write(self.protocol_version + " 200 Connection established\r\n")         self.wfile.write("Proxy-agent: qiuyingbo\r\n\r\n")         self.rfile = pseudofile(ssl.wrap_socket(self.connection, None, CERTFILE, True))         self.wfile = self.rfile         self.handle_one_request()     class SocketServerHTTPSServer(threading.Thread):     class HTTPSServer(HTTPServer):         def __init__(self, server_address, RequestHandlerClass, certfile):             HTTPServer.__init__(self, server_address, RequestHandlerClass)             # we assume the certfile contains both private key and certificate             self.certfile = certfile             self.active = False             self.active_lock = threading.Lock()             self.allow_reuse_address = True             def __str__(self):             return ('<%s %s:%s>' %                     (self.__class__.__name__,                      self.server_name,                      self.server_port))             def get_request (self):             # override this to wrap socket with SSL             sock, addr = self.socket.accept()             sslconn = ssl.wrap_socket(sock, server_side=True,                                       certfile=self.certfile)             return sslconn, addr             # The methods overridden below this are mainly so that we         # can run it in a thread and be able to stop it from another         # You probably wouldn't need them in other uses.             def server_activate(self):             # We want to run this in a thread for testing purposes,             # so we override this to set timeout, so that we get             # a chance to stop the server             self.socket.settimeout(0.5)             HTTPServer.server_activate(self)             def serve_forever(self):             # We want this to run in a thread, so we use a slightly             # modified version of "forever".             self.active = True             while 1:                 try:                     # We need to lock while handling the request.                     # Another thread can close the socket after self.active                     # has been checked and before the request is handled.                     # This causes an exception when using the closed socket.                     with self.active_lock:                         if not self.active:                             break                         self.handle_request()                 except socket.timeout:                     pass                 except KeyboardInterrupt:                     self.server_close()                     return                 except:                     sys.stdout.write(''.join(traceback.format_exception(*sys.exc_info())))                     break                 time.sleep(0.1)             def server_close(self):             # Again, we want this to run in a thread, so we need to override             # close to clear the "active" flag, so that serve_forever() will             # terminate.             with self.active_lock:                 HTTPServer.server_close(self)                 self.active = False       def __init__(self, certfile):         self.flag = None         self.active = False         self.port = 1234         self.server = self.HTTPSServer(             (HOST, self.port), ProxyHandler, certfile)         threading.Thread.__init__(self)         self.daemon = True       def __str__(self):         return "<%s %s>" % (self.__class__.__name__, self.server)       def start (self, flag=None):         self.flag = flag         threading.Thread.start(self)       def run (self):         self.active = True         if self.flag:             self.flag.set()         self.server.serve_forever()         self.active = False       def stop (self):         self.active = False         self.server.server_close()     class pseudofile():     ''' SSL Pseudo File Object'''     def __init__(self, sslobj):         self.sslobj = sslobj         self.closed = 0       def read(self, size):         chunks = []         read = 0         while read < size:             data = self.sslobj.read(size-read)             read += len(data)             chunks.append(data)         return ''.join(chunks)       def readline(self):         line = []         while 1:             char = self.sslobj.read(1)             line.append(char)             if char == "\n": return ''.join(line)       def write(self, data):         bytes = len(data)         while bytes > 0:             sent = self.sslobj.write(data)             if sent == bytes:                 break    # avoid copy             data = data[sent:]             bytes = bytes - sent       def flush(self):         pass     close = flush     server=SocketServerHTTPSServer(CERTFILE) flag = threading.Event() server.start(flag) # wait for it to start flag.wait() print 'started' time.sleep(100000)     From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of qiuyingbo at sohu.comSent: Wednesday, April 14, 2010 5:41 PMTo: Discussion of IronPythonSubject: Re: [IronPython] ssl server mode issue   I'm doing a web browser to ironpython connection. It is difficult to explain what I am doing,  I'm hacking a http proxy that inherit BaseHTTPServer.BaseHTTPRequestHandler. Next code snippets show how I support HTTPS proxy.. (Linux version run well)   class ProxyHandler(BaseHTTPServer.BaseHTTPRequestHandler):     def do_CONNECT(self):         # print self.raw_requestline         # "CONNECT twitter.com:443 HTTP/1.1"         self.sslhost = self.raw_requestline.split()[1]         self.wfile.write(self.protocol_version + " 200 Connection established\r\n")         self.wfile.write("Proxy-agent: qiuyingbo\r\n\r\n")         import ssl         self.rfile = pseudofile(ssl.wrap_socket(self.connection, None, CERTFILE, True))         self.wfile = self.rfile         self.handle_one_request()   class pseudofile():     ''' SSL Pseudo File Object'''     def __init__(self, sslobj):         self.sslobj = sslobj         self.closed = 0       def read(self, size):         chunks = []         read = 0         while read < size:             data = self.sslobj.read(size-read)             read += len(data)             chunks.append(data)         return ''.join(chunks)       def readline(self):         line = []         while 1:             char = self.sslobj.read(1)             line.append(char)             if char == "\n": return ''.join(line)       def write(self, data):         bytes = len(data)         while bytes > 0:             sent = self.sslobj.write(data)             if sent == bytes:                 break    # avoid copy             data = data[sent:]             bytes = bytes - sent     def flush(self):         pass     close = flush _______________________________________________Users mailing listUsers at lists.ironpython.comhttp://lists.ironpython.com/listinfo.cgi/users-ironpython.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From laurionb at microsoft.com Fri Apr 23 02:39:50 2010 From: laurionb at microsoft.com (Laurion Burchall) Date: Fri, 23 Apr 2010 00:39:50 +0000 Subject: [IronPython] Bad performance calling .NET method In-Reply-To: <1A472770E042064698CB5ADC83A12ACD39557CEF@TK5EX14MBXC118.redmond.corp.microsoft.com> References: <9344c1bd029a4b8aa28fee0e371c6b49@DF-MBX-E1502.exchange.corp.microsoft.com>, <1A472770E042064698CB5ADC83A12ACD395465C1@TK5EX14MBXC118.redmond.corp.microsoft.com> <9a3a7ddcc0ff4304817128095c9b391b@DF-MBX-E1502.exchange.corp.microsoft.com>, <1A472770E042064698CB5ADC83A12ACD39546D67@TK5EX14MBXC118.redmond.corp.microsoft.com> <9182b292e0d04c3db7f2501f9234ea4b@DF-MBX-E1502.exchange.corp.microsoft.com>, <1A472770E042064698CB5ADC83A12ACD39557CEF@TK5EX14MBXC118.redmond.corp.microsoft.com> Message-ID: <6b1afe005ba24c2aad4ba65a00153c09@DF-MBX-E1502.exchange.corp.microsoft.com> Excellent! Storing Encoding.Unicode in a variable has given a huge speedup. My particular performance problem is solved. thanks, --Laurion ________________________________ From: users-bounces at lists.ironpython.com [users-bounces at lists.ironpython.com] on behalf of Dino Viehland [dinov at microsoft.com] Sent: Thursday, April 22, 2010 4:41 PM To: Discussion of IronPython Subject: Re: [IronPython]Bad performance calling .NET method It looks like most of the perf problem here is actually the call to Unicode.Encoding. There?s an issue where we?re not switching over from a sub-optimial (but quick to generate) code path to a more optimial (but slower to generate) code path when we?re continually accessing members. It?s a trivial fix to make this work. But I would suggest removing the call from the loop if it?s perf sensitive anyway ? you can store it in a global and access it there. Moving Encoding.Unicode outside of the loop on my machine we were 14x slower than C#. W/ a fix for the Unicode.Encoding issue, but leaving the get in, we are 23x slower. W/o the fix we are ridiculously slower, I would guess it?s like 5000x vs C# calling the empty method. Your method probably does work though :) At that point we?re spending most of the time in the loop, iterating over the xrange, etc? We?ll eventually start optimizing that stuff away too but it?s not a trivial fix. From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Laurion Burchall Sent: Tuesday, April 20, 2010 1:46 PM To: Discussion of IronPython Subject: Re: [IronPython] Bad performance calling .NET method In the case that affects me the code isn't global. The class looks like this: class EseDBCursor(object): ... def __getitem__(self, key): with _EseTransaction(self._sesid): self._seekForKey(key) return self._retrieveCurrentRecordValue() def _makeKey(self, key): """Construct a key for the given value.""" Api.MakeKey(self._sesid, self._tableid, str(key), Encoding.Unicode, MakeKeyGrbit.NewKey) def _seekForKey(self, key): """Seek for the specified key. A KeyError exception is raised if the key isn't found.""" self._makeKey(key) if not Api.TrySeek(self._sesid, self._tableid, SeekGrbit.SeekEQ): raise KeyError('key \'%s\' was not found' % key) I tried moving the call to Api.MakeKey into _seekForKey but that didn't improve things. It is definitely the call to Api.MakeKey that is slowing things down -- removing that one call speeds things up. The code that tests the performance looks like this: def insertRetrieveTest(): ... timer = Stopwatch.StartNew() for i in xrange(n): data = db[k] timer.Stop() ... # Basic test first insertRetrieveTest() ________________________________ From: users-bounces at lists.ironpython.com [users-bounces at lists.ironpython.com] on behalf of Dino Viehland [dinov at microsoft.com] Sent: Tuesday, April 20, 2010 12:51 PM To: Discussion of IronPython Subject: Re: [IronPython]Bad performance calling .NET method Is the perf problem only there when the code is global? In general we don?t try to optimize code which occurs at the top-level of a script ? we assume the most significant work will occur inside of function definitions. In this case the update to ?i? through each loop iteration needs to update a global value in a dictionary rather than updating a local on the stack each time which is going to be much more expensive. Also the reads from the globals instead of parameters will be much more expensive as well. And while I doubt this is much of the perf problem you?re also accessing the Unicode property on encoding each time through in the global case. There?s also the chance depending on what version of IronPython you?re running on that we?re staying in the interpreter. I think on 2.6.1 we should compile the global loop eventually but it?ll still be slower than the compiled function. Is there a reason the top-level code needs to be efficient? From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Laurion Burchall Sent: Tuesday, April 20, 2010 11:57 AM To: Discussion of IronPython Subject: Re: [IronPython] Bad performance calling .NET method You were right about the structs. By creating a method with the same type of signature (struct, struct, string, Encoding, enumeration). I got the same slowdown in a trivial DLL. This is with the .NET 2.0 version of IP: ** First, the C# code: namespace IronPythonInteropPerf { using System.Text; public struct Struct1 { internal int i; } public struct Struct2 { internal int i; } public enum Enumeration { Foo, } public static class Interop { public static void A(Struct1 a, Struct2 b, string x, Encoding encoding, Enumeration e) { } } } ** Now the IronPython test: import System import System.Diagnostics import System.Text from System.Diagnostics import Stopwatch from System.Text import Encoding import clr clr.AddReferenceByPartialName('IronPythonInteropPerf') from IronPythonInteropPerf import * N = 1000000 a = Struct1() b = Struct2() c = 'hello' d = Enumeration.Foo stopwatch = Stopwatch.StartNew() for i in xrange(N): Interop.A(a, b, c, Encoding.Unicode, d) stopwatch.Stop() print ' A: %s' % stopwatch.Elapsed def foo(a1, a2, a3, a4, a5): stopwatch = Stopwatch.StartNew() for j in xrange(N): Interop.A(a1, a2, a3, a4, a5) stopwatch.Stop() print 'foo.A: %s' % stopwatch.Elapsed foo(a, b, c, Encoding.Unicode, d) ** Note that I am calling Interop.A twice. This gives very different results -- the call from inside of function foo() is fast (11M calls/second) but the call from the script is slow (50K calls/second): A: 00:00:18.6063353 foo.A: 00:00:00.0894888 There isn't a caching effect at work either -- foo() is faster if I call it before the other code. ________________________________ From: users-bounces at lists.ironpython.com [users-bounces at lists.ironpython.com] on behalf of Dino Viehland [dinov at microsoft.com] Sent: Tuesday, April 20, 2010 11:34 AM To: Discussion of IronPython Subject: Re: [IronPython]Bad performance calling .NET method I assume something is going horribly wrong with our type checks. Can you attach the repro? Or at least are these just classes, or are any structs, or maybe weird classes like delegates? And is this on .NET 2.0 or .NET 4.0? From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Laurion Burchall Sent: Tuesday, April 20, 2010 2:11 AM To: Discussion of IronPython Subject: [IronPython] Bad performance calling .NET method I am getting terrible performance invoking a C# method from IP. I have a static class called Api with this method: public static void MakeKey(JET_SESID sesid, JET_TABLEID tableid, string data, Encoding encoding, MakeKeyGrbit grbit) When I call it directly from C# I get about 3M calls/second. In IronPython I get only 50,000 calls/second -- a 60X slowdown! The method is overloaded. When I call these overloads I get good performance (~ 1M calls/second): public static void MakeKey(JET_SESID sesid, JET_TABLEID tableid, int data, MakeKeyGrbit grbit) public static void MakeKey(JET_SESID sesid, JET_TABLEID tableid, float data, MakeKeyGrbit grbit) public static void MakeKey(JET_SESID sesid, JET_TABLEID tableid, byte[] data, MakeKeyGrbit grbit) (for the last overload I passed in the string turned into a byte array with Encoding.GetBytes()) Things I have tried that didn't help: - Changing the name of the method so it was unique. - Calling the method using Api.MakeKey.Overloads[...] - Calling other methods I have that take string arguments. They were fast. When I profile the code the time shows up in mscorwks.dll (56%) and mscorlib.ni.dll (17%). IronPython is only 8% and my code is 6%. Can anyone help me work out what is going wrong? I have a short, turn-key repro of this. MakeKey is a very commonly used method so having it be so slow is crippling. thanks, --Laurion -------------- next part -------------- An HTML attachment was scrubbed... URL: From fuzzyman at voidspace.org.uk Fri Apr 23 12:24:44 2010 From: fuzzyman at voidspace.org.uk (Michael Foord) Date: Fri, 23 Apr 2010 12:24:44 +0200 Subject: [IronPython] Still stuck on rich editor with IronPython and Silverlight In-Reply-To: <1B42307CD4AADD438CDDA2FE1121CC9217336B9F@TK5EX14MBXC136.redmond.corp.microsoft.com> References: <4BD0C35A.2080909@voidspace.org.uk> <4BD0C964.6050400@bakalari.cz> <4BD0D068.9040004@voidspace.org.uk> <1B42307CD4AADD438CDDA2FE1121CC9217336B9F@TK5EX14MBXC136.redmond.corp.microsoft.com> Message-ID: <4BD1756C.5050504@voidspace.org.uk> So setting the RuntimeVersion in the Chiron.exe.config to 4.0.50401.0 (and also updating our Silverlight binaries to the standard IronPython 2.6.1 version - which I *thought* I had already done) works! We now have a Silverlight Rich Text Editor working in our app. Still a bit of work to fully integrate it, but it is now possible. http://skitch.com/fuzzyman/dy8qe/silverlight-template Many Thanks! Michael On 23/04/2010 01:53, Jimmy Schementi wrote: >> On 23/04/2010 00:10, Lukas Cenovsky wrote: >> >>> I think when AppManifest.xaml is in app folder, Chiron won't generate it. >>> >>> >> That is correct - which means when we add (or remove) an assembly we >> have to also manually add it to the AppManifest because Chiron will no >> longer do it for us... >> > You don't need to save the AppManifest.xaml to disk, just change Silverlight\bin\Chiron.exe.config (in your IronPython installation directory). It's a very simple change to the section: where it says RuntimeVersion change its value to "4.0.50401.0". This will cause Chiron.exe to generate the appropriate AppManifest.xaml for you, regardless of whether or not you want to generate it to disk. > > However, if you don't want to change every installation of IronPython that you have, saving the AppManifest.xaml to disk is totally fine, and will still work in the scenario you're describing. Chiron does NOT do any detection of assemblies in your app and add them to the AppManifest.xaml, because it doesn't need to. The AppManifest.xaml's section is the equivalent of "Add Reference" in a C# Silverlight app. In Python, that just translates to a clr.AddReferenceToFile; there is no need to list it in the AppManifest.xaml. Even listing it in the AppManfiest.xaml still requires you to do use clr.AddReferenceToFile, as the DLR integration does not load AssemblyParts for Python to use (maybe it should, but it doesn't today). > > ~Jimmy > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > -- http://www.ironpythoninaction.com/ From brousch at gmail.com Fri Apr 23 22:32:19 2010 From: brousch at gmail.com (Ben Rousch) Date: Fri, 23 Apr 2010 16:32:19 -0400 Subject: [IronPython] Compile IronPython Script to EXE on Linux Message-ID: OS: Ubuntu 9.10 using IronPython PPA https://launchpad.net/~gezakovacs/+archive/ironpython IronPython Version: IronPython 2.6 Beta 2 DEBUG (2.6.0.20) on .NET 2.0.50727.1433 Mono Version: Mono JIT compiler version 2.4.4 (Debian 2.4.4~svn151842-1gezakovacs~karmic1) I'm having trouble compiling any IronPython script to EXE on Linux. The scripts compile fine on IronPython2.6 on Windows. The DLL generated by the script before the exe step seems correct. I am using the pyc.exe script downloaded from: http://ironpython.codeplex.com/sourcecontrol/network/Show?projectName=IronPython&changeSetId=65328#991948 I am using a command like: ipy pyc.exe /main:hello.py /target:exe The error is: SystemError: Method is not VarArgs method and optional types were passed And it comes on this line: gen.EmitCall(OpCodes.Call, clr.GetClrType(Assembly).GetMethod("GetEntryAssembly"), ()) The simplest example script is: import clr print "Hello world" -- Ben Rousch brousch at gmail.com http://ishmilok.blogspot.com/ From jdhardy at gmail.com Sat Apr 24 00:53:07 2010 From: jdhardy at gmail.com (Jeff Hardy) Date: Fri, 23 Apr 2010 16:53:07 -0600 Subject: [IronPython] Calling a Python function with passed in args/kwargs from C# Message-ID: I'm trying to call a Python function from C# using args/kwargs from the C# function, like so: public void Frob(CodeContext context, [ParamDictionary]IDictionary kwargs, params object[] args) { context.LanguageContext.Operations.Invoke(foo, args, kwargs); } foo is a Python callable object - in this case it's just: def foo(*args, **kwargs): print args print kwargs so that I can what is actually passed to it. I'd like to call foo with the equivalent of Python's foo(*args, **kwargs). Passing it the way I did above just passes the arguments into args without expanding them. Is there any way to trigger the argument expansion from C#? - Jeff From dinov at microsoft.com Sat Apr 24 01:27:15 2010 From: dinov at microsoft.com (Dino Viehland) Date: Fri, 23 Apr 2010 23:27:15 +0000 Subject: [IronPython] Calling a Python function with passed in args/kwargs from C# In-Reply-To: References: Message-ID: <1A472770E042064698CB5ADC83A12ACD3955E642@TK5EX14MBXC118.redmond.corp.microsoft.com> Jeff wrote: > I'm trying to call a Python function from C# using args/kwargs from > the C# function, like so: > > public void Frob(CodeContext context, [ParamDictionary]IDictionary > kwargs, params object[] args) > { > context.LanguageContext.Operations.Invoke(foo, args, kwargs); > } > > foo is a Python callable object - in this case it's just: > > def foo(*args, **kwargs): > print args > print kwargs > > so that I can what is actually passed to it. > > I'd like to call foo with the equivalent of Python's foo(*args, > **kwargs). Passing it the way I did above just passes the arguments > into args without expanding them. Is there any way to trigger the > argument expansion from C#? I think you want PythonCalls.CallWithKeywordArgs. You'll need an IDictionary instead of a plain old IDictionary though (or you'll need to unpack the args for the other overload). Either way we end up calling this with a binder which should splat both arguments. If perf is important for this call we could talk about opening up PythonContext.Invoke(CallSignature) so you could create a call site which uses whatever signature you want. From jdhardy at gmail.com Sat Apr 24 01:41:34 2010 From: jdhardy at gmail.com (Jeff Hardy) Date: Fri, 23 Apr 2010 17:41:34 -0600 Subject: [IronPython] Calling a Python function with passed in args/kwargs from C# In-Reply-To: <1A472770E042064698CB5ADC83A12ACD3955E642@TK5EX14MBXC118.redmond.corp.microsoft.com> References: <1A472770E042064698CB5ADC83A12ACD3955E642@TK5EX14MBXC118.redmond.corp.microsoft.com> Message-ID: On Fri, Apr 23, 2010 at 5:27 PM, Dino Viehland wrote: > I think you want PythonCalls.CallWithKeywordArgs. ?You'll need an IDictionary > instead of a plain old IDictionary though (or you'll need to unpack the args for the other > overload). Either way we end up calling this with a binder which ?should splat both arguments. That worked perfectly. Thanks, yet again! (Also, splatting is the word I was looking for - I knew it was something that sounded silly). How you manage to keep all of these APIs in your head is a mystery to me :). > > If perf is important for this call we could talk about opening up > PythonContext.Invoke(CallSignature) so you could create a call site which uses whatever > signature you want. For now I don't think performance will be an issue, but I'll have to measure it and see. - Jeff From jdhardy at gmail.com Sat Apr 24 01:57:57 2010 From: jdhardy at gmail.com (Jeff Hardy) Date: Fri, 23 Apr 2010 17:57:57 -0600 Subject: [IronPython] Default-valued arguments to C# functions Message-ID: I've got some functions implemented in C# that need to have optional, defaulted parameters. So far I've been declaring them similar to: public object cursor(CodeContext context, [Optional][DefaultValue(null)]object factory) However, if factory is not specified, instead of being set to null, it's a System.Reflection.Missing instance. Removing the DefaultValue or changing the order doesn't change the outcome. Is this expected behaviour? - Jeff From dinov at microsoft.com Sat Apr 24 03:01:05 2010 From: dinov at microsoft.com (Dino Viehland) Date: Sat, 24 Apr 2010 01:01:05 +0000 Subject: [IronPython] Default-valued arguments to C# functions In-Reply-To: References: Message-ID: <1A472770E042064698CB5ADC83A12ACD3955ED9B@TK5EX14MBXC118.redmond.corp.microsoft.com> Jeff wrote: > I've got some functions implemented in C# that need to have optional, > defaulted parameters. So far I've been declaring them similar to: > > public object cursor(CodeContext context, > [Optional][DefaultValue(null)]object factory) > > However, if factory is not specified, instead of being set to null, > it's a System.Reflection.Missing instance. Removing the DefaultValue > or changing the order doesn't change the outcome. Is this expected > behaviour? I think removing optional should give you the correct behavior - if that Works then yes it is the expected behavior :). I guess we're checking for Optional before DefaultValue and for Optional we are matching the reflection behavior of passing Missing.Value. It also gives you a way to disambiguate whether the user passed None/null or if they didn't provide the parameter. From jdhardy at gmail.com Sat Apr 24 05:32:49 2010 From: jdhardy at gmail.com (Jeff Hardy) Date: Fri, 23 Apr 2010 21:32:49 -0600 Subject: [IronPython] Default-valued arguments to C# functions In-Reply-To: <1A472770E042064698CB5ADC83A12ACD3955ED9B@TK5EX14MBXC118.redmond.corp.microsoft.com> References: <1A472770E042064698CB5ADC83A12ACD3955ED9B@TK5EX14MBXC118.redmond.corp.microsoft.com> Message-ID: On Fri, Apr 23, 2010 at 7:01 PM, Dino Viehland wrote: > I think removing optional should give you the correct behavior - if that > Works then yes it is the expected behavior :). No, removing Optional makes the parameter required. > > I guess we're checking for Optional before DefaultValue and for Optional we > are matching the reflection behavior of passing Missing.Value. ?It also gives > you a way to disambiguate whether the user passed None/null or if they > didn't provide the parameter. Maybe check if DefaultValue is provided? It's definitely surprising that adding DefaultValue(null) doesn't set it to null. - Jeff From curt at hagenlocher.org Sat Apr 24 05:43:03 2010 From: curt at hagenlocher.org (Curt Hagenlocher) Date: Fri, 23 Apr 2010 20:43:03 -0700 Subject: [IronPython] Default-valued arguments to C# functions In-Reply-To: References: Message-ID: On Fri, Apr 23, 2010 at 4:57 PM, Jeff Hardy wrote: > I've got some functions implemented in C# that need to have optional, > defaulted parameters. So far I've been declaring them similar to: > > public object cursor(CodeContext context, > [Optional][DefaultValue(null)]object factory) I think you need to use DefaultValueParameter instead of DefaultValue. It's an easy mistake to make -- I've made it myself. :( -- Curt Hagenlocher curt at hagenlocher.org -------------- next part -------------- An HTML attachment was scrubbed... URL: From curt at hagenlocher.org Sat Apr 24 05:43:52 2010 From: curt at hagenlocher.org (Curt Hagenlocher) Date: Fri, 23 Apr 2010 20:43:52 -0700 Subject: [IronPython] Default-valued arguments to C# functions In-Reply-To: References: Message-ID: On Fri, Apr 23, 2010 at 8:43 PM, Curt Hagenlocher wrote: > On Fri, Apr 23, 2010 at 4:57 PM, Jeff Hardy wrote: > >> I've got some functions implemented in C# that need to have optional, >> defaulted parameters. So far I've been declaring them similar to: >> >> public object cursor(CodeContext context, >> [Optional][DefaultValue(null)]object factory) > > > I think you need to use DefaultValueParameter instead of DefaultValue. It's > an easy mistake to make -- I've made it myself. :( > Gah! I mean "DefaultParameterValue". -Curt -------------- next part -------------- An HTML attachment was scrubbed... URL: From jdhardy at gmail.com Sat Apr 24 22:23:42 2010 From: jdhardy at gmail.com (Jeff Hardy) Date: Sat, 24 Apr 2010 14:23:42 -0600 Subject: [IronPython] Default-valued arguments to C# functions In-Reply-To: References: Message-ID: On Fri, Apr 23, 2010 at 9:43 PM, Curt Hagenlocher wrote: >> I think you need to use DefaultValueParameter instead of DefaultValue. >> It's an easy mistake to make -- I've made it myself. :( > > Gah! I mean "DefaultParameterValue". That did it - thanks Curt. I agree that that's way to subtle a difference, but I'm not sure what can be done about it. Interestingly, using DefaultValue worked for anything that wasn't an object - `[Optional][DefaultValue(-1)]int index` worked just fine. - Jeff From merllab at microsoft.com Fri Apr 23 23:48:42 2010 From: merllab at microsoft.com (merllab at microsoft.com) Date: Fri, 23 Apr 2010 14:48:42 -0700 Subject: [IronPython] IronPython 2.6 CodePlex Source Update Message-ID: <972e8f53-ee90-400e-b10b-e8ac466a8710@tk5-exsmh-c101.redmond.corp.microsoft.com> This is an automated email letting you know that sources have recently been pushed out. You can download these newer sources directly from http://ironpython.codeplex.com/SourceControl/changeset/view/65732. ADDED SOURCES $/IronPython/IronPython_Main/Languages/IronPython/IronPythonTest/Cmplx.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPythonTest/AssemblyInfo.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/Tools/baselines/cStringIO.log $/IronPython/IronPython_Main/Languages/IronPython/Tests/Tools/baselines/select.log $/IronPython/IronPython_Main/Languages/IronPython/Tests/hosting/__init__.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/modules/misc/operator_test.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/modules/system_related/time_test.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/modules/system_related/nt_test.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/modules/io_related/codecs_test.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/modules/io_related/binascii_test.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/modules/io_related/cStringIO_test.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/modules/misc $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/property/__init__.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/loadorder/t4a.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/loadorder/t3c0.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/loadorder/t5c1.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/loadorder/t7b.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/loadorder/t3c1.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/type/test_ctor.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/derivation/test_special_method.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/method/test_returnvalue.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/__init__.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/test_accessibility.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/com/dlrcomlib/pytraits/obj.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/com/dlrcomlib/pytraits/method.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/com/dlrcomlib/SimpleErrors.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/com/apps/msagent.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/__init__.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/functions/signatures.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/Inputs/exit.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/compat/sbs_exceptions/for_loop.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/compat/sbs_exceptions/if_false.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/pyc/pkg/a.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/pyc/pycpkgtest.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/pyc/console_hw_args.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/plans/interop.net.method.test_operators.html $/IronPython/IronPython_Main/Languages/IronPython/Tests/plans/interop.net.field.test_fields_inside_enum.html $/IronPython/IronPython_Main/Languages/IronPython/Tests/plans/interop.net.method.test_op_implicit.html $/IronPython/IronPython_Main/Languages/IronPython/Tests/plans/interop.net.property.html $/IronPython/IronPython_Main/Languages/IronPython/Tests/dynamic_sanity/dynamic_runner.bat $/IronPython/IronPython_Main/Languages/IronPython/Tests/modules $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_system_timers.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_formatting.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_iterator.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/debugging $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_missing.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/timeit.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/check_result.bat $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_doc.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/custombuiltins.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_privateBinding.py $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Lib/iptest/type_util.py $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Lib/iptest/runner.py $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Modules/Builtin.Generated.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Modules/sys.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/OrExpression.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/ListComprehensionFor.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/WithStatement.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/LambdaExpression.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/PythonOperator.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/SuiteStatement.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/DynamicGetMemberExpression.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/DictionaryExpression.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/ListComprehension.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/AssignmentStatement.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/BinaryExpression.Generated.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/GlobalAllocator.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/ReducableDynamicExpression.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Parser.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/OnDiskScriptCode.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/BuiltinMethodDescriptor.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/DocBuilder.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/TypeCache.Generated.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/DynamicBaseTypeAttribute.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Operations/BoolOps.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Operations/PythonCalls.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Operations/UserTypeOps.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Exceptions/BytesWarningException.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Exceptions/GeneratorExitException.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Exceptions/UnicodeException.Generated.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Exceptions/OSException.Generated.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/PythonIndexType.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/PythonUnaryOperationBinder.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/PythonBinder.Create.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/IComConvertible.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/FastBindResult.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/PythonGetSliceBinder.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/GlobalDictionaryStorage.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/ModuleDictionaryStorage.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Descriptors.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/PythonFunction.Generated.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/PythonTracebackListener.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/ThrowingErrorSink.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/OutputWriter.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/PythonContext.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/DontMapICollectionToLenAttribute.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/IParameterSequence.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/ObjectDebugView.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/ConstantDictionaryStorage.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/WrapperDescriptorAttribute.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Lib $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Resources.resx $/IronPython/IronPython_Main/Languages/IronPython/Scripts/test_parrot.py $/IronPython/IronPython_Main/Languages/IronPython/Scripts/run_compiled.py $/IronPython/IronPython_Main/Languages/IronPython/Scripts/generate_exception_factory.py $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_ctypes/Field.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_ctypes/CFuncPtr.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/nt.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_winreg.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_random.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_sha.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/signal.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_struct.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_bytesio.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/datetime.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_codecs.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPythonTest $/IronPython/IronPython_Main/Languages/IronPython/IronPython $/IronPython/IronPython_Main/Languages/IronPython $/IronPython/IronPython_Main/Test $/IronPython/IronPython_Main/Hosts/Silverlight/Chiron/Crc32.cs $/IronPython/IronPython_Main/Hosts/Silverlight/Chiron/NotifyIcon.ico $/IronPython/IronPython_Main/Hosts/Silverlight/Chiron/README.txt $/IronPython/IronPython_Main/Hosts/Silverlight/Chiron/Properties $/IronPython/IronPython_Main/Hosts/Silverlight/Microsoft.Scripting.SilverLight/DynamicAppManifest.cs $/IronPython/IronPython_Main/Hosts/Silverlight/Microsoft.Scripting.SilverLight/ErrorFormatter.cs $/IronPython/IronPython_Main/Hosts/Silverlight/Microsoft.Scripting.SilverLight $/IronPython/IronPython_Main/Test/DlrComLibrary/DlrComLibrary.rc $/IronPython/IronPython_Main/Test/DlrComLibrary/OptionalParams.h $/IronPython/IronPython_Main/Test/DlrComLibrary/ParamsInRetval.rgs $/IronPython/IronPython_Main/Test/DlrComLibrary/DlrComLibrary.cpp $/IronPython/IronPython_Main/Test/DlrComLibrary/Properties.h $/IronPython/IronPython_Main/Test/DlrComLibrary/IndexedProp.h $/IronPython/IronPython_Main/Test/ClrAssembly/Src/loadorder/loadorder_3b.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/testsupport.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/loadorder $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Hosting/Providers/HostingHelpers.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Hosting/ScriptRuntime.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Utils/ExceptionFactory.Generated.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Runtime/SourceStringContentProvider.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Runtime/ReturnFixer.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/TextContentProvider.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/ErrorSink.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Microsoft.Scripting.csproj $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Hosting/Shell/SuperConsole.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Hosting/Shell/IConsole.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Hosting/Shell/OptionsParser.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Utils/ValueArray.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Utils/ReadOnlyDictionary.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/Calls/RestrictedArguments.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/Calls/KeywordArgBuilder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/Calls/OutArgBuilder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/Calls/OverloadResolverFactory.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Math/Complex64.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/LanguageBoundTextContentProvider.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/ModuleChangeEventType.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Interpreter/Instructions/ArrayOperations.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/UnaryExpression.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Compiler/CompilerScope.Storage.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Compiler/StackSpiller.Generated.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Compiler/RuntimeVariableList.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Compiler/ILGen.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Compiler/LambdaCompiler.Binary.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Utils/ExceptionFactory.Generated.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Utils/Function.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Debugging/CompilerServices/DebugLambdaInfo.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Debugging/DebugMode.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Debugging/AssemblyInfo.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPythonWindow/ipyw.ico $/IronPython/IronPython_Main/Languages/IronPython/IronPythonWindow/IronPythonWindow.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPythonTest/ProtocolTest.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/Tools/modulediff.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/hosting/editor_svcs/tokencategorizer.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/modules/misc/datetime_test.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/modules/type_related $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/loadorder/t2f.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/loadorder/t4b.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/loadorder/t1b.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/derivation/test_simplederive.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/field/test_literal_fields.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/com/dlrcomlib/InOutParams.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/com/apps/word.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/com/compat $/IronPython/IronPython_Main/Languages/IronPython/Tests/encoded_files/cp1019.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/XLang/some_ruby_file.rb $/IronPython/IronPython_Main/Languages/IronPython/Tests/Modes/ConsoleHelp.Release.out $/IronPython/IronPython_Main/Languages/IronPython/Tests/debugging/mdbg_tool $/IronPython/IronPython_Main/Languages/IronPython/Tests/Inputs/RemoteConsole.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/compat/sbs_library.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/pyc/winforms_hw.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/plans/interop.net.derivation.test_property_override.html $/IronPython/IronPython_Main/Languages/IronPython/Tests/toimport.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/perf_micro_calls.py $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_ctypes/Union.cs $/IronPython/IronPython_Main/Languages/IronPython/Scripts/copyrights.py $/IronPython/IronPython_Main/Languages/IronPython/Scripts/generate_calls.py $/IronPython/IronPython_Main/Languages/IronPython/Scripts/smtpmailer.py $/IronPython/IronPython_Main/Languages/IronPython/Scripts/generate_symboltable.py $/IronPython/IronPython_Main/Languages/IronPython/Scripts/generate_exceptions.py $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/PythonContext.Generated.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/PythonHiddenAttribute.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Slice.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/WeakRef.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/DontMapIEnumerableToIterAttribute.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/ModuleGlobalCache.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Operations $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/PythonDynamicStackFrame.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Enumerate.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Importer.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/DontMapGetMemberNamesToDirAttribute.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/BindingWarnings.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/EmptyDictionaryStorage.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/ClassMethodDescriptor.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/PythonTuple.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/IFastGettable.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/IPythonSite.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/MetaPythonType.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Exceptions/Win32Exception.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Exceptions/FutureWarningException.Generated.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Exceptions/LookupException.Generated.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Operations/ArrayOps.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Operations/DecimalOps.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Operations/ListOfTOps.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Operations/DictionaryOfTOps.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Operations/CharOps.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/OperatorMapping.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/OldClass.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/PythonTypeDataSlot.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/OldInstance.Generated.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/TypeInfo.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/ReflectedGetterSetter.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/LazyCode.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Tokenizer.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/TryStatement.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/VariableKind.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/DottedName.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/ListComprehensionIf.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/TupleExpression.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/DelStatement.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/CallExpression.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/Expression.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/IndexExpression.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/ModuleName.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/IfStatementTest.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/ForStatement.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Hosting/PythonOptionsParser.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Hosting/PythonConsoleOptions.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Lib/iptest/test_env.py $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Lib/iptest/assert_util.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_clrnuminterop.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_bigint.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_clrload2.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_excinfo.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_list.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/silverlight_sanity $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_specialcontext.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_delegate.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_bool.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_buffer.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/c2.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_nonetype.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_python25.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/plans/debugging.pdb_mod.html $/IronPython/IronPython_Main/Languages/IronPython/Tests/plans/interop.net.field.html $/IronPython/IronPython_Main/Languages/IronPython/Tests/plans/interop.net.html $/IronPython/IronPython_Main/Languages/IronPython/Tests/plans/interop.net.type.test_reachtype.html $/IronPython/IronPython_Main/Languages/IronPython/Tests/pyc/console_hw.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/compat/runsbs.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/compat/sbs_simple_compare.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/compat/sbs_exceptions/__init__.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/compat/sbs_exceptions/try_finally2.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/silverlight_sanity/app $/IronPython/IronPython_Main/Languages/IronPython/Tests/debugging/vs $/IronPython/IronPython_Main/Languages/IronPython/Tests/debugging/pdb_mod $/IronPython/IronPython_Main/Languages/IronPython/Tests/Inc/execfile_scope.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/encoded_files/cp11334_warn.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/com/compat/__init__.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/com/apps/adodb.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/com/dlrcomlib/properties.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/insert_csharp.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/dynamic $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/versions/__init__.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/field/test_static_fields.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/derivation/test_property_override.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/loadorder/t2d.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/loadorder/t2h.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/loadorder/t4c.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/loadorder/t7c.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/loadorder/t1a.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/loadorder/t2a.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/property/test_property.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/modules/system_related $/IronPython/IronPython_Main/Languages/IronPython/Tests/modules/__init__.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/modules/type_related/array_test.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/modules/system_related/__init__.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/modules/network_related/__init__.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/modules/misc/_sha512.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/hosting/editor_svcs/errorlistener.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/Tools/logmodule.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/Tools/baselines/sys.log $/IronPython/IronPython_Main/Languages/IronPython/Tests/Tools/baselines/types_only.log $/IronPython/IronPython_Main/Languages/IronPython/IronPythonTest/BinderTest.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPythonTest/IntegerTest.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPythonTest/Exceptions.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPythonTest/Conversions.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Debugging/TracePipeline $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Debugging/Microsoft.Scripting.Debugging.Generated.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPythonTest/ExceptionConverter.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPythonTest/IronMath.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPythonTest/NullableTest.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPythonTest/Stress/Engine.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Debugging/DebugContext.GeneratorLoopProc.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Debugging/DebuggableLambdaBuilder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Debugging/TraceEventKind.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/DebugKey.snk $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/index.htm $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Utils/TypeExtensions.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Compiler/LambdaCompiler.Expressions.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/BinaryExpression.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/MemberMemberBinding.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/ParameterExpression.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/ListArgumentProvider.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Actions/BindingRestrictions.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Actions/DynamicObject.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Actions/CallSite.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Actions/CallInfo.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/IValueEquality.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Properties $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/PerfTrack.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Interpreter/BranchLabel.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Interpreter/LightLambdaClosureVisitor.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Interpreter/LightLambda.Generated.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Interpreter/Instructions/InstructionList.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Generation/IExpressionSerializable.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/SavableScriptCode.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/ExtraKeyEnumerator.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/CallTypes.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/EventTracker.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/ArgumentType.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/DefaultBinder.Operations.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/Calls/ActualArguments.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Ast/Block.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Ast/LightDynamicExpression.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/ComClassMetaObject.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/DispatchArgBuilder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/ComMethodDesc.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/ComRuntimeHelpers.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/ErrorArgBuilder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/TypeEnumMetaObject.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/VariantArgBuilder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/ComBinderHelpers.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Utils/AssemblyQualifiedTypeName.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Utils/ReflectionUtils.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Hosting/Shell $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Hosting/Shell/ConsoleHost.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Hosting/Shell/Remote/RemoteRuntimeServer.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Stubs.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/SpecSharp.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/SourceFileContentProvider.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Runtime/DlrConfiguration.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Runtime/ContextId.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Runtime/DocumentationAttribute.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Utils/DictionaryUnionEnumerator.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Hosting/CompiledCode.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Hosting/Shell/Remote/RemoteCommandDispatcher.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/missingtype.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/typeforwardee1.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/loadorder/loadorder_3a.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/loadorder/loadorder_3c.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/loadorder/loadorder_2e.cs $/IronPython/IronPython_Main/Test/DlrComLibrary/ProvidesClassInfo.cpp $/IronPython/IronPython_Main/Test/DlrComLibrary/Resource.h $/IronPython/IronPython_Main/Test/DlrComLibrary/SimpleErrors.cpp $/IronPython/IronPython_Main/Test/DlrComLibrary/DlrComLibrary.rgs $/IronPython/IronPython_Main/Test/DlrComLibrary/_IDlrComServerEvents_CP.h $/IronPython/IronPython_Main/Test/DlrComLibrary/DlrComServer.rgs $/IronPython/IronPython_Main/Hosts/Silverlight/Microsoft.Scripting.SilverLight/Properties/AssemblyInfo.cs $/IronPython/IronPython_Main/Hosts/Silverlight/Chiron/DetailsForm.Designer.cs $/IronPython/IronPython_Main/Hosts/Silverlight/Chiron/sl.png $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_fileio.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/select.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/math.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_ctypes/Array.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_ctypes/SimpleCData.cs $/IronPython/IronPython_Main/Languages/IronPython/Scripts/generate_dynamic_instructions.py $/IronPython/IronPython_Main/Languages/IronPython/Scripts/generate_UncollectableCompilationMode.py $/IronPython/IronPython_Main/Languages/IronPython/Scripts/generate_dynsites.py $/IronPython/IronPython_Main/Languages/IronPython/IronPython/IronPython.csproj $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/FunctionCode.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/FunctionAttributes.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/PythonOptions.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/DontMapIEnumerableToContainsAttribute.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/BuiltinsDictionaryStorage.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/PythonGetMemberBinder.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/ConversionBinder.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/PythonBinaryOperationBinder.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Exceptions/WarningException.Generated.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Exceptions/PythonExceptions.Generated.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Exceptions/BufferException.Generated.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Operations/PythonTypeOps.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Operations/FloatOps.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Operations/IListOfByteOps.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/BuiltinFunction.Generated.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/ExtensionPropertyInfo.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/CachedNewTypeInfo.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/OldInstance.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/PythonSavableScriptCode.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/FromImportStatement.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Hosting/PythonCommandLine.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Lib/iptest/console_util.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_exec.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_number.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/dllsite.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_builtinfunc.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/pyc $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_traceback.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_numberhash.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/pickles $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_stdmodules.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_superconsole.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/plans/interop.net.type.test_assembly.html $/IronPython/IronPython_Main/Languages/IronPython/Tests/plans/interop.net.method.test_op_explicit.html $/IronPython/IronPython_Main/Languages/IronPython/Tests/plans/interop.net.property.test_property.html $/IronPython/IronPython_Main/Languages/IronPython/Tests/plans/debugging.vs.html $/IronPython/IronPython_Main/Languages/IronPython/Tests/plans/interop.net.method.test_arguments.html $/IronPython/IronPython_Main/Languages/IronPython/Tests/compat/sbs_typeop.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/compat/sbs_func_args.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/compat/sbs_builtin.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/compat/sbs_exceptions/try_else.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/silverlight_sanity/index.html $/IronPython/IronPython_Main/Languages/IronPython/Tests/debugging/mdbg_tool/__init__.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/com/compat/hw.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/com/dlrcomlib/dlrcomserver.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/property $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/method/test_arguments.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/event/test_event.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/derivation/test_ctor_override.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/loadorder/t6.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/loadorder/t2c.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/modules/system_related/gc_test.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/modules/network_related/socket_test.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/Tools/clr_helpers.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/Tools/baselines/time.log $/IronPython/IronPython_Main/Languages/IronPython/Tests/Tools/baselines/cPickle.log $/IronPython/IronPython_Main/Languages/IronPython/Tests/Tools/baselines/xxsubtype.log $/IronPython/IronPython_Main/Languages/IronPython/IronPythonTest/DelegateTest.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPythonTest/BindTest.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Debugging/DebugSourceSpan.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Actions $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Compiler/StackSpiller.Bindings.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Compiler/ConstantCheck.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Compiler/LambdaCompiler.Logical.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Compiler/LambdaCompiler.Generated.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/RuntimeVariablesExpression.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/TypeUtils.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/IndexExpression.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/IArgumentProvider.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Math $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Hosting $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Interpreter/Instructions $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Interpreter/Instructions/AddInstruction.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Interpreter/Instructions/CallInstruction.Generated.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Generation/CompilerHelpers.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Generation/ToDiskRewriter.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Generation/ConstantCheck.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/ExceptionHelpers.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/PositionTrackingWriter.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/ICustomScriptCodeData.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/CustomSymbolDictionary.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/BaseSymbolDictionary.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/ReflectedPropertyTracker.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/OperationMetaObject.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/DefaultBinder.MethodCalls.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/Calls/OverloadInfo.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/Calls/ParamsArgBuilder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Ast/IfStatementTest.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Ast/BlockBuilder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/Variant.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/CollectionExtensions.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Runtime/StreamContentProvider.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Runtime/ScriptDomainManager.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Runtime/NotNullAttribute.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Utils/AssemblyQualifiedTypeName.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Utils/Assert.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Hosting/ParameterDoc.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Hosting/ExceptionOperations.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Hosting/Providers $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Hosting/Shell/Remote/RemoteConsoleCommandLine.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Hosting/Configuration/LanguageElement.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/baseclassvb.vb $/IronPython/IronPython_Main/Test/ClrAssembly/Src/loadexception.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/loadorder/loadorder_2.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/loadorder/loadorder_1a.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/loadorder/loadorder_1c.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/loadorder/loadorder_4c.cs $/IronPython/IronPython_Main/Test/DlrComLibrary/MultipleParams.cpp $/IronPython/IronPython_Main/Test/DlrComLibrary/IndexedProp.cpp $/IronPython/IronPython_Main/Test/DlrComLibrary/NonDispatch.rgs $/IronPython/IronPython_Main/Test/DlrComLibrary/HiddenMembers.h $/IronPython/IronPython_Main/Test/DlrComLibrary/NoTypeInfo.h $/IronPython/IronPython_Main/Test/DlrComLibrary/Properties.rgs $/IronPython/IronPython_Main/Hosts/Silverlight/Microsoft.Scripting.SilverLight/repl_formatter.py $/IronPython/IronPython_Main/Hosts/Silverlight/Microsoft.Scripting.SilverLight/Window.cs $/IronPython/IronPython_Main/Hosts/Silverlight/Microsoft.Scripting.SilverLight/Microsoft.Scripting.Silverlight.csproj $/IronPython/IronPython_Main/Solutions/IronPython.sln $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/TypeUtils.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/IDispatchMetaObject.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/Errors.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/ArgBuilder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Ast/UnaryExpression.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Ast/SymbolConstantExpression.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Ast/SourceFileInformation.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Ast/DebugStatement.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/TopNamespaceTracker.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/OperationBinder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/NestedTypeTracker.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/MethodTracker.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/ConversionResultKind.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/ComboBinder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Hosting/ScriptEngine.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Debugging/InvokeTargets.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Debugging/DebugThread.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Debugging/TracePipeline/TracePipeline.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/Expression.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Actions/DynamicMetaObject.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Actions/UnaryOperationBinder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Interpreter $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Interpreter/Instructions/EqualInstruction.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/CodeDomCodeGen.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/LegacyScriptCode.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/CallTargets.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/Generator.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Utils/CopyOnWriteList.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Utils/ContractUtils.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Utils/EnumUtils.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/InvalidImplementationException.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Runtime/ScriptingRuntimeHelpers.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Utils/ConsoleInputStream.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/fieldtests.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/loadorder/loadorder_3i.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/cmath.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/gc.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_ctypes/PointerType.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_ctypes/UnionType.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/DefaultContext.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Interfaces.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/ScopeDictionaryStorage.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Set.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/PythonModule.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/ObjectAttributesAdapter.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/IFastSettable.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/BinaryRetTypeBinder.Generated.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/PythonSetSliceBinder.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/MetaPythonType.Members.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Exceptions/SystemExitException.cs $/IronPython/IronPython_Main/Languages/IronPython/Scripts/clean.py $/IronPython/IronPython_Main/Languages/IronPython/Scripts/generate_ops.py $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Exceptions/SyntaxWarningException.Generated.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Operations/PythonOps.Generated.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/TypeInfo.Generated.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/ParameterInfoWrapper.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/PythonTypeUserDescriptorSlot.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/EmptyType.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/SerializedScopeStatement.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/ReturnStatement.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/EmptyStatement.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/ContinueStatement.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/Parameter.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/PythonReference.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/GetParentContextFromFunctionExpression.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Lib/site.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/badil.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_genericmeth.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_decorator.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/RunAgainstCpy.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_clruse.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/functions $/IronPython/IronPython_Main/Languages/IronPython/Tests/encoded_files $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_attr.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_with.py $/IronPython/IronPython_Main/Hosts/Silverlight/Microsoft.Scripting.SilverLight/Settings.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/loadorder/loadorder_3d.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/PythonCompilerOptions.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/compat/sbs_exceptions/try_except3.py $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/Calls/CandidateSet.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/XRange.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/com/dlrcomlib/__init__.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Debugging/TracePipeline/ITracePipeline.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Tokenizer.Generated.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Utils/Action.cs $/IronPython/IronPython_Main/Test/DlrComLibrary/MultipleParams.rgs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Ast/GeneratorExpression.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/XLang $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Compiler/StackSpiller.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_warnings.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Lib/iptest/cominterop_util.py $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/IMembersList.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/ComboActionRewriter.cs $/IronPython/IronPython_Main/Test/DlrComLibrary/stdafx.h $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/IfStatement.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/plans/interop.net.test_accessibility.html $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_locale.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/DynamicConvertExpression.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_imp.py $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/ActionBinder.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/testpkg1/__init__.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/DynamicExpression.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Interpreter/Instructions/LabelInfo.cs $/IronPython/IronPython_Main/Test/DlrComLibrary/DlrComStopwatch.h $/IronPython/IronPython_Main/Languages/IronPython/Tests/Tools/baselines/nt.log $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/SourceLocation.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Method.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Interpreter/LastFaultingLineExpression.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/BindingRestrictionsHelpers.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/PlatformAdaptationLayer.cs $/IronPython/IronPython_Main/Hosts/Silverlight/Microsoft.Scripting.SilverLight/Repl.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Hosting/Configuration/LanguageElementCollection.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/plans/interop.net.derivation.test_event_override.html $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Operations/InstanceOps.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/loadorder/t1c.py $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/SourceFileContentProvider.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_dict.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/loadorder/t3h.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Runtime/Generator.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/MetaPythonFunction.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/OperationFailed.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Exceptions/ReferenceException.Generated.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/modules/io_related/_bytesio_test.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_stdconsole.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_strformat.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Utils $/IronPython/IronPython_Main/Hosts/Silverlight/SilverlightVersion.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/ListExpression.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/DocumentationAttribute.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/AugmentedAssignStatement.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/compat/rulediff.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/compat/sbs_exceptions/while_loop.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_tcf.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Compiler/LabelInfo.cs $/IronPython/IronPython_Main/Test/DlrComLibrary/DlrComServer.h $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_ctypes/MemoryHolder.cs $/IronPython/IronPython_Main/Languages/IronPython/Scripts/ipcom.ps1 $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Ast/YieldExpression.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Ast/ConstantExpression.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Runtime/Operators.cs $/IronPython/IronPython_Main/Hosts/Silverlight/Chiron/LCA_RESTRICTED/Zip.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Super.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/encoded_files/cp20472.py $/IronPython/IronPython_Main/Languages/IronPython/IronPythonWindow/ipy.ico $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_kwarg.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/TryExpression.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/cStringIO.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/ReflectedField.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/modules/io_related/re_test.py $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/ComBinder.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/loadorder/loadorder_4b.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/UnboundNameException.cs $/IronPython/IronPython_Main/Hosts/Silverlight/Microsoft.Scripting.SilverLight/BrowserScriptHost.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/ClrModule.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_threadsafety.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/LoopExpression.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Hosting/ScriptIO.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Utils/ReferenceEqualityComparer.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Actions/GetIndexBinder.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPythonConsole/IronPythonConsole.csproj $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Hosting/PythonCodeDomCodeGen.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPythonTest/DynamicRegressions.cs $/IronPython/IronPython_Main/Test/DlrComLibrary $/IronPython/IronPython_Main/Languages/IronPython/Tests/Modes/ConsoleFlags.ps1 $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Compiler/StackSpiller.Temps.cs $/IronPython/IronPython_Main/Test/DlrComLibrary/InOutParams.h $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/YieldExpression.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Debugging/RuntimeVariablesSupport $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/ConstructorTracker.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Ast/LoopStatement.cs $/IronPython/IronPython_Main/Languages/IronPython/Scripts/generate_walker.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/silverlight_sanity/run.bat $/IronPython/IronPython_Main/Test/DlrComLibrary/targetver.h $/IronPython/IronPython_Main/Hosts/Silverlight/Chiron/Chiron.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_ctypes/INativeType.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Resources.Designer.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/com/apps/excel.py $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/Calls/ReferenceArgBuilder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Debugging/DefaultRuntimeVariablesImpl $/IronPython/IronPython_Main/Languages/IronPython/IronPythonTest/InheritTest.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Exceptions/DeprecationWarningException.Generated.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Operations/StringOps.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/PrintStatement.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/com/dlrcomlib/pytraits/__init__.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/Tools/baselines/__builtin__.log $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/Helpers.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Utils/CollectionExtensions.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/CompilationMode.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/SliceExpression.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/hosting/stress/__init__.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/Tools/cpy_tests.py $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/IDispatchComObject.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Runtime/DelegateSignatureInfo.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/modules/io_related/copy_reg_test.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Utils/Extension.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/Expression.DebuggerProxy.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Utils/ContractUtils.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/ClassMethodAttribute.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/functions/__init__.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Compiler/Set.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/typeforwarder2.il $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/FastSetBase.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/dynamic/dynamic_regressions.py $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Utils/ListEqualityComparer.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Runtime/SharedIO.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/modules/network_related/_ssl_test.py $/IronPython/IronPython_Main/Test/DlrComLibrary/ParamsInRetval.h $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Exceptions $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/MetaPythonObject.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Exceptions/UnicodeWarningException.Generated.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/com/dlrcomlib $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/method/test_op_explicit.py $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Properties $/IronPython/IronPython_Main/Test/DlrComLibrary/OutParams.h $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/LambdaExpression.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/PythonType.Generated.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/MemberInitExpression.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/Calls/ParameterWrapper.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/c4.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/loadorder/t3d.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Hosting/ErrorListener.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Debugging/DebugInfoRewriter.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Hosting/Shell/Remote/RemoteCommandDispatcher.cs $/IronPython/IronPython_Main/Languages/IronPython/AssemblyVersion.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Modules/imp.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/pretest.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Debugging/LambdaWalker.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPythonTest/DefaultParams.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Utils/HashSet.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Hosting/Shell/ICommandDispatcher.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/eventdefinitions.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_ctypes $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/MetaMethod.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/Inc $/IronPython/IronPython_Main/Languages/IronPython/Tests/plans/interop.net.property.test_indexervb.html $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/type/test_defaultmember.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/modules/misc/_warnings_test.py $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/ScriptingRuntimeHelpers.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/IPythonGetable.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/PythonAsciiEncoding.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Interpreter/Instructions/GreaterThanInstruction.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/ExtensionUnaryOperationBinder.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/List.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/Extensible.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Exceptions/UserWarningException.Generated.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_ctypes/NativeFunctions.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_sre.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/transform.py $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/ComTypeLibDesc.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/loadorder/loadorder_6a.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Runtime/ParamDictionaryAttribute.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Runtime/ScopeStorage.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/Node.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/ExpressionStatement.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Hosting/ScriptHostProxy.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Utils/ReadOnlyCollectionBuilder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Actions/CallSiteOps.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/derivation/test_event_override.py $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/ComInterop.cs $/IronPython/IronPython_Main/Languages/IronPython/Scripts/generate_indicetest.py $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/IPythonObject.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/run_transformed.bat $/IronPython/IronPython_Main/Test/ClrAssembly/Src/defaultmemberscs.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/CustomDictionaryStorage.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/IPythonConvertible.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/Inputs/uninitializedGlobal.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/com/dlrcomlib/OptionalParams.py $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/MetaObjectExtensions.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/NoSideEffectsAttribute.cs $/IronPython/IronPython_Main/Hosts/Silverlight/Chiron/XapBuilder.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/ClosureExpression.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Bytes.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/compat/sbs_exceptions/if_true.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Debugging/DefaultRuntimeVariablesImpl/DebugRuntimeVariables.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/loadorder/loadorder_2b.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_ctypes/LocalOrArg.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/Calls/ArgBuilder.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/GetGlobalContextExpression.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/pyc/pkg/__init__.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Debugging/CollectionUtils.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/loadorder/loadorder_3e.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/socket.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/WrapperDictionary.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/DictProxy.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/loadorder $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/MemberGroup.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/specialcontext/verify_ipyw.py $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/CurrencyArgBuilder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Compiler/LambdaCompiler.ControlFlow.cs $/IronPython/IronPython_Main/Test/DlrComLibrary/IndexedProp.rgs $/IronPython/IronPython_Main/Languages/IronPython/Scripts/generate.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/Inputs/syntaxError.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Utils/StrongBox.cs $/IronPython/IronPython_Main/Test/DlrComLibrary/InOutParams.rgs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/PythonCallTargets.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Ast/TryStatementBuilder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Interpreter/LoopCompiler.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_file.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/testpkg1 $/IronPython/IronPython_Main/Languages/IronPython/Tests/hosting $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Interpreter/ILightCallSiteBinder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Generation/Snippets.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_execfile.py $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Interpreter/Instructions/FieldOperations.cs $/IronPython/IronPython_Main/Test/DlrComLibrary/DlrComLibrary.idl $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Lib/iptest/warning_util.py $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/xxsubtype.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/plans/interop.net.test_loadorder.html $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/DefaultBinder.DeleteMember.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Actions/CallSiteHelpers.cs $/IronPython/IronPython_Main/Languages/IronPython/Scripts $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_attrinjector.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/plans/interop.net.insert_csharp.html $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Math/BigIntegerV2.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/PythonDictionary.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/AndExpression.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/CompilerContext.cs $/IronPython/IronPython_Main/Hosts/Silverlight $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/Calls/DefaultArgBuilder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Hosting/MemberDoc.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/compat/testdata.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Debugging/RuntimeVariablesSupport/IDebugThreadFactory.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/ComEventDesc.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/ConstructorFunction.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/ReflectedIndexer.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/method/test_operators.py $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/ModuleOps.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/compat/sbs_class_compare.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/MemberListBinding.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/MemberTracker.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/loadorder/loadorder_3g.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Utils/DictionaryUnionEnumerator.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Lib/iptest/__init__.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Runtime/DlrCachedCodeAttribute.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/CreateFallbackBinder.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/plans/interop.net.derivation.test_method_override.html $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/DelegateSignatureInfo.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/ConditionalBuilder.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/marshal.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/BytesConversionAttribute.cs $/IronPython/IronPython_Main/Hosts/Silverlight/Chiron/HttpSocket.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/DebugOptions.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Operations/ComplexOps.cs $/IronPython/IronPython_Main/Solutions $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_conditional.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/loadorder/t2e.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/Tools/baselines/_codecs.log $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Hosting/Configuration/OptionElementCollection.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/plans/interop.net.derivation.test_special_method.html $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/TokenizerBuffer.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/event $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/SourceCodeReader.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/LanguageOptions.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/PythonDeleteMemberBinder.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/OperatorStrings.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Interpreter/RuntimeVariables.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/Tools/baselines/_sre.log $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/ComType.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/regressions.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/modules/io_related/cPickle_test.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/modules/type_related/__init__.py $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/DictionaryOps.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/MetaOldInstance.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/ConvertibleArgBuilder.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_complex.py $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Generation/MethodSignatureInfo.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/BinaryExpression.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Utils/Publisher.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/WarningInfo.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/versions/python26.py $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Generation/ILGen.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPythonWindow/IronPythonWindow.csproj $/IronPython/IronPython_Main/Languages/IronPython/Scripts/generate_reflected_calls.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/compat $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_slots.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/loadorder/module.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Compiler/DelegateHelpers.Generated.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Ast/BinaryExpression.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Operations/ComOps.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Hosting/Shell/Remote/ConsoleRestartManager.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/IPseudoComObject.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/Tools/baselines/_weakref.log $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Exceptions/ImportWarningException.Generated.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/FlowChecker.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/versions $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_weakref.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/ExplicitConversionMethodAttribute.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/TypeGroup.cs $/IronPython/IronPython_Main/Hosts/Silverlight/Chiron/DetailsForm.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Operations/IntOps.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/field/test_fields_inside_enum.py $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/PythonDocumentationProvider.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/plans/generic_plan_template.py $/IronPython/IronPython_Main/Test/DlrComLibrary/OutParams.cpp $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/ClassDefinition.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/plans/interop.net.derivation.html $/IronPython/IronPython_Main/Languages/IronPython/Tests/Inc/toexec.py $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Ast/NewArrayExpression.cs $/IronPython/IronPython_Main/Languages/IronPython/Scripts/test_builder.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Compiler/LambdaCompiler.Lambda.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/loadtypesample.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/ConditionalExpression.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Compiler/SymbolDocumentGenerator.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/DateTimeArgBuilder.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/CollectableCompilationMode.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Actions/SetMemberBinder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Utils/ExceptionFactory.Generated.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/loadorder/loadorder_3.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/LabelExpression.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/NoLineFeedSourceContentProvider.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/PythonScopeExtension.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Hosting/ErrorListenerProxy.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/BuiltinFunction.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/loadorder/t3g1.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Hosting/LanguageSetup.cs $/IronPython/IronPython_Main/Hosts/Silverlight/Microsoft.Scripting.SilverLight/DynamicLanguageConfig.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/MaybeNotImplementedAttribute.cs $/IronPython/IronPython_Main/Test/DlrComLibrary/Properties.cpp $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/com/compat/hw_client.py $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/PythonOverloadResolver.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Exceptions/IndentationException.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Exceptions/RuntimeWarningException.Generated.cs $/IronPython/IronPython_Main/Test/DlrComLibrary/NonDispatch.cpp $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Utils/WeakDictionary.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Runtime/Scope.cs $/IronPython/IronPython_Main/Languages/IronPython/Scripts/test_pystone.py $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/UnaryExpression.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/type/__init__.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/modules/system_related/thread_test.py $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/MetaUserObject.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Utils/CacheDict.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Utils/ConsoleStreamType.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/DynamicHelpers.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Token.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/modules/network_related $/IronPython/IronPython_Main/Languages/IronPython/Tests/Tools/cleantests.py $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Utils/MathUtils.cs $/IronPython/IronPython_Main/Test/ClrAssembly/dummy.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPythonTest/OperatorTest.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/ExcepInfo.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/GlobalSuppressions.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/ConversionArgBuilder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Interpreter/Instructions/InstructionFactory.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/loadorder/loadorder_5b.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/com/dlrcomlib/ReturnValues.py $/IronPython/IronPython_Main/Test/DlrComLibrary/DlrComLibrary.sln $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_ctypes/Structure.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_clrload.py $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Exceptions/UnicodeTranslateException.Generated.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/DictionaryStorage.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Properties/AssemblyInfo.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/Calls/CallFailureReason.cs $/IronPython/IronPython_Main/Hosts/Silverlight/Microsoft.Scripting.SilverLight/init.rb $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/NameType.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/pyc/other_hw.py $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Microsoft.Scripting.txt $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/ReflectedProperty.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/PythonTypeSlot.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/Inputs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Actions/ConvertBinder.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/modules/misc/system_namespaces.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_isinstance.py $/IronPython/IronPython_Main/Languages/IronPython/IronPythonWindow $/IronPython/IronPython_Main/Languages/IronPython/Tests/hosting/editor_svcs/__init__.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Utils/StringUtils.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_str.py $/IronPython/IronPython_Main/Languages/IronPython/IronPythonTest/ClrType.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Hosting/Shell/Remote/RemoteConsoleCommandLine.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Runtime/ScriptCode.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/CatchBlock.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/AttributesDictionaryStorage.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/PythonDynamicExpression.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/loadorder/t5c2.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/loadorder/t3b.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_metaclass.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_winforms.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/NewExpression.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/Calls/ArgumentBinding.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/LocalsDictionary.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/silverlight_sanity/app/app.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/com/apps/__init__.py $/IronPython/IronPython_Main/Test/DlrComLibrary/DlrUniversalObj.rgs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Interpreter/Instructions/DynamicSplatInstruction.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/PythonInvokeBinder.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/Inputs/raise.py $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/OperatorSlotAttribute.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/ReflectedExtensionProperty.cs $/IronPython/IronPython_Main/Languages/IronPython/Scripts/generate_alltypes.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_methodbinder1.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/modules/misc/_random_test.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Actions/CallSiteBinder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Ast/Utils.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/indexerdefinitionscs.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Runtime/ScopeExtension.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/RaiseStatement.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Properties/Visibility.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPythonTest/AttrInjectorTest.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Debugging/DebugContext.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Hosting/Shell/ConsoleHostOptions.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Debugging/DelegateHelpers.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Debugging/RuntimeVariablesSupport/IDebugRuntimeVariables.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Stubs.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Utils/ReadOnlyDictionary.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Compiler/HoistedLocals.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/ConstantExpression.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/ExpressionType.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/ElementInit.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/DefaultExpression.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/InvocationExpression.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Actions/DeleteMemberBinder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Actions/RuleCache.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Actions/BinaryOperationBinder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Properties/AssemblyInfo.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/GlobalSuppressions.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/MultiRuntimeAwareAttribute.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Generation/FieldBuilderExpression.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Generation/KeyedQueue.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Generation/DynamicILGen.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/DynamicLanguageProviderAttribute.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/ExtensionTypeAttribute.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/StaticExtensionMethodAttribute.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/SymbolDictionary.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/TypeTracker.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/DynamicSiteHelper.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/NamespaceTracker.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/ExtensionMethodTracker.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/CustomTracker.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/MemberRequestKind.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/OperatorInfo.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/Calls/ParamsDictArgBuilder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/Calls/DefaultOverloadResolver.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/Calls/BindingResult.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Ast/GeneratorRewriter.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Ast/FlowControlRewriter.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Ast/EmptyStatements.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/NullArgBuilder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/ComTypeEnumDesc.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/ComObject.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/ComHresults.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/BoundDispEvent.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/ComInvokeBinder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/VariantBuilder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Utils/ArrayUtils.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Utils/CheckedDictionaryEnumerator.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Utils/MonitorUtils.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Hosting/Shell/ConsoleOptions.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Hosting/Shell/CommandLine.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/IAttributesCollection.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/SymbolTable.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Runtime/LanguageBoundTextContentProvider.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Runtime/SymbolDictionary.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Runtime/DynamicOperations.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Utils/ArrayUtils.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Hosting/ParameterFlags.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Hosting/Configuration/Section.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/indexerdefinitionsvb.vb $/IronPython/IronPython_Main/Test/ClrAssembly/Src/loadorder/loadorder_4.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/loadorder/loadorder_2d.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/loadorder/loadorder_4a.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/loadorder/loadorder_5a.cs $/IronPython/IronPython_Main/Test/DlrComLibrary/dllmain.h $/IronPython/IronPython_Main/Test/DlrComLibrary/Setup/Setup.vdproj $/IronPython/IronPython_Main/Hosts/Silverlight/Chiron $/IronPython/IronPython_Main/Hosts/Silverlight/Microsoft.Scripting.SilverLight/agdlr.js $/IronPython/IronPython_Main/Hosts/Silverlight/Microsoft.Scripting.SilverLight/ExtensionTypes.cs $/IronPython/IronPython_Main/Hosts/Silverlight/Chiron/HtmlFormatter.cs $/IronPython/IronPython_Main/Hosts/Silverlight/Chiron/DetailsForm.resx $/IronPython/IronPython_Main/Languages/IronPython/App.config $/IronPython/IronPython_Main/Languages/IronPython/IronPythonConsole/AssemblyInfo.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPythonConsole/ipy.ico $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/thread.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_ssl.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/cPickle.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_codecs_cn.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_ctypes/ArrayType.cs $/IronPython/IronPython_Main/Languages/IronPython/Scripts/generate_math.py $/IronPython/IronPython_Main/Languages/IronPython/Scripts/make_meta1.py $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Modules $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/ModuleLoader.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/ErrorCodes.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Generator.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/PythonFunction.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/PythonModuleAttribute.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/ConversionWrappers.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/ByteArray.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/MetaUserObject.Members.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/MetaPythonType.Calls.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/PythonOperationKind.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/ContextArgBuilder.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Exceptions/PendingDeprecationWarningException.Generated.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Exceptions/RuntimeException.Generated.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Exceptions/StopIterationException.Generated.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Operations/CustomTypeDescHelpers.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/ResolvedMember.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/InstanceCreator.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/UncollectableCompilationMode.Generated.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/PythonScriptCode.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/ParenthesisExpression.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/MemberExpression.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_protected.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_statics.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_ipyc.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_nofuture.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_generator.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_methodbinder2.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_memory.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_assert.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_class.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/c3.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/plans/debugging.mdbg_tool.html $/IronPython/IronPython_Main/Languages/IronPython/Tests/pyc/stdmodules_ok.ps1 $/IronPython/IronPython_Main/Languages/IronPython/Tests/compat/sbs_parse_string.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/compat/sbs_exceptions/define.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/compat/sbs_exceptions/try_finally1.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/com/apps $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/com/dlrcomlib/OutParams.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/com/dlrcomlib/typelib.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/com/dlrcomlib/paramsinretval.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/test_loadorder.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/field/__init__.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/event/test_delegate.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/type/test_reachtype.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/loadorder/t3e.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/property/test_indexervb.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/modules/type_related/_struct_test.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/modules/system_related/signal_test.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/modules/misc/_weakref_test.py $/IronPython/IronPython_Main/Languages/IronPython/IronPythonTest/Indexable.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPythonTest/Enums.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPythonTest/TypeDescriptor.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPythonTest/Events.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Debugging/ForceToGeneratorLoopException.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Debugging/Microsoft.Scripting.Debugging.csproj $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/GlobalSuppressions.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Utils/Helpers.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Utils/TrueReadOnlyCollection.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Compiler/LambdaCompiler.Unary.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Compiler/VariableBinder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/MemberBinding.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/DebugViewWriter.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Actions/IInvokeOnGetBinder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Actions/CreateInstanceBinder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Generation $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Interpreter/LightCompiler.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Interpreter/Interpreter.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Interpreter/Instructions/Instruction.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Interpreter/Instructions/DynamicInstructionN.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Interpreter/Instructions/LessThanInstruction.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Generation/AssemblyGen.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/NullTextContentProvider.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/BinderType.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/ReflectionCache.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/AssemblyTypeNames.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/DelegateInfo.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Math/BigIntegerV4.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/Argument.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/PropertyTracker.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/CallSignature.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/Calls/MethodCandidate.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/Calls/ParameterMapping.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/Calls/ConversionResult.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Ast/IfStatementBuilder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Ast/LambdaBuilder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Ast/MethodCallExpression.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/VarEnumSelector.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/VariantArray.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/ComTypeClassDesc.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/ComFallbackMetaObject.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Utils/CollectionUtils.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Utils/CacheDict.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Hosting/Shell/Style.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/SymbolId.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/TokenCategory.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Runtime/DynamicStackFrame.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Runtime/InvariantContext.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Utils/ReflectionUtils.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Hosting/Shell/Remote/RemoteRuntimeServer.cs $/IronPython/IronPython_Main/Test/ClrAssembly/ClrAssembly.csproj $/IronPython/IronPython_Main/Test/ClrAssembly/Src/loadorder/loadorder_2a.cs $/IronPython/IronPython_Main/Test/DlrComLibrary/DlrComLibrary.vcproj $/IronPython/IronPython_Main/Test/DlrComLibrary/DlrUniversalObj.h $/IronPython/IronPython_Main/Test/DlrComLibrary/SimpleErrors.rgs $/IronPython/IronPython_Main/Test/DlrComLibrary/HiddenMembers.rgs $/IronPython/IronPython_Main/Test/DlrComLibrary/NoTypeInfo.rgs $/IronPython/IronPython_Main/Test/DlrComLibrary/ReadMe.txt $/IronPython/IronPython_Main/Test/DlrComLibrary/OptionalParams.cpp $/IronPython/IronPython_Main/Test/DlrComLibrary/stdafx.cpp $/IronPython/IronPython_Main/Test/DlrComLibrary/DlrComLibraryPS.vcproj $/IronPython/IronPython_Main/Hosts/Silverlight/Microsoft.Scripting.SilverLight/XamlScriptTags.cs $/IronPython/IronPython_Main/Hosts/Silverlight/Microsoft.Scripting.SilverLight/agdlr.css $/IronPython/IronPython_Main/Hosts/Silverlight/Chiron/Chiron.csproj $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Hosting/Shell/Remote $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/StringArgBuilder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/ComTypeDesc.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/ComEventSinksContainer.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/ComEventSinkProxy.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Hosting/ObjectOperations.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Utils/TypeUtils.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Debugging/IDebugCallback.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/NewArrayExpression.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Actions/SetIndexBinder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Actions/UpdateDelegates.Generated.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Interpreter/Instructions/DynamicInstructions.Generated.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Interpreter/Instructions/NumericConvertInstruction.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/PropertyMethodAttribute.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/ImplicitConversionMethodAttribute.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/TransformDictEnumerator.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/ModuleChangeEventArgs.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/Uninitialized.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Utils/ThreadLocal.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/ScriptCodeParseResult.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/SourceUnit.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Utils $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Runtime/LanguageContext.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Utils/ExceptionUtils.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Hosting/Shell $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Hosting/Configuration $/IronPython/IronPython_Main/Test/ClrAssembly/Src/loadorder/loadorder_5c.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/loadorder/loadorder_5.cs $/IronPython/IronPython_Main/Hosts $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_ctypes/NativeArgument.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_ctypes/MarshalCleanup.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/NewStringFormatter.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/RuntimeVariablesDictionaryStorage.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/StringFormatter.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/ModuleContext.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/PythonGetIndexBinder.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/Binders.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/CompatibilityInvokeBinder.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/MetaOldClass.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/MetaBuiltinFunction.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/MetaBuiltinMethodDescriptor.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/SiteLocalStorageBuilder.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Exceptions/ObjectException.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Exceptions/EnvironmentException.Generated.cs $/IronPython/IronPython_Main/Languages/IronPython/Scripts/radix_generator.py $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Operations/TypeGroupOps.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Operations/PythonOps.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/NameConverter.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/PythonTypeWeakRefSlot.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/PythonType.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/BuiltinFunctionOverloadMapper.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/GeneratorRewriter.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/ClosureInfo.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/ConstantExpression.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/PythonWalker.Generated.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/Arg.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/BackQuoteExpression.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/ILoopStatement.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Lib/__future__.py $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Lib/runpy.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_property.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_set.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_generator_throw.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/stress $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_closure.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_syntax.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_fuzz_parser.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/Modes $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_peverify.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/c1.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/dynamic_sanity/dynamic_sanity.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/stress/__init__.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/plans/interop.net.type.test_defaultmember.html $/IronPython/IronPython_Main/Languages/IronPython/Tests/plans/interop.net.event.test_delegate.html $/IronPython/IronPython_Main/Languages/IronPython/Tests/plans/interop.net.property.test_indexercs.html $/IronPython/IronPython_Main/Languages/IronPython/Tests/plans/debugging.html $/IronPython/IronPython_Main/Languages/IronPython/Tests/testpkg1/mod1.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/compat/common.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/Inputs/exitFuncRaises.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/debugging/pdb_mod/__init__.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/Modes/ConsoleHelp.Debug.out $/IronPython/IronPython_Main/Languages/IronPython/Tests/pickles/cp18666.pickle $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/method $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/field/test_field_misc.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/derivation/__init__.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/dynamic/__init__.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/loadorder/t2g.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/loadorder/t3i.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/hosting/editor_svcs $/IronPython/IronPython_Main/Languages/IronPython/Tests/hosting/stress/engine.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/Tools/baselines/copy_reg.log $/IronPython/IronPython_Main/Languages/IronPython/Tests/Tools/baselines/_winreg.log $/IronPython/IronPython_Main/Languages/IronPython/IronPythonTest/MemberMappingTests.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPythonTest/Stress $/IronPython/IronPython_Main/Languages/IronPython/IronPythonConsoleAny/IronPythonConsoleAny.csproj $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Debugging/DebugFrame.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Debugging/CompilerServices $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Debugging/DefaultRuntimeVariablesImpl/DefaultDebugThreadFactory.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Compiler $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Microsoft.Scripting.Core.csproj $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Compiler/ExpressionQuoter.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Compiler/LambdaCompiler.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Compiler/AssemblyGen.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Compiler/DelegateHelpers.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Compiler/KeyedQueue.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/BlockExpression.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/TypeBinaryExpression.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/MemberExpression.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Interpreter/Instructions/TypeOperations.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/RestrictedMetaObject.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/Calls/NarrowingLevel.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/Calls/InstanceBuilder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/Calls/ByRefReturnBuilder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/Calls/ApplicableCandidate.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/ArgumentTypeException.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Runtime/DefaultLanguageContext.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Runtime/TokenTriggers.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Runtime/BaseSymbolDictionary.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Properties/AssemblyInfo.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Utils/CheckedDictionaryEnumerator.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Hosting/DocumentationOperations.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Hosting/ErrorSinkProxyListener.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Hosting/Shell/Remote $/IronPython/IronPython_Main/Test/ClrAssembly/Src/delegatedefinitions.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/baseclasscs.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/typeforwardee2.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/typeforwarder3.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/dynamicobjmodel.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/typeforwarder1.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/loadorder/loadorder_6b.cs $/IronPython/IronPython_Main/Test/DlrComLibrary/DlrComLibraryps.def $/IronPython/IronPython_Main/Test/DlrComLibrary/ProvidesClassInfo.rgs $/IronPython/IronPython_Main/Test/DlrComLibrary/ReturnValues.cpp $/IronPython/IronPython_Main/Test/DlrComLibrary/SimpleErrors.h $/IronPython/IronPython_Main/Test/DlrComLibrary/DispEvents.h $/IronPython/IronPython_Main/Test/DlrComLibrary/DlrComServer.cpp $/IronPython/IronPython_Main/Test/DlrComLibrary/DlrUniversalObj.cpp $/IronPython/IronPython_Main/Test/DlrComLibrary/DispEvents.cpp $/IronPython/IronPython_Main/Hosts/Silverlight/Microsoft.Scripting.SilverLight/DynamicEngine.cs $/IronPython/IronPython_Main/Hosts/Silverlight/Chiron/Notification.cs $/IronPython/IronPython_Main/Hosts/Silverlight/Chiron/HttpServer.cs $/IronPython/IronPython_Main/Hosts/Silverlight/Chiron/LCA_RESTRICTED $/IronPython/IronPython_Main/Languages $/IronPython/IronPython_Main/Languages/IronPython/IronPythonConsole $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/binascii.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/operator.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_multibytecodec.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/time.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/IronPython.Modules.csproj $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_heapq.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_weakref.Generated.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_collections.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/math.Generated.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_ctypes/CFuncPtrType.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_ctypes/StructType.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/BinderOps.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Exceptions/TraceBack.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/NewTypeInfo.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/IterTools.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/pyc/test_pyc.ps1 $/IronPython/IronPython_Main/Languages/IronPython/Tests/Tools/baselines/gc.log $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/ExtensionPropertyTracker.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Hosting/TokenCategorizer.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_compiler.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Debugging/VariableInfo.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/IdDispenser.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/ReflectedEvent.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_ctypes_test.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/plans/interop.net.event.test_event.html $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Hosting/Shell/Remote/RemoteConsoleHost.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Utils/CollectionExtensions.cs $/IronPython/IronPython_Main/Test/DlrComLibrary/MultipleParams.h $/IronPython/IronPython_Main/Languages/IronPython/Scripts/generate_casts.py $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/RuntimeScriptCode.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/Inputs/simpleCommand.py $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Ast/ExpressionCollectionBuilder.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/PythonGlobalVariableExpression.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Debugging/CompilerServices/IDebugCompilerSupport.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/Calls/Candidate.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_ctypes/CData.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/compat/sbs_exceptions/try_finally3.py $/IronPython/IronPython_Main/Test/ClrAssembly/Src/loadorder/loadorder_1b.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/SpecSharp.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/dynamic_sanity $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/ExpressionVisitor.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/NameExpression.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/ComTypeLibMemberDesc.cs $/IronPython/IronPython_Main/Test/DlrComLibrary/DispEvents.rgs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Interpreter/LightLambda.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_tuple.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Compiler/BoundConstants.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Interpreter/LocalVariables.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/ExecStatement.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_ipye.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/com/__init__.py $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/ComParamDesc.cs $/IronPython/IronPython_Main/Test/DlrComLibrary/HiddenMembers.cpp $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Ast/SkipInterpretExpression.cs $/IronPython/IronPython_Main/Languages/IronPython/Scripts/generate_tuples.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_exceptions_generated.py $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Interpreter/Instructions/ControlFlowInstructions.cs $/IronPython/IronPython_Main/Hosts/Silverlight/Chiron/App.config $/IronPython/IronPython_Main/Languages/IronPython/Tests/debugging/vs/__init__.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Actions/DynamicMetaObjectBinder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/MemberAssignment.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/SourceStringContentProvider.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/versions $/IronPython/IronPython_Main/Languages/IronPython/Tests/compat/sbs_exceptions/shared.py $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/Calls/CallFailure.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_ctypes/_ctypes.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/RelativeModuleName.cs $/IronPython/IronPython_Main/Hosts/Silverlight/Microsoft.Scripting.SilverLight/BrowserVirtualFilesystem.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/compat/sbs_exceptions $/IronPython/IronPython_Main/Languages/IronPython/Tests/Tools/cmodule.py $/IronPython/IronPython_Main/Test/ClrAssembly/Src/loadorder/loadorder_2c.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_interactive.py $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/PythonTypeDictSlot.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/NativeSignal.cs $/IronPython/IronPython_Main/Runtime $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Debugging $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/DlrCachedCodeAttribute.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Hosting/ScriptHost.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/CompileFlags.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Operations/ByteOps.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/DefaultBinder.SetMember.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Hosting/Configuration/OptionElement.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Operations/ObjectOps.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_namebinding.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/plans/interop.net.derivation.test_simplederive.html $/IronPython/IronPython_Main/Languages/IronPython/Tests/modules/io_related/_fileio_test.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/modules/system_related/_locale_test.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/method/test_op_implicit.py $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Generation/TypeGen.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/DefaultLanguageContext.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Utils/WeakHandle.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/SiteLocalStorage.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/BinaryRetTypeBinder.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/Tools/baselines/array.log $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Runtime/DocumentationProvider.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Lib/iptest/util.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Utils/NativeMethods.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/ComEventSink.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/CollectionDebugView.cs $/IronPython/IronPython_Main/Test/DlrComLibrary/ParamsInRetval.cpp $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/loadorder/t7e.py $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/KeyboardInterruptException.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Symbols.Generated.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/UnknownArgBuilder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/CompilerOptions.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/versions/__init__.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Compiler/DebugInfoGenerator.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/PythonDeleteSliceBinder.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/harness.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/specialcontext/Consoleless.ps1 $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/PythonProtocol.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/SwitchCase.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/FunctionDefinition.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/Properties/AssemblyInfo.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/modules/type_related/types_test.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/plans/interop.net.derivation.test_method_signature.html $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Utils/ExceptionUtils.cs $/IronPython/IronPython_Main/Test/DlrComLibrary/ReturnValues.h $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/FastGetBase.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/type $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Runtime/DelegateInfo.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Microsoft.Scripting.ExtensionAttribute.csproj $/IronPython/IronPython_Main/Solutions/MSSharedLibDelaySigned.snk $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_clrexception.py $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/MethodGroup.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/PythonConstantExpression.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/Mro.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/Tools/stdmodules.py $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/Calls/TypeInferer.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/ComTypeLibInfo.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/compat/sbs_simple_ops.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/loadorder/t3a.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Compiler/Closure.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/DynamicNull.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_exceptions.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/test_dynamicobjectmodel.py $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Exceptions/OldInstanceException.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/Tools/baselines/thread.log $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/ExtensionBinaryOperationBinder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/BoolArgBuilder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Utils/Assert.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/SlotFieldAttribute.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/ErrorExpression.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/loadorder/t7d.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Debugging/ScopedRuntimeVariables.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/Calls $/IronPython/IronPython_Main/Languages/IronPython/Tests/plans/interop.net.derivation.test_ctor_override.html $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Actions/ExpandoClass.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Operations/TypeTrackerOps.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Hosting/Python.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Utils/CollectionExtensions.cs $/IronPython/IronPython_Main/Test/DlrComLibrary/ReturnValues.rgs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/errno.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Index.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/plans/interop.net.type.test_clr_array.html $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/ListInitExpression.cs $/IronPython/IronPython_Main/Languages/IronPython/Scripts/generate_comdispatch.py $/IronPython/IronPython_Main/Test/ClrAssembly/Src/methodargs.cs $/IronPython/IronPython_Main/Hosts/Silverlight/Microsoft.Scripting.SilverLight/DynamicScriptTags.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Properties $/IronPython/IronPython_Main/Test/ClrAssembly/Src/loadorder/loadorder_2f.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_sha256.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Hosting $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/SourceSpan.cs $/IronPython/IronPython_Main/Test/DlrComLibrary/DlrComStopwatch.cpp $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Exceptions/PythonExceptions.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Exceptions/AssertionException.Generated.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Severity.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/Calls/BindingTarget.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/modules/io_related $/IronPython/IronPython_Main/Languages/IronPython/Tests/modules/misc/math_test.py $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/PythonSetMemberBinder.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/PythonNameBinder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Ast/FinallyFlowControlExpression.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src $/IronPython/IronPython_Main/Languages/IronPython/IronPythonTest/LoadTest.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/DontMapIDisposableToContextManagerAttribute.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/ToDiskCompilationMode.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/field/test_instance_fields.py $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Operations/DelegateOps.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Utils/IOUtils.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/operators.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Converter.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/CommonDictionaryStorage.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Hosting/OverloadDoc.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Utils/ReadOnlyDictionary.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/ModuleOptions.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/Calls/KeywordConstructorReturnBuilder.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/WhileStatement.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/type/test_clrtype.py $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/PythonTypeTypeSlot.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPythonTest/NestedClass.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/TypeLibInfoMetaObject.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/ConditionalBuilder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Interpreter/Instructions/DivInstruction.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Runtime/TokenInfo.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/returnvalues.cs $/IronPython/IronPython_Main/Hosts/Silverlight/Chiron/AppManifestTemplate.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/PythonNarrowing.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_array.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/event/__init__.py $/IronPython/IronPython_Main/Languages/IronPython/IronPythonTest/Explicit.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPythonConsoleAny $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Actions/DeleteIndexBinder.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/Tools $/IronPython/IronPython_Main/Languages/IronPython/Tests/dynamic_sanity/mock.py $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Interpreter/Instructions/NotEqualInstruction.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_listcomp.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Properties/ExtensionAssemblyInfo.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Debugging/DebugGenerator.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Exceptions/TabException.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_xrange.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/com/apps/scriptpw.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/com/dlrcomlib/DispEvents.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Debugging/ThreadLocal.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/IRestrictedMetaObject.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Hosting/Shell/Remote/RemoteConsoleHost.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/loadorder/t7f.py $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/RunnableScriptCode.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/loadorder/t5a.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/hosting/stress $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Ast/VariableDictionaryExpression.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/ComInvokeAction.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/PythonGlobal.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/modules/misc/__init__.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Runtime/TokenizerService.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPythonWindowAny/IronPythonWindowAny.csproj $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Utils/IRuntimeVariables.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/SlotOrFunction.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Properties/AssemblyInfo.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/FieldTracker.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/Inputs/exitFuncRuns.py $/IronPython/IronPython_Main/Hosts/Silverlight/Chiron/slx.png $/IronPython/IronPython_Main/Test/ClrAssembly/Src/userdefinedconversions.cs $/IronPython/IronPython_Main/Test/DlrComLibrary/OptionalParams.rgs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_ctypes/Extensions.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_inheritance.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_attribute_customize.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/plans/interop.net.field.test_field_misc.html $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Actions/IDynamicMetaObjectProvider.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Interpreter/Instructions/CallInstruction.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/loadorder/loadorder_7b.cs $/IronPython/IronPython_Main/Languages/IronPython/Scripts/generate_tree.py $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/DictionaryTypeInfoAttribute.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/DebugInfoExpression.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/SequenceExpression.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/loadorder/t2b.py $/IronPython/IronPython_Main/Test/DlrComLibrary/NonDispatch.h $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/PythonFile.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_ironmath.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/com/dlrcomlib/pytraits $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/ComMetaObject.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/SymbolDocumentInfo.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/MutableTuple.cs $/IronPython/IronPython_Main/Hosts/Silverlight/Microsoft.Scripting.SilverLight/DynamicApplication.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/MissingParameter.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Lib/iptest/misc_util.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/GotoExpression.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/SplatCallSite.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Ast/NewExpression.cs $/IronPython/IronPython_Main/Test/DlrComLibrary/DlrComLibrary.def $/IronPython/IronPython_Main/Languages/IronPython/Scripts/run_interactive.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/debugging/__init__.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Utils/ReferenceEqualityComparer.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/AssertStatement.cs $/IronPython/IronPython_Main/Languages/IronPython/Scripts/test_cgcheck.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/com $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Compiler/AnalyzedTree.cs $/IronPython/IronPython_Main/Test/DlrComLibrary/ProvidesClassInfo.h $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/PythonAst.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/ComDispIds.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/AmbiguousFileNameException.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/BoundMemberTracker.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/PythonAssemblyOps.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_md5.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_slice.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/pyc/pkg/b.py $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/Cast.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/ReturnFixer.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/DynamicDelegateCreator.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/UncollectableCompilationMode.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_ctypes/SimpleTypeKind.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/compat/sbs_exceptions/try_except2.py $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/Calls/ReturnReferenceArgBuilder.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/run.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/specialcontext $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Debugging/TracePipeline/ITraceCallback.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Interpreter/Instructions/StackOperations.cs $/IronPython/IronPython_Main/Test/DlrComLibrary/Setup $/IronPython/IronPython_Main/Hosts/Silverlight/Chiron/MimeTypeSection.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/LookupCompilationMode.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_bytes.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/plans/interop.net.type.html $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Utils/ContractUtils.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Interpreter/LightDelegateCreator.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/Statement.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_functools.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_function.py $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/DefaultBinder.Invoke.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/plans/interop.net.type.test_ctor.html $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Compiler/OffsetTrackingILGenerator.cs $/IronPython/IronPython_Main/Test/DlrComLibrary/dllmain.cpp $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/SwitchExpression.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/loadorder/t3c2.py $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Ast $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/SimpleArgBuilder.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/CompiledLoader.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Utils/StringUtils.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/StringDictionaryStorage.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/derivation $/IronPython/IronPython_Main/Test/ClrAssembly/Src/loadorder/loadorder_2g.cs $/IronPython/IronPython_Main/Hosts/Silverlight/Chiron/Properties/AssemblyInfo.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/AstMethods.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Lib/iptest/process_util.py $/IronPython/IronPython_Main/Hosts/Silverlight/Microsoft.Scripting.SilverLight/Properties $/IronPython/IronPython_Main/Languages/IronPython/Tests/modules/io_related/marshal_test.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Actions/GetMemberBinder.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/PythonTypeAttribute.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPythonTest/IronPythonTest.csproj $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Generation/DelegateHelpers.Generated.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Utils/TextStream.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_methoddispatch.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/modules/system_related/sys_test.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/SourceCodeKind.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Hosting/ScriptSource.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Operations/IntOps.Generated.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/Cast.Generated.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_dllsite.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_importpkg.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/loadorder/t3g2.py $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/IPythonInvokable.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/CustomAttributeTracker.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/Tools/baselines/datetime.log $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/array.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/FunctionType.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_cliclass.py $/IronPython/IronPython_Main/Test/ClrAssembly/Src/loadorder/loadorder_7a.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/loadorder/loadorder_7c.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Runtime/TransformDictEnumerator.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/PythonDeleteIndexBinder.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/compat/sbs_newtype.py $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Generation/DelegateHelpers.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Utils/ExpressionUtils.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Debugging/DefaultRuntimeVariablesImpl/DefaultDebugThread.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/modules/io_related/__init__.py $/IronPython/IronPython_Main/Test/DlrComLibrary/_IDispEventsEvents_CP.h $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Operations/NamespaceTrackerOps.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/plans/interop.net.test_dynamicobjectmodel.html $/IronPython/IronPython_Main/Languages/IronPython/Scripts/generate_typecache.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/ExpressionStringBuilder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Ast/LambdaParameterRewriter.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/IPythonOperable.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/encoded_files/cp11334_ok.py $/IronPython/IronPython_Main/Languages/IronPython/IronPythonWindow/AssemblyInfo.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/IConvertibleMetaObject.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/ImportStatement.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/SyntaxErrorException.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/loadorder/loadorder_3h.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/GlobalSuppressions.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Exceptions/ImportException.Generated.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Runtime $/IronPython/IronPython_Main/Languages/IronPython/Tests/plans $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/com/apps/MultiOffice.py $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Utils $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Debugging/DebugSourceFile.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/ISlice.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/ConditionalExpression.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/FutureBuiltins.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Python3Warning.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_index.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Hosting/MemberKind.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/TypeSamples.cs $/IronPython/IronPython_Main/Hosts/Silverlight/Microsoft.Scripting.SilverLight/repl_formatter.rb $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/Properties $/IronPython/IronPython_Main/Languages/IronPython/Tests/plans/interop.net.method.test_returnvalue.html $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Actions/InvokeBinder.cs $/IronPython/IronPython_Main/Test/ClrAssembly $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Profiler.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPythonConsole/Console.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/field/test_initonly_fields.py $/IronPython/IronPython_Main/Languages/IronPython/IronPythonTest/DeTest.cs $/IronPython/IronPython_Main/Hosts/Silverlight/Chiron/HttpRequestData.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/Interceptor.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/NewTypeMaker.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Properties $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/Calls/OverloadResolver.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/TypeLibMetaObject.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/BreakStatement.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/GlobalStatement.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/field $/IronPython/IronPython_Main/Languages/IronPython/Tests/compat/sbs_true_division.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/loadorder/t3f.py $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/GeneratorExpression.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Compiler/CompilerScope.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/Calls/ReturnBuilder.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/CodeContext.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/Tools/baselines $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Utils/TextStream.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/compat/sbs_exceptions/try_except1.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Compiler/LambdaCompiler.Address.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_ctypes/SimpleType.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/BindingHelpers.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Runtime/ExplicitConversionMethodAttribute.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPythonTest/EngineTest.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/KwCallInfo.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Operations/EnumOps.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/method/__init__.py $/IronPython/IronPython_Main/Test/ClrAssembly/Src/typeforwardee3.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Utils/SynchronizedDictionary.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Hosting $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Operations/DBNullOps.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/com/dlrcomlib/pytraits/prop.py $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/PythonProtocol.Operations.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/type/test_clr_array.py $/IronPython/IronPython_Main/Languages/IronPython/IronPythonTest/GenMeth.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Debugging/FunctionInfo.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Utils/DynamicUtils.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Debugging/Microsoft.Scripting.Debugging.txt $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/ArgumentArray.cs $/IronPython/IronPython_Main/Test/DlrComLibrary/InOutParams.cpp $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_sha512.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Exceptions/FloatingPointException.Generated.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_in.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/com/dlrcomlib/MultipleParams.py $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Hosting/Shell/Remote/ConsoleRestartManager.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/defaultmembersvb.vb $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Reversed.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_exceptionconverter.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/LabelTarget.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/plans/interop.net.method.html $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Actions/ExpandoObject.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Runtime/ParserSink.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Runtime/ReflectionCache.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Lib/iptest $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/PythonOperationBinder.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/PythonBinder.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Modules/Builtin.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/TrackerTypes.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/ErrorInfo.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Hosting/Shell/ConsoleHostOptionsParser.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/property/test_indexercs.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/type/test_assembly.py $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Exceptions/IPythonException.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/modules/misc/future_test.py $/IronPython/IronPython_Main/Languages/IronPython/IronPythonTest/StringDictionaryStorage.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/Calls/SimpleArgBuilder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Hosting/ScriptScope.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/ScopeStatement.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/PythonBuffer.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/StringFormatSpec.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Hosting/ScriptRuntimeSetup.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Interpreter/Instructions/LocalAccess.cs $/IronPython/IronPython_Main/Languages/IronPython/Scripts/generate_AssemblyTypeNames.py $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_ctypes/Pointer.cs $/IronPython/IronPython_Main/Languages/IronPython/Scripts/CompareDirs.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_numtypes.py $/IronPython/IronPython_Main/Test/ClrAssembly/Src/loadorder/loadorder_3f.cs $/IronPython/IronPython_Main/Test/DlrComLibrary/NoTypeInfo.cpp $/IronPython/IronPython_Main/Test/DlrComLibrary/DlrComStopwatch.rgs $/IronPython/IronPython_Main/Languages/IronPython/Tests/Inputs/UseCLI.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Compiler/LambdaCompiler.Statements.cs $/IronPython/IronPython_Main/Hosts/Silverlight/Chiron/LanguageInfo.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/copy_reg.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Hosting/PythonService.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/derivation/test_method_override.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Runtime/DynamicRuntimeHostingProvider.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/PythonSetIndexBinder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/DefaultBinder.GetMember.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/DispCallable.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/loadorder/t7a.py $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/CustomInstanceDictionaryStorage.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/TokenKind.Generated.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/modules/misc/_sha256.py $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/DispCallableMetaObject.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/AssemblyLoadedEventArgs.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/IFastInvokable.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_help.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/loadorder/t1d.py $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Interpreter/InterpretedFrame.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_unicode.py $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/SequenceTypeInfoAttribute.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Operations/LongOps.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/loadorder/t5b.py $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Microsoft.Dynamic.csproj $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Hosting/Shell/BasicConsole.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPythonWindowAny $/IronPython/IronPython_Main/Languages/IronPython/Tests/stress/bigimport1_test.py $/IronPython/IronPython_Main/Languages/IronPython/IronPythonTest/StaticTest.cs $/IronPython/IronPython_Main/Hosts/Silverlight/Chiron/XapHttpHandler.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/GlobalSuppressions.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/LiteralParser.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/ReflectedSlotProperty.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/plans/interop.net.event.html $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Actions/InvokeMemberBinder.cs $/IronPython/IronPython_Main/Test/DlrComLibrary/OutParams.rgs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/propertydefinitions.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Lib/iptest/file_util.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/derivation/test_method_signature.py $/IronPython/IronPython_Main/Languages/IronPython/IronPythonTest/MemberOverloadTest.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/DefaultBinder.Conversions.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Utils/WeakCollection.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Debugging/RuntimeOps.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/loadorder/loadorder_2h.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/PythonSiteCache.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/re.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/CompareUtil.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/pyc/pkg $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/MethodCallExpression.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/DefaultBinder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/ConvertArgBuilder.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/PythonVariable.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/versions/four_dot_zero.py DELETED SOURCES $/IronPython/IronPython_Main/Src MODIFIED SOURCES $/IronPython/IronPython_Main/Languages/IronPython/IronPythonTest/Cmplx.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPythonTest/AssemblyInfo.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/Tools/baselines/cStringIO.log $/IronPython/IronPython_Main/Languages/IronPython/Tests/Tools/baselines/select.log $/IronPython/IronPython_Main/Languages/IronPython/Tests/hosting/__init__.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/modules/misc/operator_test.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/modules/system_related/time_test.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/modules/system_related/nt_test.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/modules/io_related/codecs_test.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/modules/io_related/binascii_test.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/modules/io_related/cStringIO_test.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/property/__init__.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/loadorder/t4a.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/loadorder/t3c0.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/loadorder/t5c1.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/loadorder/t7b.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/loadorder/t3c1.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/type/test_ctor.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/derivation/test_special_method.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/method/test_returnvalue.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/__init__.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/test_accessibility.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/com/dlrcomlib/pytraits/obj.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/com/dlrcomlib/pytraits/method.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/com/dlrcomlib/SimpleErrors.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/com/apps/msagent.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/__init__.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/functions/signatures.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/Inputs/exit.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/compat/sbs_exceptions/for_loop.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/compat/sbs_exceptions/if_false.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/pyc/pkg/a.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/pyc/pycpkgtest.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/pyc/console_hw_args.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/plans/interop.net.method.test_operators.html $/IronPython/IronPython_Main/Languages/IronPython/Tests/plans/interop.net.field.test_fields_inside_enum.html $/IronPython/IronPython_Main/Languages/IronPython/Tests/plans/interop.net.method.test_op_implicit.html $/IronPython/IronPython_Main/Languages/IronPython/Tests/plans/interop.net.property.html $/IronPython/IronPython_Main/Languages/IronPython/Tests/dynamic_sanity/dynamic_runner.bat $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_system_timers.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_formatting.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_iterator.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_missing.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/timeit.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/check_result.bat $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_doc.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/custombuiltins.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_privateBinding.py $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Lib/iptest/type_util.py $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Lib/iptest/runner.py $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Modules/Builtin.Generated.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Modules/sys.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/OrExpression.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/ListComprehensionFor.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/WithStatement.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/LambdaExpression.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/PythonOperator.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/SuiteStatement.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/DynamicGetMemberExpression.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/DictionaryExpression.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/ListComprehension.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/AssignmentStatement.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/BinaryExpression.Generated.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/GlobalAllocator.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/ReducableDynamicExpression.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Parser.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/OnDiskScriptCode.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/BuiltinMethodDescriptor.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/DocBuilder.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/TypeCache.Generated.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/DynamicBaseTypeAttribute.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Operations/BoolOps.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Operations/PythonCalls.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Operations/UserTypeOps.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Exceptions/BytesWarningException.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Exceptions/GeneratorExitException.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Exceptions/UnicodeException.Generated.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Exceptions/OSException.Generated.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/PythonIndexType.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/PythonUnaryOperationBinder.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/PythonBinder.Create.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/IComConvertible.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/FastBindResult.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/PythonGetSliceBinder.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/GlobalDictionaryStorage.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/ModuleDictionaryStorage.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Descriptors.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/PythonFunction.Generated.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/PythonTracebackListener.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/ThrowingErrorSink.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/OutputWriter.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/PythonContext.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/DontMapICollectionToLenAttribute.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/IParameterSequence.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/ObjectDebugView.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/ConstantDictionaryStorage.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/WrapperDescriptorAttribute.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Resources.resx $/IronPython/IronPython_Main/Languages/IronPython/Scripts/test_parrot.py $/IronPython/IronPython_Main/Languages/IronPython/Scripts/run_compiled.py $/IronPython/IronPython_Main/Languages/IronPython/Scripts/generate_exception_factory.py $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_ctypes/Field.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_ctypes/CFuncPtr.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/nt.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_winreg.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_random.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_sha.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/signal.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_struct.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_bytesio.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/datetime.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_codecs.cs $/IronPython/IronPython_Main/Hosts/Silverlight/Chiron/Crc32.cs $/IronPython/IronPython_Main/Hosts/Silverlight/Chiron/NotifyIcon.ico $/IronPython/IronPython_Main/Hosts/Silverlight/Chiron/README.txt $/IronPython/IronPython_Main/Hosts/Silverlight/Microsoft.Scripting.SilverLight/DynamicAppManifest.cs $/IronPython/IronPython_Main/Hosts/Silverlight/Microsoft.Scripting.SilverLight/ErrorFormatter.cs $/IronPython/IronPython_Main/Test/DlrComLibrary/DlrComLibrary.rc $/IronPython/IronPython_Main/Test/DlrComLibrary/OptionalParams.h $/IronPython/IronPython_Main/Test/DlrComLibrary/ParamsInRetval.rgs $/IronPython/IronPython_Main/Test/DlrComLibrary/DlrComLibrary.cpp $/IronPython/IronPython_Main/Test/DlrComLibrary/Properties.h $/IronPython/IronPython_Main/Test/DlrComLibrary/IndexedProp.h $/IronPython/IronPython_Main/Test/ClrAssembly/Src/loadorder/loadorder_3b.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/testsupport.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Hosting/Providers/HostingHelpers.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Hosting/ScriptRuntime.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Utils/ExceptionFactory.Generated.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Runtime/SourceStringContentProvider.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Runtime/ReturnFixer.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/TextContentProvider.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/ErrorSink.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Microsoft.Scripting.csproj $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Hosting/Shell/SuperConsole.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Hosting/Shell/IConsole.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Hosting/Shell/OptionsParser.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Utils/ValueArray.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Utils/ReadOnlyDictionary.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/Calls/RestrictedArguments.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/Calls/KeywordArgBuilder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/Calls/OutArgBuilder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/Calls/OverloadResolverFactory.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Math/Complex64.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/LanguageBoundTextContentProvider.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/ModuleChangeEventType.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Interpreter/Instructions/ArrayOperations.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/UnaryExpression.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Compiler/CompilerScope.Storage.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Compiler/StackSpiller.Generated.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Compiler/RuntimeVariableList.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Compiler/ILGen.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Compiler/LambdaCompiler.Binary.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Utils/ExceptionFactory.Generated.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Utils/Function.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Debugging/CompilerServices/DebugLambdaInfo.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Debugging/DebugMode.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Debugging/AssemblyInfo.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPythonWindow/ipyw.ico $/IronPython/IronPython_Main/Languages/IronPython/IronPythonWindow/IronPythonWindow.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPythonTest/ProtocolTest.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/Tools/modulediff.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/hosting/editor_svcs/tokencategorizer.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/modules/misc/datetime_test.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/loadorder/t2f.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/loadorder/t4b.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/loadorder/t1b.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/derivation/test_simplederive.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/field/test_literal_fields.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/com/dlrcomlib/InOutParams.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/com/apps/word.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/encoded_files/cp1019.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/XLang/some_ruby_file.rb $/IronPython/IronPython_Main/Languages/IronPython/Tests/Modes/ConsoleHelp.Release.out $/IronPython/IronPython_Main/Languages/IronPython/Tests/Inputs/RemoteConsole.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/compat/sbs_library.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/pyc/winforms_hw.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/plans/interop.net.derivation.test_property_override.html $/IronPython/IronPython_Main/Languages/IronPython/Tests/toimport.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/perf_micro_calls.py $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_ctypes/Union.cs $/IronPython/IronPython_Main/Languages/IronPython/Scripts/copyrights.py $/IronPython/IronPython_Main/Languages/IronPython/Scripts/generate_calls.py $/IronPython/IronPython_Main/Languages/IronPython/Scripts/smtpmailer.py $/IronPython/IronPython_Main/Languages/IronPython/Scripts/generate_symboltable.py $/IronPython/IronPython_Main/Languages/IronPython/Scripts/generate_exceptions.py $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/PythonContext.Generated.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/PythonHiddenAttribute.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Slice.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/WeakRef.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/DontMapIEnumerableToIterAttribute.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/ModuleGlobalCache.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/PythonDynamicStackFrame.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Enumerate.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Importer.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/DontMapGetMemberNamesToDirAttribute.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/BindingWarnings.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/EmptyDictionaryStorage.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/ClassMethodDescriptor.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/PythonTuple.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/IFastGettable.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/IPythonSite.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/MetaPythonType.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Exceptions/Win32Exception.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Exceptions/FutureWarningException.Generated.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Exceptions/LookupException.Generated.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Operations/ArrayOps.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Operations/DecimalOps.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Operations/ListOfTOps.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Operations/DictionaryOfTOps.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Operations/CharOps.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/OperatorMapping.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/OldClass.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/PythonTypeDataSlot.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/OldInstance.Generated.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/TypeInfo.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/ReflectedGetterSetter.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/LazyCode.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Tokenizer.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/TryStatement.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/VariableKind.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/DottedName.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/ListComprehensionIf.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/TupleExpression.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/DelStatement.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/CallExpression.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/Expression.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/IndexExpression.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/ModuleName.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/IfStatementTest.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/ForStatement.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Hosting/PythonOptionsParser.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Hosting/PythonConsoleOptions.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Lib/iptest/test_env.py $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Lib/iptest/assert_util.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_clrnuminterop.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_bigint.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_clrload2.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_excinfo.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_list.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_specialcontext.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_delegate.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_bool.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_buffer.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/c2.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_nonetype.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_python25.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/plans/debugging.pdb_mod.html $/IronPython/IronPython_Main/Languages/IronPython/Tests/plans/interop.net.field.html $/IronPython/IronPython_Main/Languages/IronPython/Tests/plans/interop.net.html $/IronPython/IronPython_Main/Languages/IronPython/Tests/plans/interop.net.type.test_reachtype.html $/IronPython/IronPython_Main/Languages/IronPython/Tests/pyc/console_hw.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/compat/runsbs.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/compat/sbs_simple_compare.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/compat/sbs_exceptions/__init__.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/compat/sbs_exceptions/try_finally2.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/Inc/execfile_scope.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/encoded_files/cp11334_warn.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/com/compat/__init__.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/com/apps/adodb.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/com/dlrcomlib/properties.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/insert_csharp.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/versions/__init__.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/field/test_static_fields.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/derivation/test_property_override.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/loadorder/t2d.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/loadorder/t2h.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/loadorder/t4c.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/loadorder/t7c.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/loadorder/t1a.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/loadorder/t2a.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/property/test_property.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/modules/__init__.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/modules/type_related/array_test.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/modules/system_related/__init__.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/modules/network_related/__init__.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/modules/misc/_sha512.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/hosting/editor_svcs/errorlistener.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/Tools/logmodule.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/Tools/baselines/sys.log $/IronPython/IronPython_Main/Languages/IronPython/Tests/Tools/baselines/types_only.log $/IronPython/IronPython_Main/Languages/IronPython/IronPythonTest/BinderTest.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPythonTest/IntegerTest.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPythonTest/Exceptions.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPythonTest/Conversions.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Debugging/Microsoft.Scripting.Debugging.Generated.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPythonTest/ExceptionConverter.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPythonTest/IronMath.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPythonTest/NullableTest.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPythonTest/Stress/Engine.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Debugging/DebugContext.GeneratorLoopProc.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Debugging/DebuggableLambdaBuilder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Debugging/TraceEventKind.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/DebugKey.snk $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/index.htm $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Utils/TypeExtensions.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Compiler/LambdaCompiler.Expressions.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/BinaryExpression.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/MemberMemberBinding.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/ParameterExpression.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/ListArgumentProvider.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Actions/BindingRestrictions.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Actions/DynamicObject.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Actions/CallSite.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Actions/CallInfo.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/IValueEquality.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/PerfTrack.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Interpreter/BranchLabel.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Interpreter/LightLambdaClosureVisitor.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Interpreter/LightLambda.Generated.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Interpreter/Instructions/InstructionList.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Generation/IExpressionSerializable.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/SavableScriptCode.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/ExtraKeyEnumerator.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/CallTypes.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/EventTracker.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/ArgumentType.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/DefaultBinder.Operations.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/Calls/ActualArguments.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Ast/Block.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Ast/LightDynamicExpression.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/ComClassMetaObject.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/DispatchArgBuilder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/ComMethodDesc.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/ComRuntimeHelpers.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/ErrorArgBuilder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/TypeEnumMetaObject.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/VariantArgBuilder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/ComBinderHelpers.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Utils/AssemblyQualifiedTypeName.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Utils/ReflectionUtils.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Hosting/Shell/ConsoleHost.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Hosting/Shell/Remote/RemoteRuntimeServer.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Stubs.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/SpecSharp.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/SourceFileContentProvider.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Runtime/DlrConfiguration.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Runtime/ContextId.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Runtime/DocumentationAttribute.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Utils/DictionaryUnionEnumerator.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Hosting/CompiledCode.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Hosting/Shell/Remote/RemoteCommandDispatcher.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/missingtype.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/typeforwardee1.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/loadorder/loadorder_3a.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/loadorder/loadorder_3c.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/loadorder/loadorder_2e.cs $/IronPython/IronPython_Main/Test/DlrComLibrary/ProvidesClassInfo.cpp $/IronPython/IronPython_Main/Test/DlrComLibrary/Resource.h $/IronPython/IronPython_Main/Test/DlrComLibrary/SimpleErrors.cpp $/IronPython/IronPython_Main/Test/DlrComLibrary/DlrComLibrary.rgs $/IronPython/IronPython_Main/Test/DlrComLibrary/_IDlrComServerEvents_CP.h $/IronPython/IronPython_Main/Test/DlrComLibrary/DlrComServer.rgs $/IronPython/IronPython_Main/Hosts/Silverlight/Microsoft.Scripting.SilverLight/Properties/AssemblyInfo.cs $/IronPython/IronPython_Main/Hosts/Silverlight/Chiron/DetailsForm.Designer.cs $/IronPython/IronPython_Main/Hosts/Silverlight/Chiron/sl.png $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_fileio.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/select.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/math.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_ctypes/Array.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_ctypes/SimpleCData.cs $/IronPython/IronPython_Main/Languages/IronPython/Scripts/generate_dynamic_instructions.py $/IronPython/IronPython_Main/Languages/IronPython/Scripts/generate_UncollectableCompilationMode.py $/IronPython/IronPython_Main/Languages/IronPython/Scripts/generate_dynsites.py $/IronPython/IronPython_Main/Languages/IronPython/IronPython/IronPython.csproj $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/FunctionCode.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/FunctionAttributes.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/PythonOptions.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/DontMapIEnumerableToContainsAttribute.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/BuiltinsDictionaryStorage.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/PythonGetMemberBinder.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/ConversionBinder.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/PythonBinaryOperationBinder.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Exceptions/WarningException.Generated.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Exceptions/PythonExceptions.Generated.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Exceptions/BufferException.Generated.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Operations/PythonTypeOps.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Operations/FloatOps.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Operations/IListOfByteOps.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/BuiltinFunction.Generated.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/ExtensionPropertyInfo.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/CachedNewTypeInfo.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/OldInstance.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/PythonSavableScriptCode.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/FromImportStatement.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Hosting/PythonCommandLine.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Lib/iptest/console_util.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_exec.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_number.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/dllsite.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_builtinfunc.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_traceback.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_numberhash.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_stdmodules.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_superconsole.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/plans/interop.net.type.test_assembly.html $/IronPython/IronPython_Main/Languages/IronPython/Tests/plans/interop.net.method.test_op_explicit.html $/IronPython/IronPython_Main/Languages/IronPython/Tests/plans/interop.net.property.test_property.html $/IronPython/IronPython_Main/Languages/IronPython/Tests/plans/debugging.vs.html $/IronPython/IronPython_Main/Languages/IronPython/Tests/plans/interop.net.method.test_arguments.html $/IronPython/IronPython_Main/Languages/IronPython/Tests/compat/sbs_typeop.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/compat/sbs_func_args.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/compat/sbs_builtin.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/compat/sbs_exceptions/try_else.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/silverlight_sanity/index.html $/IronPython/IronPython_Main/Languages/IronPython/Tests/debugging/mdbg_tool/__init__.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/com/compat/hw.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/com/dlrcomlib/dlrcomserver.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/method/test_arguments.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/event/test_event.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/derivation/test_ctor_override.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/loadorder/t6.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/loadorder/t2c.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/modules/system_related/gc_test.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/modules/network_related/socket_test.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/Tools/clr_helpers.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/Tools/baselines/time.log $/IronPython/IronPython_Main/Languages/IronPython/Tests/Tools/baselines/cPickle.log $/IronPython/IronPython_Main/Languages/IronPython/Tests/Tools/baselines/xxsubtype.log $/IronPython/IronPython_Main/Languages/IronPython/IronPythonTest/DelegateTest.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPythonTest/BindTest.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Debugging/DebugSourceSpan.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Compiler/StackSpiller.Bindings.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Compiler/ConstantCheck.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Compiler/LambdaCompiler.Logical.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Compiler/LambdaCompiler.Generated.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/RuntimeVariablesExpression.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/TypeUtils.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/IndexExpression.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/IArgumentProvider.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Interpreter/Instructions/AddInstruction.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Interpreter/Instructions/CallInstruction.Generated.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Generation/CompilerHelpers.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Generation/ToDiskRewriter.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Generation/ConstantCheck.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/ExceptionHelpers.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/PositionTrackingWriter.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/ICustomScriptCodeData.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/CustomSymbolDictionary.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/BaseSymbolDictionary.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/ReflectedPropertyTracker.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/OperationMetaObject.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/DefaultBinder.MethodCalls.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/Calls/OverloadInfo.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/Calls/ParamsArgBuilder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Ast/IfStatementTest.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Ast/BlockBuilder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/Variant.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/CollectionExtensions.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Runtime/StreamContentProvider.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Runtime/ScriptDomainManager.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Runtime/NotNullAttribute.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Utils/AssemblyQualifiedTypeName.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Utils/Assert.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Hosting/ParameterDoc.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Hosting/ExceptionOperations.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Hosting/Shell/Remote/RemoteConsoleCommandLine.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Hosting/Configuration/LanguageElement.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/baseclassvb.vb $/IronPython/IronPython_Main/Test/ClrAssembly/Src/loadexception.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/loadorder/loadorder_2.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/loadorder/loadorder_1a.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/loadorder/loadorder_1c.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/loadorder/loadorder_4c.cs $/IronPython/IronPython_Main/Test/DlrComLibrary/MultipleParams.cpp $/IronPython/IronPython_Main/Test/DlrComLibrary/IndexedProp.cpp $/IronPython/IronPython_Main/Test/DlrComLibrary/NonDispatch.rgs $/IronPython/IronPython_Main/Test/DlrComLibrary/HiddenMembers.h $/IronPython/IronPython_Main/Test/DlrComLibrary/NoTypeInfo.h $/IronPython/IronPython_Main/Test/DlrComLibrary/Properties.rgs $/IronPython/IronPython_Main/Hosts/Silverlight/Microsoft.Scripting.SilverLight/repl_formatter.py $/IronPython/IronPython_Main/Hosts/Silverlight/Microsoft.Scripting.SilverLight/Window.cs $/IronPython/IronPython_Main/Hosts/Silverlight/Microsoft.Scripting.SilverLight/Microsoft.Scripting.Silverlight.csproj $/IronPython/IronPython_Main/Solutions/IronPython.sln $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/TypeUtils.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/IDispatchMetaObject.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/Errors.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/ArgBuilder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Ast/UnaryExpression.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Ast/SymbolConstantExpression.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Ast/SourceFileInformation.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Ast/DebugStatement.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/TopNamespaceTracker.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/OperationBinder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/NestedTypeTracker.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/MethodTracker.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/ConversionResultKind.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/ComboBinder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Hosting/ScriptEngine.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Debugging/InvokeTargets.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Debugging/DebugThread.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Debugging/TracePipeline/TracePipeline.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/Expression.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Actions/DynamicMetaObject.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Actions/UnaryOperationBinder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Interpreter/Instructions/EqualInstruction.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/CodeDomCodeGen.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/LegacyScriptCode.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/CallTargets.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/Generator.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Utils/CopyOnWriteList.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Utils/ContractUtils.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Utils/EnumUtils.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/InvalidImplementationException.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Runtime/ScriptingRuntimeHelpers.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Utils/ConsoleInputStream.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/fieldtests.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/loadorder/loadorder_3i.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/cmath.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/gc.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_ctypes/PointerType.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_ctypes/UnionType.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/DefaultContext.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Interfaces.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/ScopeDictionaryStorage.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Set.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/PythonModule.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/ObjectAttributesAdapter.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/IFastSettable.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/BinaryRetTypeBinder.Generated.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/PythonSetSliceBinder.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/MetaPythonType.Members.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Exceptions/SystemExitException.cs $/IronPython/IronPython_Main/Languages/IronPython/Scripts/clean.py $/IronPython/IronPython_Main/Languages/IronPython/Scripts/generate_ops.py $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Exceptions/SyntaxWarningException.Generated.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Operations/PythonOps.Generated.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/TypeInfo.Generated.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/ParameterInfoWrapper.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/PythonTypeUserDescriptorSlot.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/EmptyType.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/SerializedScopeStatement.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/ReturnStatement.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/EmptyStatement.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/ContinueStatement.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/Parameter.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/PythonReference.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/GetParentContextFromFunctionExpression.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Lib/site.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/badil.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_genericmeth.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_decorator.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/RunAgainstCpy.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_clruse.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_attr.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_with.py $/IronPython/IronPython_Main/Readme.html $/IronPython/IronPython_Main/Config/Signed/App.config $/IronPython/IronPython_Main/Hosts/Silverlight/Microsoft.Scripting.SilverLight/Settings.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/loadorder/loadorder_3d.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/PythonCompilerOptions.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/compat/sbs_exceptions/try_except3.py $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/Calls/CandidateSet.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/XRange.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/com/dlrcomlib/__init__.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Debugging/TracePipeline/ITracePipeline.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Tokenizer.Generated.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Utils/Action.cs $/IronPython/IronPython_Main/Test/DlrComLibrary/MultipleParams.rgs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Ast/GeneratorExpression.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Compiler/StackSpiller.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_warnings.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Lib/iptest/cominterop_util.py $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/IMembersList.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/ComboActionRewriter.cs $/IronPython/IronPython_Main/Test/DlrComLibrary/stdafx.h $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/IfStatement.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/plans/interop.net.test_accessibility.html $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_locale.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/DynamicConvertExpression.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_imp.py $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/ActionBinder.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/testpkg1/__init__.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/DynamicExpression.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Interpreter/Instructions/LabelInfo.cs $/IronPython/IronPython_Main/Test/DlrComLibrary/DlrComStopwatch.h $/IronPython/IronPython_Main/Languages/IronPython/Tests/Tools/baselines/nt.log $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/SourceLocation.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Method.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Interpreter/LastFaultingLineExpression.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/BindingRestrictionsHelpers.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/PlatformAdaptationLayer.cs $/IronPython/IronPython_Main/Hosts/Silverlight/Microsoft.Scripting.SilverLight/Repl.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Hosting/Configuration/LanguageElementCollection.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/plans/interop.net.derivation.test_event_override.html $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Operations/InstanceOps.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/loadorder/t1c.py $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/SourceFileContentProvider.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_dict.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/loadorder/t3h.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Runtime/Generator.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/MetaPythonFunction.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/OperationFailed.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Exceptions/ReferenceException.Generated.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/modules/io_related/_bytesio_test.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_stdconsole.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_strformat.py $/IronPython/IronPython_Main/Hosts/Silverlight/SilverlightVersion.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/ListExpression.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/DocumentationAttribute.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/AugmentedAssignStatement.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/compat/rulediff.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/compat/sbs_exceptions/while_loop.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_tcf.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Compiler/LabelInfo.cs $/IronPython/IronPython_Main/Test/DlrComLibrary/DlrComServer.h $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_ctypes/MemoryHolder.cs $/IronPython/IronPython_Main/Languages/IronPython/Scripts/ipcom.ps1 $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Ast/YieldExpression.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Ast/ConstantExpression.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Runtime/Operators.cs $/IronPython/IronPython_Main/Hosts/Silverlight/Chiron/LCA_RESTRICTED/Zip.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Super.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/encoded_files/cp20472.py $/IronPython/IronPython_Main/Languages/IronPython/IronPythonWindow/ipy.ico $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_kwarg.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/TryExpression.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/cStringIO.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/ReflectedField.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/modules/io_related/re_test.py $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/ComBinder.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/loadorder/loadorder_4b.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/UnboundNameException.cs $/IronPython/IronPython_Main/Hosts/Silverlight/Microsoft.Scripting.SilverLight/BrowserScriptHost.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/ClrModule.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_threadsafety.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/LoopExpression.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Hosting/ScriptIO.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Utils/ReferenceEqualityComparer.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Actions/GetIndexBinder.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPythonConsole/IronPythonConsole.csproj $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Hosting/PythonCodeDomCodeGen.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPythonTest/DynamicRegressions.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/Modes/ConsoleFlags.ps1 $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Compiler/StackSpiller.Temps.cs $/IronPython/IronPython_Main/Test/DlrComLibrary/InOutParams.h $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/YieldExpression.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/ConstructorTracker.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Ast/LoopStatement.cs $/IronPython/IronPython_Main/Languages/IronPython/Scripts/generate_walker.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/silverlight_sanity/run.bat $/IronPython/IronPython_Main/Test/DlrComLibrary/targetver.h $/IronPython/IronPython_Main/Hosts/Silverlight/Chiron/Chiron.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_ctypes/INativeType.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Resources.Designer.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/com/apps/excel.py $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/Calls/ReferenceArgBuilder.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPythonTest/InheritTest.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Exceptions/DeprecationWarningException.Generated.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Operations/StringOps.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/PrintStatement.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/com/dlrcomlib/pytraits/__init__.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/Tools/baselines/__builtin__.log $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/Helpers.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Utils/CollectionExtensions.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/CompilationMode.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/SliceExpression.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/hosting/stress/__init__.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/Tools/cpy_tests.py $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/IDispatchComObject.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Runtime/DelegateSignatureInfo.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/modules/io_related/copy_reg_test.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Utils/Extension.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/Expression.DebuggerProxy.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Utils/ContractUtils.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/ClassMethodAttribute.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/functions/__init__.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Compiler/Set.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/typeforwarder2.il $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/FastSetBase.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/dynamic/dynamic_regressions.py $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Utils/ListEqualityComparer.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Runtime/SharedIO.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/modules/network_related/_ssl_test.py $/IronPython/IronPython_Main/Test/DlrComLibrary/ParamsInRetval.h $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/MetaPythonObject.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Exceptions/UnicodeWarningException.Generated.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/method/test_op_explicit.py $/IronPython/IronPython_Main/Test/DlrComLibrary/OutParams.h $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/LambdaExpression.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/PythonType.Generated.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/MemberInitExpression.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/Calls/ParameterWrapper.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/c4.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/loadorder/t3d.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Hosting/ErrorListener.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Debugging/DebugInfoRewriter.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Hosting/Shell/Remote/RemoteCommandDispatcher.cs $/IronPython/IronPython_Main/Languages/IronPython/AssemblyVersion.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Modules/imp.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/pretest.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Debugging/LambdaWalker.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPythonTest/DefaultParams.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Utils/HashSet.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Hosting/Shell/ICommandDispatcher.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/eventdefinitions.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/MetaMethod.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/plans/interop.net.property.test_indexervb.html $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/type/test_defaultmember.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/modules/misc/_warnings_test.py $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/ScriptingRuntimeHelpers.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/IPythonGetable.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/PythonAsciiEncoding.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Interpreter/Instructions/GreaterThanInstruction.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/ExtensionUnaryOperationBinder.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/List.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/Extensible.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Exceptions/UserWarningException.Generated.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_ctypes/NativeFunctions.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_sre.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/transform.py $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/ComTypeLibDesc.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/loadorder/loadorder_6a.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Runtime/ParamDictionaryAttribute.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Runtime/ScopeStorage.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/Node.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/ExpressionStatement.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Hosting/ScriptHostProxy.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Utils/ReadOnlyCollectionBuilder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Actions/CallSiteOps.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/derivation/test_event_override.py $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/ComInterop.cs $/IronPython/IronPython_Main/Languages/IronPython/Scripts/generate_indicetest.py $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/IPythonObject.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/run_transformed.bat $/IronPython/IronPython_Main/Test/ClrAssembly/Src/defaultmemberscs.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/CustomDictionaryStorage.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/IPythonConvertible.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/Inputs/uninitializedGlobal.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/com/dlrcomlib/OptionalParams.py $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/MetaObjectExtensions.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/NoSideEffectsAttribute.cs $/IronPython/IronPython_Main/Hosts/Silverlight/Chiron/XapBuilder.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/ClosureExpression.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Bytes.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/compat/sbs_exceptions/if_true.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Debugging/DefaultRuntimeVariablesImpl/DebugRuntimeVariables.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/loadorder/loadorder_2b.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_ctypes/LocalOrArg.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/Calls/ArgBuilder.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/GetGlobalContextExpression.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/pyc/pkg/__init__.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Debugging/CollectionUtils.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/loadorder/loadorder_3e.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/socket.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/WrapperDictionary.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/DictProxy.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/MemberGroup.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/specialcontext/verify_ipyw.py $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/CurrencyArgBuilder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Compiler/LambdaCompiler.ControlFlow.cs $/IronPython/IronPython_Main/Test/DlrComLibrary/IndexedProp.rgs $/IronPython/IronPython_Main/Languages/IronPython/Scripts/generate.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/Inputs/syntaxError.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Utils/StrongBox.cs $/IronPython/IronPython_Main/Test/DlrComLibrary/InOutParams.rgs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/PythonCallTargets.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Ast/TryStatementBuilder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Interpreter/LoopCompiler.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_file.py $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Interpreter/ILightCallSiteBinder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Generation/Snippets.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_execfile.py $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Interpreter/Instructions/FieldOperations.cs $/IronPython/IronPython_Main/Test/DlrComLibrary/DlrComLibrary.idl $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Lib/iptest/warning_util.py $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/xxsubtype.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/plans/interop.net.test_loadorder.html $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/DefaultBinder.DeleteMember.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Actions/CallSiteHelpers.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_attrinjector.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/plans/interop.net.insert_csharp.html $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Math/BigIntegerV2.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/PythonDictionary.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/AndExpression.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/CompilerContext.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/Calls/DefaultArgBuilder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Hosting/MemberDoc.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/compat/testdata.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Debugging/RuntimeVariablesSupport/IDebugThreadFactory.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/ComEventDesc.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/ConstructorFunction.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/ReflectedIndexer.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/method/test_operators.py $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/ModuleOps.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/compat/sbs_class_compare.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/MemberListBinding.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/MemberTracker.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/loadorder/loadorder_3g.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Utils/DictionaryUnionEnumerator.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Lib/iptest/__init__.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Runtime/DlrCachedCodeAttribute.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/CreateFallbackBinder.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/plans/interop.net.derivation.test_method_override.html $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/DelegateSignatureInfo.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/ConditionalBuilder.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/marshal.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/BytesConversionAttribute.cs $/IronPython/IronPython_Main/Hosts/Silverlight/Chiron/HttpSocket.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/DebugOptions.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Operations/ComplexOps.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_conditional.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/loadorder/t2e.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/Tools/baselines/_codecs.log $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Hosting/Configuration/OptionElementCollection.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/plans/interop.net.derivation.test_special_method.html $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/TokenizerBuffer.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/SourceCodeReader.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/LanguageOptions.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/PythonDeleteMemberBinder.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/OperatorStrings.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Interpreter/RuntimeVariables.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/Tools/baselines/_sre.log $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/ComType.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/regressions.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/modules/io_related/cPickle_test.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/modules/type_related/__init__.py $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/DictionaryOps.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/MetaOldInstance.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/ConvertibleArgBuilder.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_complex.py $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Generation/MethodSignatureInfo.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/BinaryExpression.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Utils/Publisher.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/WarningInfo.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/versions/python26.py $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Generation/ILGen.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPythonWindow/IronPythonWindow.csproj $/IronPython/IronPython_Main/Languages/IronPython/Scripts/generate_reflected_calls.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_slots.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/loadorder/module.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Compiler/DelegateHelpers.Generated.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Ast/BinaryExpression.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Operations/ComOps.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Hosting/Shell/Remote/ConsoleRestartManager.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/IPseudoComObject.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/Tools/baselines/_weakref.log $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Exceptions/ImportWarningException.Generated.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/FlowChecker.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_weakref.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/ExplicitConversionMethodAttribute.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/TypeGroup.cs $/IronPython/IronPython_Main/Hosts/Silverlight/Chiron/DetailsForm.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Operations/IntOps.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/field/test_fields_inside_enum.py $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/PythonDocumentationProvider.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/plans/generic_plan_template.py $/IronPython/IronPython_Main/Test/DlrComLibrary/OutParams.cpp $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/ClassDefinition.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/plans/interop.net.derivation.html $/IronPython/IronPython_Main/Languages/IronPython/Tests/Inc/toexec.py $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Ast/NewArrayExpression.cs $/IronPython/IronPython_Main/Languages/IronPython/Scripts/test_builder.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Compiler/LambdaCompiler.Lambda.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/loadtypesample.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/ConditionalExpression.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Compiler/SymbolDocumentGenerator.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/DateTimeArgBuilder.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/CollectableCompilationMode.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Actions/SetMemberBinder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Utils/ExceptionFactory.Generated.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/loadorder/loadorder_3.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/LabelExpression.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/NoLineFeedSourceContentProvider.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/PythonScopeExtension.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Hosting/ErrorListenerProxy.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/BuiltinFunction.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/loadorder/t3g1.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Hosting/LanguageSetup.cs $/IronPython/IronPython_Main/Hosts/Silverlight/Microsoft.Scripting.SilverLight/DynamicLanguageConfig.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/MaybeNotImplementedAttribute.cs $/IronPython/IronPython_Main/Test/DlrComLibrary/Properties.cpp $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/com/compat/hw_client.py $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/PythonOverloadResolver.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Exceptions/IndentationException.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Exceptions/RuntimeWarningException.Generated.cs $/IronPython/IronPython_Main/Test/DlrComLibrary/NonDispatch.cpp $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Utils/WeakDictionary.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Runtime/Scope.cs $/IronPython/IronPython_Main/Languages/IronPython/Scripts/test_pystone.py $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/UnaryExpression.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/type/__init__.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/modules/system_related/thread_test.py $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/MetaUserObject.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Utils/CacheDict.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Utils/ConsoleStreamType.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/DynamicHelpers.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Token.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/Tools/cleantests.py $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Utils/MathUtils.cs $/IronPython/IronPython_Main/Test/ClrAssembly/dummy.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPythonTest/OperatorTest.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/ExcepInfo.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/GlobalSuppressions.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/ConversionArgBuilder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Interpreter/Instructions/InstructionFactory.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/loadorder/loadorder_5b.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/com/dlrcomlib/ReturnValues.py $/IronPython/IronPython_Main/Test/DlrComLibrary/DlrComLibrary.sln $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_ctypes/Structure.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_clrload.py $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Exceptions/UnicodeTranslateException.Generated.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/DictionaryStorage.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Properties/AssemblyInfo.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/Calls/CallFailureReason.cs $/IronPython/IronPython_Main/Hosts/Silverlight/Microsoft.Scripting.SilverLight/init.rb $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/NameType.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/pyc/other_hw.py $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Microsoft.Scripting.txt $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/ReflectedProperty.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/PythonTypeSlot.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Actions/ConvertBinder.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/modules/misc/system_namespaces.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_isinstance.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/hosting/editor_svcs/__init__.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Utils/StringUtils.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_str.py $/IronPython/IronPython_Main/Languages/IronPython/IronPythonTest/ClrType.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Hosting/Shell/Remote/RemoteConsoleCommandLine.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Runtime/ScriptCode.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/CatchBlock.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/AttributesDictionaryStorage.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/PythonDynamicExpression.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/loadorder/t5c2.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/loadorder/t3b.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_metaclass.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_winforms.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/NewExpression.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/Calls/ArgumentBinding.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/LocalsDictionary.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/silverlight_sanity/app/app.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/com/apps/__init__.py $/IronPython/IronPython_Main/Test/DlrComLibrary/DlrUniversalObj.rgs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Interpreter/Instructions/DynamicSplatInstruction.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/PythonInvokeBinder.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/Inputs/raise.py $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/OperatorSlotAttribute.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/ReflectedExtensionProperty.cs $/IronPython/IronPython_Main/Languages/IronPython/Scripts/generate_alltypes.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_methodbinder1.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/modules/misc/_random_test.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Actions/CallSiteBinder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Ast/Utils.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/indexerdefinitionscs.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Runtime/ScopeExtension.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/RaiseStatement.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Properties/Visibility.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPythonTest/AttrInjectorTest.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Debugging/DebugContext.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Hosting/Shell/ConsoleHostOptions.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Debugging/DelegateHelpers.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Debugging/RuntimeVariablesSupport/IDebugRuntimeVariables.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Stubs.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Utils/ReadOnlyDictionary.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Compiler/HoistedLocals.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/ConstantExpression.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/ExpressionType.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/ElementInit.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/DefaultExpression.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/InvocationExpression.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Actions/DeleteMemberBinder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Actions/RuleCache.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Actions/BinaryOperationBinder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Properties/AssemblyInfo.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/GlobalSuppressions.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/MultiRuntimeAwareAttribute.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Generation/FieldBuilderExpression.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Generation/KeyedQueue.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Generation/DynamicILGen.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/DynamicLanguageProviderAttribute.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/ExtensionTypeAttribute.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/StaticExtensionMethodAttribute.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/SymbolDictionary.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/TypeTracker.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/DynamicSiteHelper.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/NamespaceTracker.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/ExtensionMethodTracker.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/CustomTracker.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/MemberRequestKind.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/OperatorInfo.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/Calls/ParamsDictArgBuilder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/Calls/DefaultOverloadResolver.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/Calls/BindingResult.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Ast/GeneratorRewriter.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Ast/FlowControlRewriter.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Ast/EmptyStatements.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/NullArgBuilder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/ComTypeEnumDesc.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/ComObject.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/ComHresults.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/BoundDispEvent.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/ComInvokeBinder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/VariantBuilder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Utils/ArrayUtils.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Utils/CheckedDictionaryEnumerator.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Utils/MonitorUtils.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Hosting/Shell/ConsoleOptions.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Hosting/Shell/CommandLine.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/IAttributesCollection.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/SymbolTable.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Runtime/LanguageBoundTextContentProvider.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Runtime/SymbolDictionary.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Runtime/DynamicOperations.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Utils/ArrayUtils.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Hosting/ParameterFlags.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Hosting/Configuration/Section.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/indexerdefinitionsvb.vb $/IronPython/IronPython_Main/Test/ClrAssembly/Src/loadorder/loadorder_4.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/loadorder/loadorder_2d.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/loadorder/loadorder_4a.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/loadorder/loadorder_5a.cs $/IronPython/IronPython_Main/Test/DlrComLibrary/dllmain.h $/IronPython/IronPython_Main/Test/DlrComLibrary/Setup/Setup.vdproj $/IronPython/IronPython_Main/Hosts/Silverlight/Microsoft.Scripting.SilverLight/agdlr.js $/IronPython/IronPython_Main/Hosts/Silverlight/Microsoft.Scripting.SilverLight/ExtensionTypes.cs $/IronPython/IronPython_Main/Hosts/Silverlight/Chiron/HtmlFormatter.cs $/IronPython/IronPython_Main/Hosts/Silverlight/Chiron/DetailsForm.resx $/IronPython/IronPython_Main/Languages/IronPython/App.config $/IronPython/IronPython_Main/Languages/IronPython/IronPythonConsole/AssemblyInfo.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPythonConsole/ipy.ico $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/thread.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_ssl.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/cPickle.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_codecs_cn.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_ctypes/ArrayType.cs $/IronPython/IronPython_Main/Languages/IronPython/Scripts/generate_math.py $/IronPython/IronPython_Main/Languages/IronPython/Scripts/make_meta1.py $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/ModuleLoader.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/ErrorCodes.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Generator.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/PythonFunction.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/PythonModuleAttribute.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/ConversionWrappers.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/ByteArray.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/MetaUserObject.Members.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/MetaPythonType.Calls.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/PythonOperationKind.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/ContextArgBuilder.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Exceptions/PendingDeprecationWarningException.Generated.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Exceptions/RuntimeException.Generated.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Exceptions/StopIterationException.Generated.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Operations/CustomTypeDescHelpers.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/ResolvedMember.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/InstanceCreator.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/UncollectableCompilationMode.Generated.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/PythonScriptCode.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/ParenthesisExpression.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/MemberExpression.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_protected.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_statics.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_ipyc.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_nofuture.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_generator.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_methodbinder2.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_memory.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_assert.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_class.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/c3.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/plans/debugging.mdbg_tool.html $/IronPython/IronPython_Main/Languages/IronPython/Tests/pyc/stdmodules_ok.ps1 $/IronPython/IronPython_Main/Languages/IronPython/Tests/compat/sbs_parse_string.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/compat/sbs_exceptions/define.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/compat/sbs_exceptions/try_finally1.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/com/dlrcomlib/OutParams.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/com/dlrcomlib/typelib.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/com/dlrcomlib/paramsinretval.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/test_loadorder.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/field/__init__.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/event/test_delegate.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/type/test_reachtype.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/loadorder/t3e.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/property/test_indexervb.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/modules/type_related/_struct_test.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/modules/system_related/signal_test.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/modules/misc/_weakref_test.py $/IronPython/IronPython_Main/Languages/IronPython/IronPythonTest/Indexable.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPythonTest/Enums.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPythonTest/TypeDescriptor.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPythonTest/Events.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Debugging/ForceToGeneratorLoopException.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Debugging/Microsoft.Scripting.Debugging.csproj $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/GlobalSuppressions.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Utils/Helpers.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Utils/TrueReadOnlyCollection.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Compiler/LambdaCompiler.Unary.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Compiler/VariableBinder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/MemberBinding.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/DebugViewWriter.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Actions/IInvokeOnGetBinder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Actions/CreateInstanceBinder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Interpreter/LightCompiler.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Interpreter/Interpreter.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Interpreter/Instructions/Instruction.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Interpreter/Instructions/DynamicInstructionN.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Interpreter/Instructions/LessThanInstruction.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Generation/AssemblyGen.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/NullTextContentProvider.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/BinderType.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/ReflectionCache.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/AssemblyTypeNames.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/DelegateInfo.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Math/BigIntegerV4.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/Argument.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/PropertyTracker.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/CallSignature.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/Calls/MethodCandidate.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/Calls/ParameterMapping.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/Calls/ConversionResult.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Ast/IfStatementBuilder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Ast/LambdaBuilder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Ast/MethodCallExpression.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/VarEnumSelector.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/VariantArray.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/ComTypeClassDesc.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/ComFallbackMetaObject.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Utils/CollectionUtils.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Utils/CacheDict.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Hosting/Shell/Style.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/SymbolId.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/TokenCategory.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Runtime/DynamicStackFrame.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Runtime/InvariantContext.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Utils/ReflectionUtils.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Hosting/Shell/Remote/RemoteRuntimeServer.cs $/IronPython/IronPython_Main/Test/ClrAssembly/ClrAssembly.csproj $/IronPython/IronPython_Main/Test/ClrAssembly/Src/loadorder/loadorder_2a.cs $/IronPython/IronPython_Main/Test/DlrComLibrary/DlrComLibrary.vcproj $/IronPython/IronPython_Main/Test/DlrComLibrary/DlrUniversalObj.h $/IronPython/IronPython_Main/Test/DlrComLibrary/SimpleErrors.rgs $/IronPython/IronPython_Main/Test/DlrComLibrary/HiddenMembers.rgs $/IronPython/IronPython_Main/Test/DlrComLibrary/NoTypeInfo.rgs $/IronPython/IronPython_Main/Test/DlrComLibrary/ReadMe.txt $/IronPython/IronPython_Main/Test/DlrComLibrary/OptionalParams.cpp $/IronPython/IronPython_Main/Test/DlrComLibrary/stdafx.cpp $/IronPython/IronPython_Main/Test/DlrComLibrary/DlrComLibraryPS.vcproj $/IronPython/IronPython_Main/Hosts/Silverlight/Microsoft.Scripting.SilverLight/XamlScriptTags.cs $/IronPython/IronPython_Main/Hosts/Silverlight/Microsoft.Scripting.SilverLight/agdlr.css $/IronPython/IronPython_Main/Hosts/Silverlight/Chiron/Chiron.csproj $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/StringArgBuilder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/ComTypeDesc.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/ComEventSinksContainer.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/ComEventSinkProxy.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Hosting/ObjectOperations.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Utils/TypeUtils.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Debugging/IDebugCallback.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/NewArrayExpression.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Actions/SetIndexBinder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Actions/UpdateDelegates.Generated.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Interpreter/Instructions/DynamicInstructions.Generated.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Interpreter/Instructions/NumericConvertInstruction.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/PropertyMethodAttribute.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/ImplicitConversionMethodAttribute.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/TransformDictEnumerator.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/ModuleChangeEventArgs.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/Uninitialized.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Utils/ThreadLocal.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/ScriptCodeParseResult.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/SourceUnit.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Runtime/LanguageContext.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Utils/ExceptionUtils.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/loadorder/loadorder_5c.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/loadorder/loadorder_5.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_ctypes/NativeArgument.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_ctypes/MarshalCleanup.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/NewStringFormatter.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/RuntimeVariablesDictionaryStorage.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/StringFormatter.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/ModuleContext.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/PythonGetIndexBinder.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/Binders.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/CompatibilityInvokeBinder.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/MetaOldClass.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/MetaBuiltinFunction.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/MetaBuiltinMethodDescriptor.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/SiteLocalStorageBuilder.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Exceptions/ObjectException.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Exceptions/EnvironmentException.Generated.cs $/IronPython/IronPython_Main/Languages/IronPython/Scripts/radix_generator.py $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Operations/TypeGroupOps.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Operations/PythonOps.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/NameConverter.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/PythonTypeWeakRefSlot.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/PythonType.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/BuiltinFunctionOverloadMapper.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/GeneratorRewriter.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/ClosureInfo.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/ConstantExpression.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/PythonWalker.Generated.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/Arg.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/BackQuoteExpression.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/ILoopStatement.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Lib/__future__.py $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Lib/runpy.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_property.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_set.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_generator_throw.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_closure.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_syntax.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_fuzz_parser.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_peverify.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/c1.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/dynamic_sanity/dynamic_sanity.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/stress/__init__.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/plans/interop.net.type.test_defaultmember.html $/IronPython/IronPython_Main/Languages/IronPython/Tests/plans/interop.net.event.test_delegate.html $/IronPython/IronPython_Main/Languages/IronPython/Tests/plans/interop.net.property.test_indexercs.html $/IronPython/IronPython_Main/Languages/IronPython/Tests/plans/debugging.html $/IronPython/IronPython_Main/Languages/IronPython/Tests/testpkg1/mod1.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/compat/common.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/Inputs/exitFuncRaises.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/debugging/pdb_mod/__init__.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/Modes/ConsoleHelp.Debug.out $/IronPython/IronPython_Main/Languages/IronPython/Tests/pickles/cp18666.pickle $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/field/test_field_misc.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/derivation/__init__.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/dynamic/__init__.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/loadorder/t2g.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/loadorder/t3i.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/hosting/stress/engine.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/Tools/baselines/copy_reg.log $/IronPython/IronPython_Main/Languages/IronPython/Tests/Tools/baselines/_winreg.log $/IronPython/IronPython_Main/Languages/IronPython/IronPythonTest/MemberMappingTests.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPythonConsoleAny/IronPythonConsoleAny.csproj $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Debugging/DebugFrame.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Debugging/DefaultRuntimeVariablesImpl/DefaultDebugThreadFactory.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Microsoft.Scripting.Core.csproj $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Compiler/ExpressionQuoter.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Compiler/LambdaCompiler.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Compiler/AssemblyGen.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Compiler/DelegateHelpers.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Compiler/KeyedQueue.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/BlockExpression.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/TypeBinaryExpression.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/MemberExpression.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Interpreter/Instructions/TypeOperations.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/RestrictedMetaObject.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/Calls/NarrowingLevel.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/Calls/InstanceBuilder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/Calls/ByRefReturnBuilder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/Calls/ApplicableCandidate.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/ArgumentTypeException.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Runtime/DefaultLanguageContext.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Runtime/TokenTriggers.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Runtime/BaseSymbolDictionary.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Properties/AssemblyInfo.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Utils/CheckedDictionaryEnumerator.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Hosting/DocumentationOperations.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Hosting/ErrorSinkProxyListener.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/delegatedefinitions.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/baseclasscs.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/typeforwardee2.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/typeforwarder3.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/dynamicobjmodel.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/typeforwarder1.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/loadorder/loadorder_6b.cs $/IronPython/IronPython_Main/Test/DlrComLibrary/DlrComLibraryps.def $/IronPython/IronPython_Main/Test/DlrComLibrary/ProvidesClassInfo.rgs $/IronPython/IronPython_Main/Test/DlrComLibrary/ReturnValues.cpp $/IronPython/IronPython_Main/Test/DlrComLibrary/SimpleErrors.h $/IronPython/IronPython_Main/Test/DlrComLibrary/DispEvents.h $/IronPython/IronPython_Main/Test/DlrComLibrary/DlrComServer.cpp $/IronPython/IronPython_Main/Test/DlrComLibrary/DlrUniversalObj.cpp $/IronPython/IronPython_Main/Test/DlrComLibrary/DispEvents.cpp $/IronPython/IronPython_Main/Hosts/Silverlight/Microsoft.Scripting.SilverLight/DynamicEngine.cs $/IronPython/IronPython_Main/Hosts/Silverlight/Chiron/Notification.cs $/IronPython/IronPython_Main/Hosts/Silverlight/Chiron/HttpServer.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/binascii.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/operator.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_multibytecodec.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/time.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/IronPython.Modules.csproj $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_heapq.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_weakref.Generated.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_collections.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/math.Generated.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_ctypes/CFuncPtrType.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_ctypes/StructType.cs $/IronPython/IronPython_Main/Tutorial/Tutorial.htm $/IronPython/IronPython_Main/Config/Unsigned/App.config $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/BinderOps.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Exceptions/TraceBack.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/NewTypeInfo.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/IterTools.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/pyc/test_pyc.ps1 $/IronPython/IronPython_Main/Languages/IronPython/Tests/Tools/baselines/gc.log $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/ExtensionPropertyTracker.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Hosting/TokenCategorizer.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_compiler.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Debugging/VariableInfo.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/IdDispenser.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/ReflectedEvent.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_ctypes_test.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/plans/interop.net.event.test_event.html $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Hosting/Shell/Remote/RemoteConsoleHost.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Utils/CollectionExtensions.cs $/IronPython/IronPython_Main/Test/DlrComLibrary/MultipleParams.h $/IronPython/IronPython_Main/Languages/IronPython/Scripts/generate_casts.py $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/RuntimeScriptCode.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/Inputs/simpleCommand.py $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Ast/ExpressionCollectionBuilder.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/PythonGlobalVariableExpression.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Debugging/CompilerServices/IDebugCompilerSupport.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/Calls/Candidate.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_ctypes/CData.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/compat/sbs_exceptions/try_finally3.py $/IronPython/IronPython_Main/Test/ClrAssembly/Src/loadorder/loadorder_1b.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/SpecSharp.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/ExpressionVisitor.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/NameExpression.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/ComTypeLibMemberDesc.cs $/IronPython/IronPython_Main/Test/DlrComLibrary/DispEvents.rgs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Interpreter/LightLambda.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_tuple.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Compiler/BoundConstants.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Interpreter/LocalVariables.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/ExecStatement.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_ipye.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/com/__init__.py $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/ComParamDesc.cs $/IronPython/IronPython_Main/Test/DlrComLibrary/HiddenMembers.cpp $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Ast/SkipInterpretExpression.cs $/IronPython/IronPython_Main/Languages/IronPython/Scripts/generate_tuples.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_exceptions_generated.py $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Interpreter/Instructions/ControlFlowInstructions.cs $/IronPython/IronPython_Main/Hosts/Silverlight/Chiron/App.config $/IronPython/IronPython_Main/Languages/IronPython/Tests/debugging/vs/__init__.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Actions/DynamicMetaObjectBinder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/MemberAssignment.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/SourceStringContentProvider.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/compat/sbs_exceptions/shared.py $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/Calls/CallFailure.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_ctypes/_ctypes.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/RelativeModuleName.cs $/IronPython/IronPython_Main/Hosts/Silverlight/Microsoft.Scripting.SilverLight/BrowserVirtualFilesystem.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/Tools/cmodule.py $/IronPython/IronPython_Main/Test/ClrAssembly/Src/loadorder/loadorder_2c.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_interactive.py $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/PythonTypeDictSlot.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/NativeSignal.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/DlrCachedCodeAttribute.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Hosting/ScriptHost.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/CompileFlags.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Operations/ByteOps.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/DefaultBinder.SetMember.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Hosting/Configuration/OptionElement.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Operations/ObjectOps.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_namebinding.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/plans/interop.net.derivation.test_simplederive.html $/IronPython/IronPython_Main/Languages/IronPython/Tests/modules/io_related/_fileio_test.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/modules/system_related/_locale_test.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/method/test_op_implicit.py $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Generation/TypeGen.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/DefaultLanguageContext.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Utils/WeakHandle.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/SiteLocalStorage.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/BinaryRetTypeBinder.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/Tools/baselines/array.log $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Runtime/DocumentationProvider.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Lib/iptest/util.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Utils/NativeMethods.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/ComEventSink.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/CollectionDebugView.cs $/IronPython/IronPython_Main/Test/DlrComLibrary/ParamsInRetval.cpp $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/loadorder/t7e.py $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/KeyboardInterruptException.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Symbols.Generated.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/UnknownArgBuilder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/CompilerOptions.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/versions/__init__.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Compiler/DebugInfoGenerator.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/PythonDeleteSliceBinder.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/harness.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/specialcontext/Consoleless.ps1 $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/PythonProtocol.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/SwitchCase.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/FunctionDefinition.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/Properties/AssemblyInfo.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/modules/type_related/types_test.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/plans/interop.net.derivation.test_method_signature.html $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Utils/ExceptionUtils.cs $/IronPython/IronPython_Main/Test/DlrComLibrary/ReturnValues.h $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/FastGetBase.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Runtime/DelegateInfo.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Microsoft.Scripting.ExtensionAttribute.csproj $/IronPython/IronPython_Main/Solutions/MSSharedLibDelaySigned.snk $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_clrexception.py $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/MethodGroup.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/PythonConstantExpression.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/Mro.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/Tools/stdmodules.py $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/Calls/TypeInferer.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/ComTypeLibInfo.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/compat/sbs_simple_ops.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/loadorder/t3a.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Compiler/Closure.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/DynamicNull.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_exceptions.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/test_dynamicobjectmodel.py $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Exceptions/OldInstanceException.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/Tools/baselines/thread.log $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/ExtensionBinaryOperationBinder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/BoolArgBuilder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Utils/Assert.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/SlotFieldAttribute.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/ErrorExpression.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/loadorder/t7d.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Debugging/ScopedRuntimeVariables.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/plans/interop.net.derivation.test_ctor_override.html $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Actions/ExpandoClass.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Operations/TypeTrackerOps.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Hosting/Python.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Utils/CollectionExtensions.cs $/IronPython/IronPython_Main/Test/DlrComLibrary/ReturnValues.rgs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/errno.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Index.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/plans/interop.net.type.test_clr_array.html $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/ListInitExpression.cs $/IronPython/IronPython_Main/Languages/IronPython/Scripts/generate_comdispatch.py $/IronPython/IronPython_Main/Test/ClrAssembly/Src/methodargs.cs $/IronPython/IronPython_Main/Hosts/Silverlight/Microsoft.Scripting.SilverLight/DynamicScriptTags.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/loadorder/loadorder_2f.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_sha256.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/SourceSpan.cs $/IronPython/IronPython_Main/Test/DlrComLibrary/DlrComStopwatch.cpp $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Exceptions/PythonExceptions.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Exceptions/AssertionException.Generated.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Severity.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/Calls/BindingTarget.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/modules/misc/math_test.py $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/PythonSetMemberBinder.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/PythonNameBinder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Ast/FinallyFlowControlExpression.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPythonTest/LoadTest.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/DontMapIDisposableToContextManagerAttribute.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/ToDiskCompilationMode.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/field/test_instance_fields.py $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Operations/DelegateOps.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Utils/IOUtils.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/operators.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Converter.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/CommonDictionaryStorage.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Hosting/OverloadDoc.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Utils/ReadOnlyDictionary.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/ModuleOptions.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/Calls/KeywordConstructorReturnBuilder.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/WhileStatement.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/type/test_clrtype.py $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/PythonTypeTypeSlot.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPythonTest/NestedClass.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/TypeLibInfoMetaObject.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/ConditionalBuilder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Interpreter/Instructions/DivInstruction.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Runtime/TokenInfo.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/returnvalues.cs $/IronPython/IronPython_Main/Hosts/Silverlight/Chiron/AppManifestTemplate.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/PythonNarrowing.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_array.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/event/__init__.py $/IronPython/IronPython_Main/Languages/IronPython/IronPythonTest/Explicit.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Actions/DeleteIndexBinder.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/dynamic_sanity/mock.py $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Interpreter/Instructions/NotEqualInstruction.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_listcomp.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Properties/ExtensionAssemblyInfo.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Debugging/DebugGenerator.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Exceptions/TabException.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_xrange.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/com/apps/scriptpw.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/com/dlrcomlib/DispEvents.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Debugging/ThreadLocal.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/IRestrictedMetaObject.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Hosting/Shell/Remote/RemoteConsoleHost.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/loadorder/t7f.py $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/RunnableScriptCode.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/loadorder/t5a.py $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Ast/VariableDictionaryExpression.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/ComInvokeAction.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/PythonGlobal.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/modules/misc/__init__.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Runtime/TokenizerService.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPythonWindowAny/IronPythonWindowAny.csproj $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Utils/IRuntimeVariables.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/SlotOrFunction.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Properties/AssemblyInfo.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/FieldTracker.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/Inputs/exitFuncRuns.py $/IronPython/IronPython_Main/Hosts/Silverlight/Chiron/slx.png $/IronPython/IronPython_Main/Test/ClrAssembly/Src/userdefinedconversions.cs $/IronPython/IronPython_Main/Test/DlrComLibrary/OptionalParams.rgs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_ctypes/Extensions.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_inheritance.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_attribute_customize.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/plans/interop.net.field.test_field_misc.html $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Actions/IDynamicMetaObjectProvider.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Interpreter/Instructions/CallInstruction.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/loadorder/loadorder_7b.cs $/IronPython/IronPython_Main/Languages/IronPython/Scripts/generate_tree.py $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/DictionaryTypeInfoAttribute.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/DebugInfoExpression.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/SequenceExpression.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/loadorder/t2b.py $/IronPython/IronPython_Main/Test/DlrComLibrary/NonDispatch.h $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/PythonFile.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_ironmath.py $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/ComMetaObject.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/SymbolDocumentInfo.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/MutableTuple.cs $/IronPython/IronPython_Main/Hosts/Silverlight/Microsoft.Scripting.SilverLight/DynamicApplication.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/MissingParameter.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Lib/iptest/misc_util.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/GotoExpression.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/SplatCallSite.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Ast/NewExpression.cs $/IronPython/IronPython_Main/Test/DlrComLibrary/DlrComLibrary.def $/IronPython/IronPython_Main/Languages/IronPython/Scripts/run_interactive.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/debugging/__init__.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Utils/ReferenceEqualityComparer.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/AssertStatement.cs $/IronPython/IronPython_Main/Languages/IronPython/Scripts/test_cgcheck.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Compiler/AnalyzedTree.cs $/IronPython/IronPython_Main/Test/DlrComLibrary/ProvidesClassInfo.h $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/PythonAst.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/ComDispIds.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/AmbiguousFileNameException.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/BoundMemberTracker.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/PythonAssemblyOps.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_md5.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_slice.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/pyc/pkg/b.py $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/Cast.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/ReturnFixer.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/DynamicDelegateCreator.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/UncollectableCompilationMode.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_ctypes/SimpleTypeKind.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/compat/sbs_exceptions/try_except2.py $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/Calls/ReturnReferenceArgBuilder.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/run.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Debugging/TracePipeline/ITraceCallback.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Interpreter/Instructions/StackOperations.cs $/IronPython/IronPython_Main/Hosts/Silverlight/Chiron/MimeTypeSection.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/LookupCompilationMode.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_bytes.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/plans/interop.net.type.html $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Utils/ContractUtils.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Interpreter/LightDelegateCreator.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/Statement.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_functools.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_function.py $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/DefaultBinder.Invoke.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/plans/interop.net.type.test_ctor.html $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Compiler/OffsetTrackingILGenerator.cs $/IronPython/IronPython_Main/Test/DlrComLibrary/dllmain.cpp $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/SwitchExpression.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/loadorder/t3c2.py $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/SimpleArgBuilder.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/CompiledLoader.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Utils/StringUtils.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/StringDictionaryStorage.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/loadorder/loadorder_2g.cs $/IronPython/IronPython_Main/Hosts/Silverlight/Chiron/Properties/AssemblyInfo.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/AstMethods.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Lib/iptest/process_util.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/modules/io_related/marshal_test.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Actions/GetMemberBinder.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/PythonTypeAttribute.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPythonTest/IronPythonTest.csproj $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Generation/DelegateHelpers.Generated.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Utils/TextStream.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_methoddispatch.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/modules/system_related/sys_test.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/SourceCodeKind.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Hosting/ScriptSource.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Operations/IntOps.Generated.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/Cast.Generated.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_dllsite.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_importpkg.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/loadorder/t3g2.py $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/IPythonInvokable.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/CustomAttributeTracker.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/Tools/baselines/datetime.log $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/array.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/FunctionType.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_cliclass.py $/IronPython/IronPython_Main/Test/ClrAssembly/Src/loadorder/loadorder_7a.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/loadorder/loadorder_7c.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Runtime/TransformDictEnumerator.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/PythonDeleteIndexBinder.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/compat/sbs_newtype.py $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Generation/DelegateHelpers.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Utils/ExpressionUtils.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Debugging/DefaultRuntimeVariablesImpl/DefaultDebugThread.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/modules/io_related/__init__.py $/IronPython/IronPython_Main/Test/DlrComLibrary/_IDispEventsEvents_CP.h $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Operations/NamespaceTrackerOps.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/plans/interop.net.test_dynamicobjectmodel.html $/IronPython/IronPython_Main/Languages/IronPython/Scripts/generate_typecache.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/ExpressionStringBuilder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Ast/LambdaParameterRewriter.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/IPythonOperable.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/encoded_files/cp11334_ok.py $/IronPython/IronPython_Main/Languages/IronPython/IronPythonWindow/AssemblyInfo.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/IConvertibleMetaObject.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/ImportStatement.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/SyntaxErrorException.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/loadorder/loadorder_3h.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/GlobalSuppressions.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Exceptions/ImportException.Generated.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/com/apps/MultiOffice.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Debugging/DebugSourceFile.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/ISlice.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/ConditionalExpression.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/FutureBuiltins.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Python3Warning.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_index.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Hosting/MemberKind.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/TypeSamples.cs $/IronPython/IronPython_Main/Hosts/Silverlight/Microsoft.Scripting.SilverLight/repl_formatter.rb $/IronPython/IronPython_Main/Languages/IronPython/Tests/plans/interop.net.method.test_returnvalue.html $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Actions/InvokeBinder.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Profiler.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPythonConsole/Console.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/field/test_initonly_fields.py $/IronPython/IronPython_Main/Languages/IronPython/IronPythonTest/DeTest.cs $/IronPython/IronPython_Main/Hosts/Silverlight/Chiron/HttpRequestData.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/Interceptor.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/NewTypeMaker.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/Calls/OverloadResolver.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/TypeLibMetaObject.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/BreakStatement.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/GlobalStatement.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/compat/sbs_true_division.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/loadorder/t3f.py $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/GeneratorExpression.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Compiler/CompilerScope.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/Calls/ReturnBuilder.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/CodeContext.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Utils/TextStream.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/compat/sbs_exceptions/try_except1.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Compiler/LambdaCompiler.Address.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_ctypes/SimpleType.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/BindingHelpers.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Runtime/ExplicitConversionMethodAttribute.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPythonTest/EngineTest.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/KwCallInfo.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Operations/EnumOps.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/method/__init__.py $/IronPython/IronPython_Main/Test/ClrAssembly/Src/typeforwardee3.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Utils/SynchronizedDictionary.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Operations/DBNullOps.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/com/dlrcomlib/pytraits/prop.py $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/PythonProtocol.Operations.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/type/test_clr_array.py $/IronPython/IronPython_Main/Languages/IronPython/IronPythonTest/GenMeth.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Debugging/FunctionInfo.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Utils/DynamicUtils.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Debugging/Microsoft.Scripting.Debugging.txt $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Runtime/ArgumentArray.cs $/IronPython/IronPython_Main/Test/DlrComLibrary/InOutParams.cpp $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_sha512.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Exceptions/FloatingPointException.Generated.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_in.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/com/dlrcomlib/MultipleParams.py $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Hosting/Shell/Remote/ConsoleRestartManager.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/defaultmembersvb.vb $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Reversed.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_exceptionconverter.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/LabelTarget.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/plans/interop.net.method.html $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Actions/ExpandoObject.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Runtime/ParserSink.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Runtime/ReflectionCache.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/PythonOperationBinder.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/PythonBinder.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Modules/Builtin.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/TrackerTypes.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/ErrorInfo.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Hosting/Shell/ConsoleHostOptionsParser.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/property/test_indexercs.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/type/test_assembly.py $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Exceptions/IPythonException.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/modules/misc/future_test.py $/IronPython/IronPython_Main/Languages/IronPython/IronPythonTest/StringDictionaryStorage.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/Calls/SimpleArgBuilder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Hosting/ScriptScope.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/ScopeStatement.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/PythonBuffer.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/StringFormatSpec.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Hosting/ScriptRuntimeSetup.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Interpreter/Instructions/LocalAccess.cs $/IronPython/IronPython_Main/Languages/IronPython/Scripts/generate_AssemblyTypeNames.py $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/_ctypes/Pointer.cs $/IronPython/IronPython_Main/Languages/IronPython/Scripts/CompareDirs.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_numtypes.py $/IronPython/IronPython_Main/Test/ClrAssembly/Src/loadorder/loadorder_3f.cs $/IronPython/IronPython_Main/Test/DlrComLibrary/NoTypeInfo.cpp $/IronPython/IronPython_Main/Test/DlrComLibrary/DlrComStopwatch.rgs $/IronPython/IronPython_Main/Languages/IronPython/Tests/Inputs/UseCLI.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Compiler/LambdaCompiler.Statements.cs $/IronPython/IronPython_Main/Hosts/Silverlight/Chiron/LanguageInfo.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/copy_reg.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Hosting/PythonService.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/derivation/test_method_override.py $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Runtime/DynamicRuntimeHostingProvider.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/PythonSetIndexBinder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/DefaultBinder.GetMember.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/DispCallable.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/loadorder/t7a.py $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/CustomInstanceDictionaryStorage.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/TokenKind.Generated.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/modules/misc/_sha256.py $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/DispCallableMetaObject.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/AssemblyLoadedEventArgs.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Binding/IFastInvokable.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_help.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/loadorder/t1d.py $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Interpreter/InterpretedFrame.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/test_unicode.py $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/SequenceTypeInfoAttribute.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Operations/LongOps.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/loadorder/t5b.py $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Microsoft.Dynamic.csproj $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Hosting/Shell/BasicConsole.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/stress/bigimport1_test.py $/IronPython/IronPython_Main/Languages/IronPython/IronPythonTest/StaticTest.cs $/IronPython/IronPython_Main/Hosts/Silverlight/Chiron/XapHttpHandler.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/GlobalSuppressions.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/LiteralParser.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/ReflectedSlotProperty.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/plans/interop.net.event.html $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Actions/InvokeMemberBinder.cs $/IronPython/IronPython_Main/Test/DlrComLibrary/OutParams.rgs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/propertydefinitions.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Lib/iptest/file_util.py $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/derivation/test_method_signature.py $/IronPython/IronPython_Main/Languages/IronPython/IronPythonTest/MemberOverloadTest.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/DefaultBinder.Conversions.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Utils/WeakCollection.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Debugging/RuntimeOps.cs $/IronPython/IronPython_Main/Test/ClrAssembly/Src/loadorder/loadorder_2h.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/PythonSiteCache.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/re.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/CompareUtil.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Ast/MethodCallExpression.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Actions/DefaultBinder.cs $/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/ComInterop/ConvertArgBuilder.cs $/IronPython/IronPython_Main/Languages/IronPython/IronPython/Compiler/Ast/PythonVariable.cs $/IronPython/IronPython_Main/Languages/IronPython/Tests/interop/net/versions/four_dot_zero.py From michael at voidspace.org.uk Mon Apr 26 00:15:12 2010 From: michael at voidspace.org.uk (Michael Foord) Date: Sun, 25 Apr 2010 23:15:12 +0100 Subject: [IronPython] Try Python updated for IronPython 2.6 & Silverlight 4 (sort of) Message-ID: <4BD4BEF0.7030306@voidspace.org.uk> Hello all, I've updated Try Python to use IronPython 2.6.1 and it now works with Silverlight 4 - mostly. http://www.trypython.org/ It works with Firefox and IE on Windows and Safari on Mac OS X, but throws a weird error (for me at least) with Firefox on Mac OS X. SystemError: [InvalidOperation_IComparerFailed] Arguments: Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See http://go.microsoft.com/fwlink/?linkid=106663&Version=4.0.50401.0&File=mscorlib.dll&Key=InvalidOperation_IComparerFailed The line that apparently causes the error is in types.py: NoneType = type(None) Interestingly I see a very similar error at http://ironpython.net/try/ SystemError: [InvalidOperation_IComparerFailed] Arguments: Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See http://go.microsoft.com/fwlink/?linkid=106663&Version=4.0.50401.0&File=mscorlib.dll&Key=InvalidOperation_IComparerFailed wpf.py Line 27: Line 28: def __Setup(): Line 29: for name in dir(Colors): Line 30: c = getattr(Colors, name) Line 31: if isinstance(c, Color): SystemError at __Setup in wpf.py, line 29 at wpf.py in wpf.py, line 35 at app.py in app.py, line 34 All the best, Michael Foord -- http://www.ironpythoninaction.com/ http://www.voidspace.org.uk/blog READ CAREFULLY. By accepting and reading this email you agree, on behalf of your employer, to release me from all obligations and waivers arising from any and all NON-NEGOTIATED agreements, licenses, terms-of-service, shrinkwrap, clickwrap, browsewrap, confidentiality, non-disclosure, non-compete and acceptable use policies (?BOGUS AGREEMENTS?) that I have entered into with your employer, its partners, licensors, agents and assigns, in perpetuity, without prejudice to my ongoing rights and privileges. You further represent that you have the authority to release me from any BOGUS AGREEMENTS on behalf of your employer. From michael at voidspace.org.uk Mon Apr 26 01:28:53 2010 From: michael at voidspace.org.uk (Michael Foord) Date: Mon, 26 Apr 2010 00:28:53 +0100 Subject: [IronPython] Accessing assembly names from Silverlight Message-ID: <4BD4D035.4080303@voidspace.org.uk> Hello all, The following code dies in Silverlight: import clr clr.AddReference("System.Xml") "System.Xml" in [assembly.GetName().Name for assembly in clr.References] SystemError: Security transparent method System.Reflection.Assebly.GetName() cannot access Microsoft.Scripting.Actions... using reflection. This is making it less useful to port the IronPython dotnet integration tutorial to Try Python. :-) Repeated calls throw a slightly different error in the end (still a system error - but a different message). All the best, Michael Foord -- http://www.ironpythoninaction.com/ http://www.voidspace.org.uk/blog READ CAREFULLY. By accepting and reading this email you agree, on behalf of your employer, to release me from all obligations and waivers arising from any and all NON-NEGOTIATED agreements, licenses, terms-of-service, shrinkwrap, clickwrap, browsewrap, confidentiality, non-disclosure, non-compete and acceptable use policies (?BOGUS AGREEMENTS?) that I have entered into with your employer, its partners, licensors, agents and assigns, in perpetuity, without prejudice to my ongoing rights and privileges. You further represent that you have the authority to release me from any BOGUS AGREEMENTS on behalf of your employer. From jonvspython at gmail.com Mon Apr 26 13:20:27 2010 From: jonvspython at gmail.com (jon vs. python) Date: Mon, 26 Apr 2010 13:20:27 +0200 Subject: [IronPython] Quickstart guide for Ironpython Studio Message-ID: Hi, Is there any guide to get started with Ironpython Studio? Thanks, Jon. -------------- next part -------------- An HTML attachment was scrubbed... URL: From fuzzyman at voidspace.org.uk Mon Apr 26 13:22:23 2010 From: fuzzyman at voidspace.org.uk (Michael Foord) Date: Mon, 26 Apr 2010 12:22:23 +0100 Subject: [IronPython] Quickstart guide for Ironpython Studio In-Reply-To: References: Message-ID: <4BD5776F.5050603@voidspace.org.uk> On 26/04/2010 12:20, jon vs. python wrote: > Hi, Is there any guide to get started with Ironpython Studio? Simple: 1) Uninstall 2) Delete all trace of it 3) Pick a working Python / IronPython IDE Some alternatives are suggested here: http://www.voidspace.org.uk/ironpython/tools-and-ides.shtml PyCharm is another alternative that has become available recently. In the not *too* distant future the IronPython team will be releasing IronPython Tools for Visual Studio. All the best, Michael Foord > Thanks, Jon. > > > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > -- http://www.ironpythoninaction.com/ http://www.voidspace.org.uk/blog READ CAREFULLY. By accepting and reading this email you agree, on behalf of your employer, to release me from all obligations and waivers arising from any and all NON-NEGOTIATED agreements, licenses, terms-of-service, shrinkwrap, clickwrap, browsewrap, confidentiality, non-disclosure, non-compete and acceptable use policies ("BOGUS AGREEMENTS") that I have entered into with your employer, its partners, licensors, agents and assigns, in perpetuity, without prejudice to my ongoing rights and privileges. You further represent that you have the authority to release me from any BOGUS AGREEMENTS on behalf of your employer. -------------- next part -------------- An HTML attachment was scrubbed... URL: From brousch at gmail.com Mon Apr 26 14:03:39 2010 From: brousch at gmail.com (Ben Rousch) Date: Mon, 26 Apr 2010 08:03:39 -0400 Subject: [IronPython] Quickstart guide for Ironpython Studio In-Reply-To: <4BD5776F.5050603@voidspace.org.uk> References: <4BD5776F.5050603@voidspace.org.uk> Message-ID: On Mon, Apr 26, 2010 at 7:22 AM, Michael Foord wrote: > On 26/04/2010 12:20, jon vs. python wrote: > > Hi, Is there any guide to get started with Ironpython Studio? > > Simple: > > 1) Uninstall > 2) Delete all trace of it > 3) Pick a working Python / IronPython IDE > > Some alternatives are suggested here: > > ??? http://www.voidspace.org.uk/ironpython/tools-and-ides.shtml > > PyCharm is another alternative that has become available recently. In the > not *too* distant future the IronPython team will be releasing IronPython > Tools for Visual Studio. Assuming IronPython Tools for Visual Studio ends up being better than the alternatives, which of the current IDEs is likely to provide the best transition? > > All the best, > > Michael Foord > > Thanks, Jon. > > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > > > -- > http://www.ironpythoninaction.com/ > http://www.voidspace.org.uk/blog > > READ CAREFULLY. By accepting and reading this email you agree, on behalf of > your employer, to release me from all obligations and waivers arising from > any and all NON-NEGOTIATED agreements, licenses, terms-of-service, > shrinkwrap, clickwrap, browsewrap, confidentiality, non-disclosure, > non-compete and acceptable use policies (?BOGUS AGREEMENTS?) that I have > entered into with your employer, its partners, licensors, agents and > assigns, in perpetuity, without prejudice to my ongoing rights and > privileges. You further represent that you have the authority to release me > from any BOGUS AGREEMENTS on behalf of your employer. > > > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > > -- Ben Rousch brousch at gmail.com http://ishmilok.blogspot.com/ From fuzzyman at voidspace.org.uk Mon Apr 26 14:05:46 2010 From: fuzzyman at voidspace.org.uk (Michael Foord) Date: Mon, 26 Apr 2010 13:05:46 +0100 Subject: [IronPython] Quickstart guide for Ironpython Studio In-Reply-To: References: <4BD5776F.5050603@voidspace.org.uk> Message-ID: <4BD5819A.9000104@voidspace.org.uk> On 26/04/2010 13:03, Ben Rousch wrote: > On Mon, Apr 26, 2010 at 7:22 AM, Michael Foord > wrote: > >> On 26/04/2010 12:20, jon vs. python wrote: >> >> Hi, Is there any guide to get started with Ironpython Studio? >> >> Simple: >> >> 1) Uninstall >> 2) Delete all trace of it >> 3) Pick a working Python / IronPython IDE >> >> Some alternatives are suggested here: >> >> http://www.voidspace.org.uk/ironpython/tools-and-ides.shtml >> >> PyCharm is another alternative that has become available recently. In the >> not *too* distant future the IronPython team will be releasing IronPython >> Tools for Visual Studio. >> > Assuming IronPython Tools for Visual Studio ends up being better than > the alternatives, which of the current IDEs is likely to provide the > best transition? > I almost exclusively use the Wing IDE for IronPython development, with our team using the Visual Studio and blend designers for creating xaml / UIs - so I can't specifically answer your question I'm afraid. All the best, Michael Foord > >> All the best, >> >> Michael Foord >> >> Thanks, Jon. >> >> _______________________________________________ >> Users mailing list >> Users at lists.ironpython.com >> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com >> >> >> -- >> http://www.ironpythoninaction.com/ >> http://www.voidspace.org.uk/blog >> >> READ CAREFULLY. By accepting and reading this email you agree, on behalf of >> your employer, to release me from all obligations and waivers arising from >> any and all NON-NEGOTIATED agreements, licenses, terms-of-service, >> shrinkwrap, clickwrap, browsewrap, confidentiality, non-disclosure, >> non-compete and acceptable use policies (?BOGUS AGREEMENTS?) that I have >> entered into with your employer, its partners, licensors, agents and >> assigns, in perpetuity, without prejudice to my ongoing rights and >> privileges. You further represent that you have the authority to release me >> from any BOGUS AGREEMENTS on behalf of your employer. >> >> >> _______________________________________________ >> Users mailing list >> Users at lists.ironpython.com >> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com >> >> >> > > > -- http://www.ironpythoninaction.com/ http://www.voidspace.org.uk/blog READ CAREFULLY. By accepting and reading this email you agree, on behalf of your employer, to release me from all obligations and waivers arising from any and all NON-NEGOTIATED agreements, licenses, terms-of-service, shrinkwrap, clickwrap, browsewrap, confidentiality, non-disclosure, non-compete and acceptable use policies (?BOGUS AGREEMENTS?) that I have entered into with your employer, its partners, licensors, agents and assigns, in perpetuity, without prejudice to my ongoing rights and privileges. You further represent that you have the authority to release me from any BOGUS AGREEMENTS on behalf of your employer. From cenovsky at bakalari.cz Mon Apr 26 15:00:21 2010 From: cenovsky at bakalari.cz (Lukas Cenovsky) Date: Mon, 26 Apr 2010 15:00:21 +0200 Subject: [IronPython] AddReference to Silverlight toolkit assemblies In-Reply-To: <1B42307CD4AADD438CDDA2FE1121CC921731311E@TK5EX14MBXC136.redmond.corp.microsoft.com> References: <4BA95FC7.4040607@bakalari.cz> <1B42307CD4AADD438CDDA2FE1121CC921731311E@TK5EX14MBXC136.redmond.corp.microsoft.com> Message-ID: <4BD58E65.2080403@bakalari.cz> Thanks. It works for me know. I don't remember exactly what I did wrong but probably I forgot to pack System.Windows.Controls.dll form SL SDK into SLToolkit.zip and it is probably referenced from System.Windows.Controls.Data.dll . -- -- Luk?? Jimmy Schementi wrote: > > Lukas, > > > > When you use ExtensionPart, it calls Assembly.Load on each file in the > zip file referenced, so you don't need to do clr.Addreference. > > > > System.Windows.Data.dll and System.Windows.Controls.Data.dll are not > DLLs in Silverlight; they are in the Silverlight SDK. So you'll have > to package them up into a separate zip file which you include in your > AppManfest, just like you did with the SLToolkit.zip. > > > > ~js > > > > *From:* users-bounces at lists.ironpython.com > [mailto:users-bounces at lists.ironpython.com] *On Behalf Of *Lukas Cenovsky > *Sent:* Tuesday, March 23, 2010 5:42 PM > *To:* users at lists.ironpython.com > *Subject:* [IronPython] AddReference to Silverlight toolkit assemblies > > > > Hi all, > I use Silverlight toolkit in my IronPython Silverlight app. To lower > bandwidth, I put all necessary Silverlight toolkit .dlls into separate > file called /SLToolkit.zip/ which I reference in AppManifest.xaml: > > > > > > > This works nicely if I don't need to reference assembly already > existing in Silverlight - e.g. I do > > clr.AddReference('System.Windows.Controls.Data') > > and use /DataGrid/. Unfortunately, when I need to reference > /PagedCollectionView /from System.Windows.Data, this approach does not > work. Trying > > from System.Windows.Data import PagedCollectionView > > fails on /ImportError: Cannot import name PagedCollectionView/. Doing > > import System.Windows.Data > System.Windows.Data.PagedCollectionView(some_data) > > fails with /AttributeError: attribute 'PagedCollectionView' of > 'namespace#' object is read-only/. When I try to add > > clr.AddReference('System.Windows.Data') > > if fails with: /IOError: [Errno 2] could not find assembly: > System.Windows.Data (check the Web server)/. > > The only way how to make this work is to put System.Windows.Data.dll > into .xap file and reference it with > > clr.AddReferenceToFile('System.Windows.Data.dll') > from System.Windows.Data import PagedCollectionView > > > Is there a way to make it work when System.Windows.Data.dll is in the > separate file? Or should I use another approach? > > Thanks, > > -- > -- Luk?? > > ------------------------------------------------------------------------ > > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dinov at microsoft.com Mon Apr 26 22:02:34 2010 From: dinov at microsoft.com (Dino Viehland) Date: Mon, 26 Apr 2010 20:02:34 +0000 Subject: [IronPython] ssl server mode issue In-Reply-To: <1271983174.acad0a3d2f4b4a559fcdbb592271d9b4.qiuyingbo@sohu.com> References: <1A472770E042064698CB5ADC83A12ACD39557589@TK5EX14MBXC118.redmond.corp.microsoft.com> <1271983174.acad0a3d2f4b4a559fcdbb592271d9b4.qiuyingbo@sohu.com> Message-ID: <1A472770E042064698CB5ADC83A12ACD39575335@TK5EX14MBXC118.redmond.corp.microsoft.com> That?s working for me as well. I went ahead and added a do_GET implementation to the ProxyHandler class: def do_GET(self): self.send_response(200) self.send_header("Content-type", "text/html") self.end_headers() stdout = sys.stdout self.wfile.write('hi' + str(datetime.datetime.now()) + '') I generated the key by doing: C:\OpenSSL\bin\openssl.exe req -new -x509 -days 365 -nodes -out cert.pem -keyout cert.pem And I?m able to successfully able to make requests to both CPython and IronPython from IE and FireFox. So I guess the next possible questions would be what version of Windows you?re running on and did you create the certificate on Windows (maybe there?s some difference in OpenSSL between the two platforms?) Also are you using the .NET 2 version or the .NET 4 version? Also does my end-to-end repro demonstrate the problem for you or are you doing something different? From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of qiuyingbo at sohu.com Sent: Thursday, April 22, 2010 5:40 PM To: Discussion of IronPython Subject: Re: [IronPython] ssl server mode issue I generated certificate as the instruction of http://docs.python.org/library/ssl.html: openssl req -new -x509 -days 365 -nodes -out cert.pem -keyout cert.pem ----- ?? ----- ???: Dino Viehland ???: Re: [IronPython] ssl server mode issue ???: 2010?4?23? 6:46:11 Ok, took me a while to get back to this, but I haven?t forgotten. So I?ve taken your code below and combined it with the code in test_ssl to have the full end to end test case. I?ve included that here. Let me know if there?s anything that?s significantly different. First thing I tried w/ this was using the ?keycert.pem? which copes with the CPython test case and that seemed to behave similarly between IronPython and CPython. There does seem to be one difference which is with CPython the connection from the browser stays open and w/ IronPython it closes. This is after a GET request which we can?t respond to: DINOV1.redmond.corp.microsoft.com - - [22/Apr/2010 15:38:16] code 501, message Unsupported method ('GET') DINOV1.redmond.corp.microsoft.com - - [22/Apr/2010 15:38:16] "GET / HTTP/1.1" 501 ? That?s probably a bug but not the issue you?re running into but I?ve opened a bug here: http://ironpython.codeplex.com/WorkItem/View.aspx?WorkItemId=26852. So then I generated a self-signed request as described here: http://sial.org/howto/openssl/self-signed/ with a .cnf file as described here: http://bugs.gentoo.org/show_bug.cgi?id=251047 but minus the x509_extensions line. With that I get the same result as I get with keycert.pem. So my guess is that I?m not generating the self signed certificate in the same way that you are and that there?s something about your cert which doesn?t work. Does your generation differ from what I did? import BaseHTTPServer from BaseHTTPServer import HTTPServer from SimpleHTTPServer import SimpleHTTPRequestHandler import threading import socket import sys import traceback import ssl CERTFILE = 'host.pem' HOST='localhost' import time class ProxyHandler(BaseHTTPServer.BaseHTTPRequestHandler): def do_CONNECT(self): print self.raw_requestline # "CONNECT twitter.com:443 HTTP/1.1" self.sslhost = self.raw_requestline.split()[1] self.wfile.write(self.protocol_version + " 200 Connection established\r\n") self.wfile.write("Proxy-agent: qiuyingbo\r\n\r\n") self.rfile = pseudofile(ssl.wrap_socket(self.connection, None, CERTFILE, True)) self.wfile = self.rfile self.handle_one_request() class SocketServerHTTPSServer(threading.Thread): class HTTPSServer(HTTPServer): def __init__(self, server_address, RequestHandlerClass, certfile): HTTPServer.__init__(self, server_address, RequestHandlerClass) # we assume the certfile contains both private key and certificate self.certfile = certfile self.active = False self.active_lock = threading.Lock() self.allow_reuse_address = True def __str__(self): return ('<%s %s:%s>' % (self.__class__.__name__, self.server_name, self.server_port)) def get_request (self): # override this to wrap socket with SSL sock, addr = self.socket.accept() sslconn = ssl.wrap_socket(sock, server_side=True, certfile=self.certfile) return sslconn, addr # The methods overridden below this are mainly so that we # can run it in a thread and be able to stop it from another # You probably wouldn't need them in other uses. def server_activate(self): # We want to run this in a thread for testing purposes, # so we override this to set timeout, so that we get # a chance to stop the server self.socket.settimeout(0.5) HTTPServer.server_activate(self) def serve_forever(self): # We want this to run in a thread, so we use a slightly # modified version of "forever". self.active = True while 1: try: # We need to lock while handling the request. # Another thread can close the socket after self.active # has been checked and before the request is handled. # This causes an exception when using the closed socket. with self.active_lock: if not self.active: break self.handle_request() except socket.timeout: pass except KeyboardInterrupt: self.server_close() return except: sys.stdout.write(''.join(traceback.format_exception(*sys.exc_info()))) break time.sleep(0.1) def server_close(self): # Again, we want this to run in a thread, so we need to override # close to clear the "active" flag, so that serve_forever() will # terminate. with self.active_lock: HTTPServer.server_close(self) self.active = False def __init__(self, certfile): self.flag = None self.active = False self.port = 1234 self.server = self.HTTPSServer( (HOST, self.port), ProxyHandler, certfile) threading.Thread.__init__(self) self.daemon = True def __str__(self): return "<%s %s>" % (self.__class__.__name__, self.server) def start (self, flag=None): self.flag = flag threading.Thread.start(self) def run (self): self.active = True if self.flag: self.flag.set() self.server.serve_forever() self.active = False def stop (self): self.active = False self.server.server_close() class pseudofile(): ''' SSL Pseudo File Object''' def __init__(self, sslobj): self.sslobj = sslobj self.closed = 0 def read(self, size): chunks = [] read = 0 while read < size: data = self.sslobj.read(size-read) read += len(data) chunks.append(data) return ''.join(chunks) def readline(self): line = [] while 1: char = self.sslobj.read(1) line.append(char) if char == "\n": return ''.join(line) def write(self, data): bytes = len(data) while bytes > 0: sent = self.sslobj.write(data) if sent == bytes: break # avoid copy data = data[sent:] bytes = bytes - sent def flush(self): pass close = flush server=SocketServerHTTPSServer(CERTFILE) flag = threading.Event() server.start(flag) # wait for it to start flag.wait() print 'started' time.sleep(100000) From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of qiuyingbo at sohu.com Sent: Wednesday, April 14, 2010 5:41 PM To: Discussion of IronPython Subject: Re: [IronPython] ssl server mode issue I'm doing a web browser to ironpython connection. It is difficult to explain what I am doing, I'm hacking a http proxy that inherit BaseHTTPServer.BaseHTTPRequestHandler. Next code snippets show how I support HTTPS proxy.. (Linux version run well) class ProxyHandler(BaseHTTPServer.BaseHTTPRequestHandler): def do_CONNECT(self): # print self.raw_requestline # "CONNECT twitter.com:443 HTTP/1.1" self.sslhost = self.raw_requestline.split()[1] self.wfile.write(self.protocol_version + " 200 Connection established\r\n") self.wfile.write("Proxy-agent: qiuyingbo\r\n\r\n") import ssl self.rfile = pseudofile(ssl.wrap_socket(self.connection, None, CERTFILE, True)) self.wfile = self.rfile self.handle_one_request() class pseudofile(): ''' SSL Pseudo File Object''' def __init__(self, sslobj): self.sslobj = sslobj self.closed = 0 def read(self, size): chunks = [] read = 0 while read < size: data = self.sslobj.read(size-read) read += len(data) chunks.append(data) return ''.join(chunks) def readline(self): line = [] while 1: char = self.sslobj.read(1) line.append(char) if char == "\n": return ''.join(line) def write(self, data): bytes = len(data) while bytes > 0: sent = self.sslobj.write(data) if sent == bytes: break # avoid copy data = data[sent:] bytes = bytes - sent def flush(self): pass close = flush _______________________________________________ Users mailing list Users at lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From dinov at microsoft.com Mon Apr 26 22:27:30 2010 From: dinov at microsoft.com (Dino Viehland) Date: Mon, 26 Apr 2010 20:27:30 +0000 Subject: [IronPython] Compile IronPython Script to EXE on Linux In-Reply-To: References: Message-ID: <1A472770E042064698CB5ADC83A12ACD39575541@TK5EX14MBXC118.redmond.corp.microsoft.com> Ben wrote: > OS: Ubuntu 9.10 using IronPython PPA > https://launchpad.net/~gezakovacs/+archive/ironpython > IronPython Version: IronPython 2.6 Beta 2 DEBUG (2.6.0.20) on .NET > 2.0.50727.1433 > Mono Version: Mono JIT compiler version 2.4.4 (Debian > 2.4.4~svn151842-1gezakovacs~karmic1) > > I'm having trouble compiling any IronPython script to EXE on Linux. > The scripts compile fine on IronPython2.6 on Windows. The DLL > generated by the script before the exe step seems correct. > > I am using the pyc.exe script downloaded from: > http://ironpython.codeplex.com/sourcecontrol/network/Show?projectName=IronPyth > on&changeSetId=65328#991948 > > I am using a command like: ipy pyc.exe /main:hello.py /target:exe > > The error is: SystemError: Method is not VarArgs method and optional > types were passed > > And it comes on this line: gen.EmitCall(OpCodes.Call, > clr.GetClrType(Assembly).GetMethod("GetEntryAssembly"), ()) > > The simplest example script is: > import clr > print "Hello world" This looks like a Mono bug but it appears to be fixed in the latest version of Mono. This small program demonstrates the issue: using System; using System.Reflection; using System.Reflection.Emit; class Test { public static void Main(string[] args) { var asm = AppDomain.CurrentDomain.DefineDynamicAssembly(new AssemblyName("test"), AssemblyBuilderAccess.Save); var mod = asm.DefineDynamicModule("test.dll"); var type = mod.DefineType("Test"); var method = type.DefineMethod("TestMethod", MethodAttributes.Public | MethodAttributes.Static); var ilgen = method.GetILGenerator(); ilgen.EmitCall(OpCodes.Call, typeof(Assembly).GetMethod("GetEntryAssembly"), new Type[0]); type.CreateType(); asm.Save("test.dll"); } } Mono (2.4.2.3) reports: Unhandled Exception: System.InvalidOperationException: Method is not VarArgs method and optional types were passed at System.Reflection.Emit.ILGenerator.EmitCall (OpCode opcode, System.Reflection.MethodInfo methodInfo, System.Type[] optionalParameterTypes) [0x00000] at Test.Main (System.String[] args) [0x00000] Even though the argument array of types is empty. But it works just fine on Mono 2.6.3 for me. If you can't/don't want to upgrade Mono you can change the EmitCall line to: ilgen.Emit(OpCodes.Call, typeof(Assembly).GetMethod("GetEntryAssembly")); And it works fine. The similar change to pyc should be: gen.Emit(OpCodes.Call, clr.GetClrType(Assembly).GetMethod("GetEntryAssembly")) From dinov at microsoft.com Mon Apr 26 22:40:29 2010 From: dinov at microsoft.com (Dino Viehland) Date: Mon, 26 Apr 2010 20:40:29 +0000 Subject: [IronPython] Accessing assembly names from Silverlight In-Reply-To: <4BD4D035.4080303@voidspace.org.uk> References: <4BD4D035.4080303@voidspace.org.uk> Message-ID: <1A472770E042064698CB5ADC83A12ACD3957571F@TK5EX14MBXC118.redmond.corp.microsoft.com> Michael wrote: > Hello all, > > The following code dies in Silverlight: > > import clr > clr.AddReference("System.Xml") > "System.Xml" in [assembly.GetName().Name for assembly in clr.References] > > SystemError: Security transparent method > System.Reflection.Assebly.GetName() cannot access > Microsoft.Scripting.Actions... using reflection. > > This is making it less useful to port the IronPython dotnet integration > tutorial to Try Python. :-) > > Repeated calls throw a slightly different error in the end (still a > system error - but a different message). This is actually just a limitation inside of Silverlight. For some reason Assembly.GetName() is a security critical method and cannot be called. It also fails in a simple C# Hello world app with: Attempt by security transparent method 'SilverlightApplication1.MainPage..ctor()' to access security critical method 'System.Reflection.Assembly.GetName()' failed. I have no clue why this limitation exists (maybe some information disclosure issue?) but I think you could do: AssemblyName(assembly.FullName).Name instead. From dinov at microsoft.com Mon Apr 26 22:41:31 2010 From: dinov at microsoft.com (Dino Viehland) Date: Mon, 26 Apr 2010 20:41:31 +0000 Subject: [IronPython] Default-valued arguments to C# functions In-Reply-To: References: Message-ID: <1A472770E042064698CB5ADC83A12ACD3957574D@TK5EX14MBXC118.redmond.corp.microsoft.com> Jeff wrote: > Interestingly, using DefaultValue worked for anything that wasn't an > object - `[Optional][DefaultValue(-1)]int index` worked just fine. I think you should have been getting a value of 0 when the parameter wasn't being provided in this case. When something is optional but not typed to object we need to pass default(typeof(T)) instead of passing Missing.Value. From fuzzyman at voidspace.org.uk Mon Apr 26 22:41:47 2010 From: fuzzyman at voidspace.org.uk (Michael Foord) Date: Mon, 26 Apr 2010 21:41:47 +0100 Subject: [IronPython] Accessing assembly names from Silverlight In-Reply-To: <1A472770E042064698CB5ADC83A12ACD3957571F@TK5EX14MBXC118.redmond.corp.microsoft.com> References: <4BD4D035.4080303@voidspace.org.uk> <1A472770E042064698CB5ADC83A12ACD3957571F@TK5EX14MBXC118.redmond.corp.microsoft.com> Message-ID: <4BD5FA8B.9090900@voidspace.org.uk> On 26/04/2010 21:40, Dino Viehland wrote: > Michael wrote: > >> Hello all, >> >> The following code dies in Silverlight: >> >> import clr >> clr.AddReference("System.Xml") >> "System.Xml" in [assembly.GetName().Name for assembly in clr.References] >> >> SystemError: Security transparent method >> System.Reflection.Assebly.GetName() cannot access >> Microsoft.Scripting.Actions... using reflection. >> >> This is making it less useful to port the IronPython dotnet integration >> tutorial to Try Python. :-) >> >> Repeated calls throw a slightly different error in the end (still a >> system error - but a different message). >> > This is actually just a limitation inside of Silverlight. For some reason > Assembly.GetName() is a security critical method and cannot be called. It > also fails in a simple C# Hello world app with: > > Attempt by security transparent method 'SilverlightApplication1.MainPage..ctor()' to access security critical method 'System.Reflection.Assembly.GetName()' failed. > > I have no clue why this limitation exists (maybe some information disclosure > issue?) but I think you could do: > > AssemblyName(assembly.FullName).Name > Ok - thanks. I'll switch the example to do that instead. I created an issue for this, so you could add this as a comment and close it. All the best, Michael > instead. > > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > -- http://www.ironpythoninaction.com/ http://www.voidspace.org.uk/blog READ CAREFULLY. By accepting and reading this email you agree, on behalf of your employer, to release me from all obligations and waivers arising from any and all NON-NEGOTIATED agreements, licenses, terms-of-service, shrinkwrap, clickwrap, browsewrap, confidentiality, non-disclosure, non-compete and acceptable use policies (?BOGUS AGREEMENTS?) that I have entered into with your employer, its partners, licensors, agents and assigns, in perpetuity, without prejudice to my ongoing rights and privileges. You further represent that you have the authority to release me from any BOGUS AGREEMENTS on behalf of your employer. From maxyaffe at gmail.com Mon Apr 26 22:52:38 2010 From: maxyaffe at gmail.com (Max Yaffe) Date: Mon, 26 Apr 2010 16:52:38 -0400 Subject: [IronPython] IronPython Source & VS2010 Message-ID: <4A280E64F46344C680669DFF14C14A9A@Gamry.com> Can IronPython 2.6.1 be compiled in VS 2010 - release version? Thanks, Max From Jimmy.Schementi at microsoft.com Mon Apr 26 23:01:49 2010 From: Jimmy.Schementi at microsoft.com (Jimmy Schementi) Date: Mon, 26 Apr 2010 21:01:49 +0000 Subject: [IronPython] FW: IronPython Source & VS2010 In-Reply-To: <4A280E64F46344C680669DFF14C14A9A@Gamry.com> References: <4A280E64F46344C680669DFF14C14A9A@Gamry.com> Message-ID: <1B42307CD4AADD438CDDA2FE1121CC92173473C0@TK5EX14MBXC134.redmond.corp.microsoft.com> Sending on behalf of Max Yaffe (maxyaffe at gmail.com): > > Can IronPython 2.6.1 be compiled in VS 2010 - release version? > > Thanks, > Max And to answer your question, yes, but there's not a VS2010-compatible sln file is in the CodePlex sources. Dave, and reason to not include IronPython2010.sln in there? Max, from a "Visual Studio Command Prompt (2010)" cmd.exe window, you can use msbuild and the current sln file to compile IronPython against .NET 4.0: msbuild solutions\IronPython.sln /p:Configuration="V4 Release" Binaries will be waiting for you in "Bin/V4 Release" ... ~js From jdhardy at gmail.com Tue Apr 27 00:52:33 2010 From: jdhardy at gmail.com (Jeff Hardy) Date: Mon, 26 Apr 2010 16:52:33 -0600 Subject: [IronPython] Default-valued arguments to C# functions In-Reply-To: <1A472770E042064698CB5ADC83A12ACD3957574D@TK5EX14MBXC118.redmond.corp.microsoft.com> References: <1A472770E042064698CB5ADC83A12ACD3957574D@TK5EX14MBXC118.redmond.corp.microsoft.com> Message-ID: On Mon, Apr 26, 2010 at 2:41 PM, Dino Viehland wrote: > Jeff wrote: >> Interestingly, using DefaultValue worked for anything that wasn't an >> object - `[Optional][DefaultValue(-1)]int index` worked just fine. > > I think you should have been getting a value of 0 when the parameter > wasn't being provided in this case. ?When something is optional but > not typed to object we need to pass default(typeof(T)) instead of passing > Missing.Value. Go figure - I had a test for `index > 0`, instead of `index >= 0`... :). The other one I had was for `[DefaultValue(0.0)]double timeout`, which now makes sense. - Jeff From dfugate at microsoft.com Tue Apr 27 01:27:58 2010 From: dfugate at microsoft.com (Dave Fugate) Date: Mon, 26 Apr 2010 23:27:58 +0000 Subject: [IronPython] IronPython Source & VS2010 In-Reply-To: <4A280E64F46344C680669DFF14C14A9A@Gamry.com> References: <4A280E64F46344C680669DFF14C14A9A@Gamry.com> Message-ID: <32707103E022E74FA2BF41530F385A7C0DD600E0@TK5EX14MBXC125.redmond.corp.microsoft.com> Yes and no. Take the 2010 source zip file (IronPython-2.6.1-Src-Net40.zip) from http://ironpython.codeplex.com/releases/view/36280 and run: Msbuild /t:rebuild /p:configuration="V4 Release" IronPython4.sln from the src directory. If you have only .NET 4.0 installed (that is, no VS 2010 installation), it should work. If on the other hand you have VS 2010 installed and try building this from an SDK command prompt you'll likely end up with some error messages about "The type or namespace name 'Utils' does not exist in the namespace 'System.Dynamic' (are you missing an assembly reference?)". If the latter is your case, the underlying issue has already been fixed and we should have the IronPython_Main branch on CodePlex setup with the VS 2010 solution within the next couple of weeks. Dave -----Original Message----- From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Max Yaffe Sent: Monday, April 26, 2010 1:53 PM To: users at lists.ironpython.com Cc: Jimmy Schementi Subject: [IronPython] IronPython Source & VS2010 Can IronPython 2.6.1 be compiled in VS 2010 - release version? Thanks, Max _______________________________________________ Users mailing list Users at lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com From qiuyingbo at sohu.com Tue Apr 27 02:51:59 2010 From: qiuyingbo at sohu.com (qiuyingbo at sohu.com) Date: Tue, 27 Apr 2010 00:51:59 GMT Subject: [IronPython] ssl server mode issue In-Reply-To: <1A472770E042064698CB5ADC83A12ACD39575335@TK5EX14MBXC118.redmond.corp.microsoft.com> Message-ID: <1272329519.45429679abad4626abad287c741ef8d2.qiuyingbo@sohu.com> Dino,   I created the certificate in windows and got error under both .Net 2/4,  My environment is Windows XP SP3. Would you send your self-signed certificate to me? ----- ?? ----- ???: Dino Viehland ???: Re: [IronPython] ssl server mode issue???: 2010?4?27? 4:02:34 That?s working for me as well.  I went ahead and added a do_GET implementation to the ProxyHandler class:       def do_GET(self):         self.send_response(200)         self.send_header("Content-type", "text/html")         self.end_headers()         stdout = sys.stdout         self.wfile.write('<html><body>hi' + str(datetime.datetime.now()) + '</body></html>')   I generated the key by doing:   C:\OpenSSL\bin\openssl.exe req -new -x509 -days 365 -nodes -out cert.pem -keyout cert.pem   And I?m able to successfully able to make requests to both CPython and IronPython from IE and FireFox.   So I guess the next possible questions would be what version of Windows you?re running on and did you create the certificate on Windows (maybe there?s some difference in OpenSSL between the two platforms?)   Also are you using the .NET 2 version or the .NET 4 version?  Also does my end-to-end repro demonstrate the problem for you or are you doing something different?     From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of qiuyingbo at sohu.comSent: Thursday, April 22, 2010 5:40 PMTo: Discussion of IronPythonSubject: Re: [IronPython] ssl server mode issue   I generated certificate as the instruction of http://docs.python.org/library/ssl.html: openssl req -new -x509 -days 365 -nodes -out cert.pem -keyout cert.pem -------------- next part -------------- An HTML attachment was scrubbed... URL: From jdhardy at gmail.com Tue Apr 27 03:40:58 2010 From: jdhardy at gmail.com (Jeff Hardy) Date: Mon, 26 Apr 2010 19:40:58 -0600 Subject: [IronPython] Convert a PythonBuffer to a byte[] Message-ID: I can't seem to find any easy to convert a PythonBuffer (created in Python and passed to C#) to a byte[]. The best solution I've found so far is to call __getslice__ to get a string and convert that to a byte[]. Is there a better way to so this? If not, will __getslice__ always return a string, or will it depend on how the buffer was created? - Jeff From dinov at microsoft.com Tue Apr 27 03:49:35 2010 From: dinov at microsoft.com (Dino Viehland) Date: Tue, 27 Apr 2010 01:49:35 +0000 Subject: [IronPython] Convert a PythonBuffer to a byte[] In-Reply-To: References: Message-ID: <1A472770E042064698CB5ADC83A12ACD395776BB@TK5EX14MBXC118.redmond.corp.microsoft.com> Jeff wrote: > I can't seem to find any easy to convert a PythonBuffer (created in > Python and passed to C#) to a byte[]. The best solution I've found so > far is to call __getslice__ to get a string and convert that to a > byte[]. Is there a better way to so this? If not, will __getslice__ > always return a string, or will it depend on how the buffer was > created? I think __getslice__ can return non-strings - it might return ByteArray objects or array objects from the array module. I would suggest calling ToString() and converting that to bytes. We should probably expose some way to get at the bytes directly though. We might even want to expose an IntPtr which could have the address of the bytes if they're available - given that's the basic reason for buffer objects existence. From davidescobar1976 at gmail.com Tue Apr 27 08:06:48 2010 From: davidescobar1976 at gmail.com (David Escobar) Date: Mon, 26 Apr 2010 23:06:48 -0700 Subject: [IronPython] Quickstart guide for Ironpython Studio In-Reply-To: <4BD5819A.9000104@voidspace.org.uk> References: <4BD5776F.5050603@voidspace.org.uk> <4BD5819A.9000104@voidspace.org.uk> Message-ID: What about SharpDevelop? They have excellent IronPython support - including a Windows Forms designer. http://www.sharpdevelop.com/OpenSource/SD/Default.aspx David On Mon, Apr 26, 2010 at 5:05 AM, Michael Foord wrote: > On 26/04/2010 13:03, Ben Rousch wrote: > >> On Mon, Apr 26, 2010 at 7:22 AM, Michael Foord >> wrote: >> >> >>> On 26/04/2010 12:20, jon vs. python wrote: >>> >>> Hi, Is there any guide to get started with Ironpython Studio? >>> >>> Simple: >>> >>> 1) Uninstall >>> 2) Delete all trace of it >>> 3) Pick a working Python / IronPython IDE >>> >>> Some alternatives are suggested here: >>> >>> http://www.voidspace.org.uk/ironpython/tools-and-ides.shtml >>> >>> PyCharm is another alternative that has become available recently. In the >>> not *too* distant future the IronPython team will be releasing IronPython >>> Tools for Visual Studio. >>> >>> >> Assuming IronPython Tools for Visual Studio ends up being better than >> the alternatives, which of the current IDEs is likely to provide the >> best transition? >> >> > > I almost exclusively use the Wing IDE for IronPython development, with our > team using the Visual Studio and blend designers for creating xaml / UIs - > so I can't specifically answer your question I'm afraid. > > > All the best, > > Michael Foord > > > >> >>> All the best, >>> >>> Michael Foord >>> >>> Thanks, Jon. >>> >>> _______________________________________________ >>> Users mailing list >>> Users at lists.ironpython.com >>> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com >>> >>> >>> -- >>> http://www.ironpythoninaction.com/ >>> http://www.voidspace.org.uk/blog >>> >>> READ CAREFULLY. By accepting and reading this email you agree, on behalf >>> of >>> your employer, to release me from all obligations and waivers arising >>> from >>> any and all NON-NEGOTIATED agreements, licenses, terms-of-service, >>> shrinkwrap, clickwrap, browsewrap, confidentiality, non-disclosure, >>> non-compete and acceptable use policies (?BOGUS AGREEMENTS?) that I have >>> entered into with your employer, its partners, licensors, agents and >>> assigns, in perpetuity, without prejudice to my ongoing rights and >>> privileges. You further represent that you have the authority to release >>> me >>> from any BOGUS AGREEMENTS on behalf of your employer. >>> >>> >>> _______________________________________________ >>> Users mailing list >>> Users at lists.ironpython.com >>> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com >>> >>> >>> >>> >> >> >> >> > > > -- > http://www.ironpythoninaction.com/ > http://www.voidspace.org.uk/blog > > READ CAREFULLY. By accepting and reading this email you agree, on behalf of > your employer, to release me from all obligations and waivers arising from > any and all NON-NEGOTIATED agreements, licenses, terms-of-service, > shrinkwrap, clickwrap, browsewrap, confidentiality, non-disclosure, > non-compete and acceptable use policies (?BOGUS AGREEMENTS?) that I have > entered into with your employer, its partners, licensors, agents and > assigns, in perpetuity, without prejudice to my ongoing rights and > privileges. You further represent that you have the authority to release me > from any BOGUS AGREEMENTS on behalf of your employer. > > > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mykingheaven at gmail.com Tue Apr 27 08:19:41 2010 From: mykingheaven at gmail.com (David Shieh) Date: Tue, 27 Apr 2010 14:19:41 +0800 Subject: [IronPython] How to install 3rd part packages into IronPython ? Message-ID: Hi guys, I don't whether somebody else asked this question, but I am really confused about this. I have already installled IronPython2.6 and add it into my system's path, so I can directly type ipy to start IronPython2.6. So I tried " ipy setup.py install" to install MySQLdb, but it give me an error said no module named setuptools. Then I download setuptools and install it, it gave me an error: No module named pkg_resources. Why doesn't IronPython2.6 ship with a setuptools like easy_install ? Now, I can't install any 3rd party package and don't know how to fix it. Regards, David -- ---------------------------------------------- Attitude determines everything ! ---------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: From janrou at gmail.com Tue Apr 27 08:34:14 2010 From: janrou at gmail.com (Jan Rouvillain) Date: Tue, 27 Apr 2010 08:34:14 +0200 Subject: [IronPython] Quickstart guide for Ironpython Studio In-Reply-To: References: <4BD5776F.5050603@voidspace.org.uk> <4BD5819A.9000104@voidspace.org.uk> Message-ID: Hello, I can recommend SharpDevelop. A few small tweaks and you are up designing GUI's as in Visual Studio. You can debug ironpython code, when you have done the tweaks. Regards Jan Rouvillain 2010/4/27 David Escobar > What about SharpDevelop? They have excellent IronPython support - including > a Windows Forms designer. > > http://www.sharpdevelop.com/OpenSource/SD/Default.aspx > > David > > > On Mon, Apr 26, 2010 at 5:05 AM, Michael Foord wrote: > >> On 26/04/2010 13:03, Ben Rousch wrote: >> >>> On Mon, Apr 26, 2010 at 7:22 AM, Michael Foord >>> wrote: >>> >>> >>>> On 26/04/2010 12:20, jon vs. python wrote: >>>> >>>> Hi, Is there any guide to get started with Ironpython Studio? >>>> >>>> Simple: >>>> >>>> 1) Uninstall >>>> 2) Delete all trace of it >>>> 3) Pick a working Python / IronPython IDE >>>> >>>> Some alternatives are suggested here: >>>> >>>> http://www.voidspace.org.uk/ironpython/tools-and-ides.shtml >>>> >>>> PyCharm is another alternative that has become available recently. In >>>> the >>>> not *too* distant future the IronPython team will be releasing >>>> IronPython >>>> Tools for Visual Studio. >>>> >>>> >>> Assuming IronPython Tools for Visual Studio ends up being better than >>> the alternatives, which of the current IDEs is likely to provide the >>> best transition? >>> >>> >> >> I almost exclusively use the Wing IDE for IronPython development, with our >> team using the Visual Studio and blend designers for creating xaml / UIs - >> so I can't specifically answer your question I'm afraid. >> >> >> All the best, >> >> Michael Foord >> >> >> >>> >>>> All the best, >>>> >>>> Michael Foord >>>> >>>> Thanks, Jon. >>>> >>>> _______________________________________________ >>>> Users mailing list >>>> Users at lists.ironpython.com >>>> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com >>>> >>>> >>>> -- >>>> http://www.ironpythoninaction.com/ >>>> http://www.voidspace.org.uk/blog >>>> >>>> READ CAREFULLY. By accepting and reading this email you agree, on behalf >>>> of >>>> your employer, to release me from all obligations and waivers arising >>>> from >>>> any and all NON-NEGOTIATED agreements, licenses, terms-of-service, >>>> shrinkwrap, clickwrap, browsewrap, confidentiality, non-disclosure, >>>> non-compete and acceptable use policies (?BOGUS AGREEMENTS?) that I have >>>> entered into with your employer, its partners, licensors, agents and >>>> assigns, in perpetuity, without prejudice to my ongoing rights and >>>> privileges. You further represent that you have the authority to release >>>> me >>>> from any BOGUS AGREEMENTS on behalf of your employer. >>>> >>>> >>>> _______________________________________________ >>>> Users mailing list >>>> Users at lists.ironpython.com >>>> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com >>>> >>>> >>>> >>>> >>> >>> >>> >>> >> >> >> -- >> http://www.ironpythoninaction.com/ >> http://www.voidspace.org.uk/blog >> >> READ CAREFULLY. By accepting and reading this email you agree, on behalf >> of your employer, to release me from all obligations and waivers arising >> from any and all NON-NEGOTIATED agreements, licenses, terms-of-service, >> shrinkwrap, clickwrap, browsewrap, confidentiality, non-disclosure, >> non-compete and acceptable use policies (?BOGUS AGREEMENTS?) that I have >> entered into with your employer, its partners, licensors, agents and >> assigns, in perpetuity, without prejudice to my ongoing rights and >> privileges. You further represent that you have the authority to release me >> from any BOGUS AGREEMENTS on behalf of your employer. >> >> >> _______________________________________________ >> Users mailing list >> Users at lists.ironpython.com >> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com >> > > > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From daftspaniel at gmail.com Tue Apr 27 11:20:18 2010 From: daftspaniel at gmail.com (Davy Mitchell) Date: Tue, 27 Apr 2010 10:20:18 +0100 Subject: [IronPython] Davy's IronPython Editor Message-ID: Hi Folks, I haven't worked on DIE for a good while now due to the usual pressures and changes in interest. Also the IronPython editor/IDE situation has moved on quite a bit since in started. So anyone wanting to pick this project up? I don't want it to get too stale and put people off IronPython like Ironpython Studio does ;-) There is a basis for a good editor in there (maybe move to Scintilla.net?), some fixes sitting in SVN ready to go and it has had a fair few downloads. Davy's Ironpython Editor - http://code.google.com/p/davysironpythoneditor/ Oh yes, you can change the name :-) Thanks, Davy -- Davy Stuff - http://daftspaniel.blogspot.com Geeky Stuff - http://daftpython.blogspot.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From fuzzyman at voidspace.org.uk Tue Apr 27 12:44:25 2010 From: fuzzyman at voidspace.org.uk (Michael Foord) Date: Tue, 27 Apr 2010 11:44:25 +0100 Subject: [IronPython] How to install 3rd part packages into IronPython ? In-Reply-To: References: Message-ID: <4BD6C009.1000006@voidspace.org.uk> Hello David, Not sure how close distutils is to working with IronPython. The correct way to install packages for an installed version of IronPython *should* be to use the "user site-packages" rather than the global site-packages (which won't be writable for IronPython without admin rights): http://www.python.org/dev/peps/pep-0370/ ipy setup.py install --user setuptools is a complex, horrible old beast and I wouldn't like to guess at its IronPython compatibility. Shame MySQLdb depends on it for an install - but MySQLdb almost certainly depends on C extensions anyway. In the long run distutils2 will replace setuptools entirely (for CPython the distribute package has *already* replaced it whilst remaining compatible). The distutils2 guys are *very* open to input - so 'someone' should run the tests with IronPython and report any problems. distutils used to break *after* installing a pure-Python package for IronPython when it attempted to do byte-code compilation. This specific problem is fixed in trunk but I don't know if it is fixed in the version of distutils shipped with IronPython 2.6. This was the last step - so the error was alarming but wouldn't stop the install. All the best, Michael Foord On 27/04/2010 07:19, David Shieh wrote: > Hi guys, > > I don't whether somebody else asked this question, but I am really > confused about this. > I have already installled IronPython2.6 and add it into my system's > path, so I can directly type ipy to start IronPython2.6. > So I tried " ipy setup.py install" to install MySQLdb, but it give me > an error said no module named setuptools. Then I download setuptools > and install it, it gave me an error: > No module named pkg_resources. > > Why doesn't IronPython2.6 ship with a setuptools like easy_install ? > Now, I can't install any 3rd party package and don't know how to fix it. > > Regards, > David > > -- > ---------------------------------------------- > Attitude determines everything ! > ---------------------------------------------- > > > > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > -- http://www.ironpythoninaction.com/ http://www.voidspace.org.uk/blog READ CAREFULLY. By accepting and reading this email you agree, on behalf of your employer, to release me from all obligations and waivers arising from any and all NON-NEGOTIATED agreements, licenses, terms-of-service, shrinkwrap, clickwrap, browsewrap, confidentiality, non-disclosure, non-compete and acceptable use policies (?BOGUS AGREEMENTS?) that I have entered into with your employer, its partners, licensors, agents and assigns, in perpetuity, without prejudice to my ongoing rights and privileges. You further represent that you have the authority to release me from any BOGUS AGREEMENTS on behalf of your employer. -------------- next part -------------- An HTML attachment was scrubbed... URL: From brousch at gmail.com Tue Apr 27 14:38:03 2010 From: brousch at gmail.com (Ben Rousch) Date: Tue, 27 Apr 2010 08:38:03 -0400 Subject: [IronPython] How to install 3rd part packages into IronPython ? In-Reply-To: <4BD6C009.1000006@voidspace.org.uk> References: <4BD6C009.1000006@voidspace.org.uk> Message-ID: First of all I'm new to IronPython, so I'm probably doing this completely wrong. However it has worked for me so far. I have been compiling any non-standard modules I need to a DLL named after the module, and then I include and reference that DLL in my IronPython project. I only have to compile the module/dll once, and it is easy to keep everything together. For instance I use want to use ArgParse. So I download the argparse module source code (not easy_install), create a little script to compile it to DLL, then put the generate argparse.dll in my project. To compile the argeparse DLL, I run this script through ipy.exe: #!/usr/bin/env python # -*- coding: utf-8 -*- import clr clr.CompileModules("argparse.dll", "argparse.py") A more complicated example is xlrd, which as multiple source files: #!/usr/bin/env python # -*- coding: utf-8 -*- import clr clr.CompileModules("xlrd.dll", "xlrd/biffh.py", "xlrd/compdoc.py", "xlrd/formatting.py", "xlrd/formula.py", "xlrd/__init__.py", "xlrd/licences.py", "xlrd/sheet.py", "xlrd/timemachine.py", "xlrd/xldate.py") If this continues to work for me, I will create a more generalized script for compiling, and I expect to build up a nice library of modules/dlls as I do more IronPython projects. On Tue, Apr 27, 2010 at 6:44 AM, Michael Foord wrote: > Hello David, > > Not sure how close distutils is to working with IronPython. > > The correct way to install packages for an installed version of IronPython > *should* be to use the "user site-packages" rather than the global > site-packages (which won't be writable for IronPython without admin rights): > > ??? http://www.python.org/dev/peps/pep-0370/ > > ??? ipy setup.py install --user > > setuptools is a complex, horrible old beast and I wouldn't like to guess at > its IronPython compatibility. Shame MySQLdb depends on it for an install - > but MySQLdb almost certainly depends on C extensions anyway. In the long run > distutils2 will replace setuptools entirely (for CPython the distribute > package has *already* replaced it whilst remaining compatible). The > distutils2 guys are *very* open to input - so 'someone' should run the tests > with IronPython and report any problems. > > distutils used to break *after* installing a pure-Python package for > IronPython when it attempted to do byte-code compilation. This specific > problem is fixed in trunk but I don't know if it is fixed in the version of > distutils shipped with IronPython 2.6. This was the last step - so the error > was alarming but wouldn't stop the install. > > All the best, > > Michael Foord > > On 27/04/2010 07:19, David Shieh wrote: > > Hi guys, > I don't whether somebody else asked this question, but I am really confused > about this. > I have already installled IronPython2.6 and add it into my system's path, so > I can directly type ipy to start IronPython2.6. > So I tried " ipy setup.py install" to install MySQLdb, but it give me an > error said no module named setuptools. Then I download setuptools and > install it, it gave me an error: > No module named pkg_resources. > Why doesn't IronPython2.6 ship with a setuptools like easy_install ? > Now, I can't install any 3rd party package and don't know how to fix it. > Regards, > David > -- > ---------------------------------------------- > Attitude determines everything ! > ---------------------------------------------- > > > > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > > > -- > http://www.ironpythoninaction.com/ > http://www.voidspace.org.uk/blog > > READ CAREFULLY. By accepting and reading this email you agree, on behalf of > your employer, to release me from all obligations and waivers arising from > any and all NON-NEGOTIATED agreements, licenses, terms-of-service, > shrinkwrap, clickwrap, browsewrap, confidentiality, non-disclosure, > non-compete and acceptable use policies (?BOGUS AGREEMENTS?) that I have > entered into with your employer, its partners, licensors, agents and > assigns, in perpetuity, without prejudice to my ongoing rights and > privileges. You further represent that you have the authority to release me > from any BOGUS AGREEMENTS on behalf of your employer. > > > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > > -- Ben Rousch brousch at gmail.com http://ishmilok.blogspot.com/ From cenovsky at bakalari.cz Tue Apr 27 15:16:32 2010 From: cenovsky at bakalari.cz (Lukas Cenovsky) Date: Tue, 27 Apr 2010 15:16:32 +0200 Subject: [IronPython] Validation in Silverlight Message-ID: <4BD6E3B0.7080903@bakalari.cz> Hi Hall, I'm trying to make Silverlight 3 validation working with IronPython but it seems there is necessary a small manual step. I followed some tutorials and this should be enough: 1) Set binding to: Mode=TwoWay, ValidatesOnExceptions=True, NotifyOnValidationError=True 2) Raise Exception in the setter Then the control with bound property should became invalid. I tried it with TextBox and I failed - the control still appeared valid even when the exception was raised. The solution is to manually set the control into invalid state (based on BindingValidationError event) - see attached files for example. Does anybody know why the control is not set into invalid state automatically? -- -- Luk?? From cenovsky at bakalari.cz Tue Apr 27 15:26:34 2010 From: cenovsky at bakalari.cz (Lukas Cenovsky) Date: Tue, 27 Apr 2010 15:26:34 +0200 Subject: [IronPython] Validation in Silverlight In-Reply-To: <4BD6E3B0.7080903@bakalari.cz> References: <4BD6E3B0.7080903@bakalari.cz> Message-ID: <4BD6E60A.8030103@bakalari.cz> Here are the example files. Lukas Cenovsky wrote: > Hi Hall, > I'm trying to make Silverlight 3 validation working with IronPython > but it seems there is necessary a small manual step. > > I followed some tutorials and this should be enough: > > 1) Set binding to: Mode=TwoWay, ValidatesOnExceptions=True, > NotifyOnValidationError=True > 2) Raise Exception in the setter > > Then the control with bound property should became invalid. > > I tried it with TextBox and I failed - the control still appeared > valid even when the exception was raised. > > The solution is to manually set the control into invalid state (based > on BindingValidationError event) - see attached files for example. > > Does anybody know why the control is not set into invalid state > automatically? > > -- > -- Luk?? > > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > > -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: app.py URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: app.xaml Type: application/xaml+xml Size: 562 bytes Desc: not available URL: From vernondcole at gmail.com Tue Apr 27 19:05:39 2010 From: vernondcole at gmail.com (Vernon Cole) Date: Tue, 27 Apr 2010 11:05:39 -0600 Subject: [IronPython] How to install 3rd part packages into IronPython ? In-Reply-To: References: <4BD6C009.1000006@voidspace.org.uk> Message-ID: David: If I may humbly suggest: don't use mySQLdb. Usehttp://sourceforge.net/projects/adodbapi<%20http://sourceforge.net/projects/adodbapi>which works very well with IronPython, thank you, and is also fully db api 2.0 compliant. mySQL is one of the three database engines, along with ACCESS (jet) and MS-SQL which I use to test it. For IronPython it uses the dumbest possible installation method: unzip the package and copy it to the site-packages folder of your choice. The examples in the 'tests' sub-directory contain a working mySQL connection string for a sample. If there are features of mySQLdb which you feel are lacking in adodbapi, please let me know and I will see if they can be added. -- Vernon Cole P.S.: The new release of IPy has uncovered a bug in Decimal and binary data types. I have a fix, and if all tests pass I'll upload a new version later today or tomorrow. It will be version 2.3.0 with some significant new features (like switchable paramstyle.) > On 27/04/2010 07:19, David Shieh wrote: > > > > Hi guys, > > I don't whether somebody else asked this question, but I am really > confused > > about this. > > I have already installled IronPython2.6 and add it into my system's path, > so > > I can directly type ipy to start IronPython2.6. > > So I tried " ipy setup.py install" to install MySQLdb, but it give me an > > error said no module named setuptools. Then I download setuptools and > > install it, it gave me an error: > > No module named pkg_resources. > > Why doesn't IronPython2.6 ship with a setuptools like easy_install ? > > Now, I can't install any 3rd party package and don't know how to fix it. > > Regards, > > David > > -- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From maxyaffe at gmail.com Tue Apr 27 21:03:50 2010 From: maxyaffe at gmail.com (Max Yaffe) Date: Tue, 27 Apr 2010 15:03:50 -0400 Subject: [IronPython] Users Digest, Vol 69, Issue 60 In-Reply-To: References: Message-ID: <521C7C4C81364480BDB2396C5F5516A0@Gamry.com> Thanks Dave, I'll look out for that build. I am trying to build from VS2010 because I want to carefully trace through and understand ipy.exe a.k.a IronPythonConsole. I think I have a different error. When I try to build the current release I get "Microsoft.Scripting.Core" and "Microsoft.ExtensionAttribute" could not be found. Also, namespace "Dynamic" doesn't exist in namespace system. Aren't these part of .Net 4.0 that gets installed with Visual Studio? I just noticed this version of IronPythonConsole uses .NET Framework 2.0 which explains the missing pieces. Will the new branch target .Net Framework 4.0? Max > > ------------------------------ > > Message: 8 > Date: Mon, 26 Apr 2010 23:27:58 +0000 > From: Dave Fugate > > Yes and no. Take the 2010 source zip file > (IronPython-2.6.1-Src-Net40.zip) from > http://ironpython.codeplex.com/releases/view/36280 and run: > Msbuild /t:rebuild /p:configuration="V4 Release" IronPython4.sln > from the src directory. > > If you have only .NET 4.0 installed (that is, no VS 2010 > installation), it should work. If on the other hand you have > VS 2010 installed and try building this from an SDK command > prompt you'll likely end up with some error messages about > "The type or namespace name 'Utils' does not exist in the > namespace 'System.Dynamic' (are you missing an assembly > reference?)". If the latter is your case, the underlying > issue has already been fixed and we should have the > IronPython_Main branch on CodePlex setup with the VS 2010 > solution within the next couple of weeks. > > Dave > > -----Original Message----- > Can IronPython 2.6.1 be compiled in VS 2010 - release version? > > Thanks, > Max > From mykingheaven at gmail.com Wed Apr 28 04:43:25 2010 From: mykingheaven at gmail.com (David Shieh) Date: Wed, 28 Apr 2010 10:43:25 +0800 Subject: [IronPython] How to install 3rd part packages into IronPython ? In-Reply-To: References: <4BD6C009.1000006@voidspace.org.uk> Message-ID: Hi Vernon, I am so glad your gave me such a good choice. But what I really want to use is sqlalchemy, and it is sqlalchemy asked for MySQLdb. So I have 3 choices here: 1. use other driver like adodbapi or mysql connector for .net, however, in this way, I can't use any ORM(I dont feel like writing one). 2. hack sqlalchemy and make it support a .net connector. I think it is risky. 3. install MySQLdb anyway. As I don't have much time, so I chose mysql connector for .net, it can be downloaded on www.mysql.com and easy to use. 2010/4/28 Vernon Cole > David: > If I may humbly suggest: don't use mySQLdb. Usehttp://sourceforge.net/projects/adodbapiwhich works very well with IronPython, thank you, and is also fully db api > 2.0 compliant. mySQL is one of the three database engines, along with > ACCESS (jet) and MS-SQL which I use to test it. > For IronPython it uses the dumbest possible installation method: unzip > the package and copy it to the site-packages folder of your choice. The > examples in the 'tests' sub-directory contain a working mySQL > connection string for a sample. > If there are features of mySQLdb which you feel are lacking in adodbapi, > please let me know and I will see if they can be added. > -- > Vernon Cole > > P.S.: The new release of IPy has uncovered a bug in Decimal and binary data > types. I have a fix, and if all tests pass I'll upload a new version later > today or tomorrow. It will be version 2.3.0 with some significant new > features (like switchable paramstyle.) > > > > On 27/04/2010 07:19, David Shieh wrote: >> > >> > Hi guys, >> > I don't whether somebody else asked this question, but I am really >> confused >> > about this. >> > I have already installled IronPython2.6 and add it into my system's >> path, so >> > I can directly type ipy to start IronPython2.6. >> > So I tried " ipy setup.py install" to install MySQLdb, but it give me an >> > error said no module named setuptools. Then I download setuptools and >> > install it, it gave me an error: >> > No module named pkg_resources. >> > Why doesn't IronPython2.6 ship with a setuptools like easy_install ? >> > Now, I can't install any 3rd party package and don't know how to fix it. >> > Regards, >> > David >> > -- >> > > > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > > -- ---------------------------------------------- Attitude determines everything ! ---------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: From mykingheaven at gmail.com Wed Apr 28 04:48:42 2010 From: mykingheaven at gmail.com (David Shieh) Date: Wed, 28 Apr 2010 10:48:42 +0800 Subject: [IronPython] How to install 3rd part packages into IronPython ? In-Reply-To: <4BD6C009.1000006@voidspace.org.uk> References: <4BD6C009.1000006@voidspace.org.uk> Message-ID: 2010/4/27 Michael Foord > Hello David, > > Not sure how close distutils is to working with IronPython. > > The correct way to install packages for an installed version of IronPython > *should* be to use the "user site-packages" rather than the global > site-packages (which won't be writable for IronPython without admin rights): > > http://www.python.org/dev/peps/pep-0370/ > > ipy setup.py install --user > > setuptools is a complex, horrible old beast and I wouldn't like to guess at > its IronPython compatibility. Shame MySQLdb depends on it for an install - > but MySQLdb almost certainly depends on C extensions anyway. In the long run > distutils2 will replace setuptools entirely (for CPython the distribute > package has *already* replaced it whilst remaining compatible). The > distutils2 guys are *very* open to input - so 'someone' should run the tests > with IronPython and report any problems. > > Yes, you're right. MySQLdb does have some c files that need to be compiled. And I don't think Windows got a good compile environment for this. This bothers me to much. For CPython2.6, I have to find a binary package of MySQLdb, but for IronPython, I can't find any binary. > distutils used to break *after* installing a pure-Python package for > IronPython when it attempted to do byte-code compilation. This specific > problem is fixed in trunk but I don't know if it is fixed in the version of > distutils shipped with IronPython 2.6. This was the last step - so the error > was alarming but wouldn't stop the install. > > I will try it later. Dont have too much time for test now. > All the best, > > Michael Foord > > > On 27/04/2010 07:19, David Shieh wrote: > > Hi guys, > > I don't whether somebody else asked this question, but I am really > confused about this. > I have already installled IronPython2.6 and add it into my system's path, > so I can directly type ipy to start IronPython2.6. > So I tried " ipy setup.py install" to install MySQLdb, but it give me an > error said no module named setuptools. Then I download setuptools and > install it, it gave me an error: > No module named pkg_resources. > > Why doesn't IronPython2.6 ship with a setuptools like easy_install ? > Now, I can't install any 3rd party package and don't know how to fix it. > > Regards, > David > > -- > ---------------------------------------------- > Attitude determines everything ! > ---------------------------------------------- > > > > _______________________________________________ > Users mailing listUsers at lists.ironpython.comhttp://lists.ironpython.com/listinfo.cgi/users-ironpython.com > > > > -- http://www.ironpythoninaction.com/http://www.voidspace.org.uk/blog > > READ CAREFULLY. By accepting and reading this email you agree, on behalf of your employer, to release me from all obligations and waivers arising from any and all NON-NEGOTIATED agreements, licenses, terms-of-service, shrinkwrap, clickwrap, browsewrap, confidentiality, non-disclosure, non-compete and acceptable use policies (?BOGUS AGREEMENTS?) that I have entered into with your employer, its partners, licensors, agents and assigns, in perpetuity, without prejudice to my ongoing rights and privileges. You further represent that you have the authority to release me from any BOGUS AGREEMENTS on behalf of your employer. > > > > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > > -- ---------------------------------------------- Attitude determines everything ! ---------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: From hank at prosysplus.com Wed Apr 28 05:08:54 2010 From: hank at prosysplus.com (Hank Fay) Date: Tue, 27 Apr 2010 23:08:54 -0400 Subject: [IronPython] Advantage Database ado.net provider difficulties Message-ID: I'm trying to use the Advantage Database ado.net provider (9.0.2.7) working in IronPython (2.6.1003.1). OS is Win7 x64; IDE is #develop 4.0.0.5720. I'm getting an error that isn't telling me much. This is based on a C# example I have running on the same machine, in VS2010 RTM. Here's the code (Advantage.Data.Provider.dll is referenced in the project). It blows up on the last line, with the error noted below the code. My hope is that the error will mean more to those with more experience than I and point me in a useful direction. FYI: the code references a directory as a database, and the CommandText selects a field from a DBF that is a free table, that is, not part of a VFP database container (if you were to get the idea that I'm retreading in IP after 24 years developing in xBase languages, you would hit the mark ). import Advantage.Data.Provider from Advantage.Data.Provider import * _conn = Advantage.Data.Provider.AdsConnection("data source=c:\\vpme9apps\next\scaledsardine\versionb\xcase;\ ServerType=local; TableType=CDX") _conn.Open() _cmd = _conn.CreateCommand() _cmd.CommandText = "select name from ddent" _reader = _cmd.ExecuteReader() And the error: Advantage.Data.Provider.AdsException: System error. at Microsoft.Scripting.Actions.Calls.MethodCandidate+Caller.Call(Object[] args, Boolean shouldOptimize) at IronPython.Runtime.Types.BuiltinFunction+BuiltinFunctionCaller`6[System.Object,System.String,IronPython.Runtime.PythonDictionary,IronPython.Runtime.PythonDictionary,IronPython.Runtime.PythonTuple,System.Int32].Call5(CallSite site, CodeContext context, Object func, String arg0, PythonDictionary arg1, PythonDictionary arg2, PythonTuple arg3, Int32 arg4) at System.Dynamic.UpdateDelegates.UpdateAndExecute7(CallSite site, Object arg0, Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6) at IronPython.Runtime.Importer.Import(CodeContext context, String fullName, PythonTuple from, Int32 level) at IronPython.Runtime.Operations.PythonOps.InitializeModule(Assembly precompiled, String main, String[] references) at PythonMain.Main() tia, Hank Fay -------------- next part -------------- An HTML attachment was scrubbed... URL: From pjaganathan at gmail.com Wed Apr 28 05:13:05 2010 From: pjaganathan at gmail.com (Prasanna Jaganathan) Date: Wed, 28 Apr 2010 08:43:05 +0530 Subject: [IronPython] IronPython Tools for Visual Studio In-Reply-To: <1A472770E042064698CB5ADC83A12ACD3950A8DB@TK5EX14MBXC118.redmond.corp.microsoft.com> References: <8C12A2BD8CFE894C891514267B55A2B511456D79@srv-sc-mail.symyx.com> <1A472770E042064698CB5ADC83A12ACD3950A8DB@TK5EX14MBXC118.redmond.corp.microsoft.com> Message-ID: Hi Is this available now? Two weeks are up! :-) Prasanna On Thu, Apr 8, 2010 at 11:29 PM, Dino Viehland wrote: > It?s not yet publicly available ? the preview was given out exclusively > to PyCon attendees on a CD. We?ll be putting out an updated version within > a couple of weeks after VS 2010 launches which is April 12th. > > > > *From:* users-bounces at lists.ironpython.com [mailto: > users-bounces at lists.ironpython.com] *On Behalf Of *Marty Nelson > *Sent:* Thursday, April 08, 2010 10:45 AM > *To:* Discussion of IronPython > *Subject:* Re: [IronPython] IronPython Tools for Visual Studio > > > > We offer extensive Iron Python extension points for our customers in our > application and would be very interested in this technology as well. > > > > Marty Nelson > > Symyx Technologies. > > > > *From:* users-bounces at lists.ironpython.com [mailto: > users-bounces at lists.ironpython.com] *On Behalf Of *Prasanna Jaganathan > *Sent:* Thursday, April 08, 2010 10:36 AM > *To:* users at lists.ironpython.com > *Subject:* [IronPython] IronPython Tools for Visual Studio > > > > Hi > > > > I am trying to get a good IDE for working with Iron Python, I chanced upon > this page and found about IronPython Tools for Visual Studio. > > > http://us.pycon.org/media/2010/talkdata/PyCon2010/009/IronPython_Tools_for_Visual_Studio_Walkthrough.pdf > > I have installed Visual Studio 2010 beta and would like to install this > plugin. Can you point me to a place where I can download this? > > > > Thank you very much! > > > > Regards > > Prasanna > > ======= > Notice: This e-mail message, together with any attachments, contains > information of Symyx Technologies, Inc. or any of its affiliates or > subsidiaries that may be confidential, proprietary, copyrighted, > privileged and/or protected work product, and is meant solely for > the intended recipient. If you are not the intended recipient, and > have received this message in error, please contact the sender > immediately, permanently delete the original and any copies of this > email and any attachments thereto. > > > > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dinov at microsoft.com Wed Apr 28 05:15:47 2010 From: dinov at microsoft.com (Dino Viehland) Date: Wed, 28 Apr 2010 03:15:47 +0000 Subject: [IronPython] Advantage Database ado.net provider difficulties In-Reply-To: References: Message-ID: <1A472770E042064698CB5ADC83A12ACD395A8AD0@TK5EX14MBXC116.redmond.corp.microsoft.com> My initial guess would be that you want your string literal to be a raw string literal. That is it should have the r prefix such as r"data source=...". I'm guessing the C# code might have been doing @"data source=..." because of the "\n" in the connection string. From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Hank Fay Sent: Tuesday, April 27, 2010 8:09 PM To: users at lists.ironpython.com Subject: [IronPython] Advantage Database ado.net provider difficulties I'm trying to use the Advantage Database ado.net provider (9.0.2.7) working in IronPython (2.6.1003.1). OS is Win7 x64; IDE is #develop 4.0.0.5720. I'm getting an error that isn't telling me much. This is based on a C# example I have running on the same machine, in VS2010 RTM. Here's the code (Advantage.Data.Provider.dll is referenced in the project). It blows up on the last line, with the error noted below the code. My hope is that the error will mean more to those with more experience than I and point me in a useful direction. FYI: the code references a directory as a database, and the CommandText selects a field from a DBF that is a free table, that is, not part of a VFP database container (if you were to get the idea that I'm retreading in IP after 24 years developing in xBase languages, you would hit the mark ). import Advantage.Data.Provider from Advantage.Data.Provider import * _conn = Advantage.Data.Provider.AdsConnection("data source=c:\\vpme9apps\next\scaledsardine\versionb\xcase;\ ServerType=local; TableType=CDX") _conn.Open() _cmd = _conn.CreateCommand() _cmd.CommandText = "select name from ddent" _reader = _cmd.ExecuteReader() And the error: Advantage.Data.Provider.AdsException: System error. at Microsoft.Scripting.Actions.Calls.MethodCandidate+Caller.Call(Object[] args, Boolean shouldOptimize) at IronPython.Runtime.Types.BuiltinFunction+BuiltinFunctionCaller`6[System.Object,System.String,IronPython.Runtime.PythonDictionary,IronPython.Runtime.PythonDictionary,IronPython.Runtime.PythonTuple,System.Int32].Call5(CallSite site, CodeContext context, Object func, String arg0, PythonDictionary arg1, PythonDictionary arg2, PythonTuple arg3, Int32 arg4) at System.Dynamic.UpdateDelegates.UpdateAndExecute7(CallSite site, Object arg0, Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6) at IronPython.Runtime.Importer.Import(CodeContext context, String fullName, PythonTuple from, Int32 level) at IronPython.Runtime.Operations.PythonOps.InitializeModule(Assembly precompiled, String main, String[] references) at PythonMain.Main() tia, Hank Fay -------------- next part -------------- An HTML attachment was scrubbed... URL: From dinov at microsoft.com Wed Apr 28 05:17:11 2010 From: dinov at microsoft.com (Dino Viehland) Date: Wed, 28 Apr 2010 03:17:11 +0000 Subject: [IronPython] IronPython Tools for Visual Studio In-Reply-To: References: <8C12A2BD8CFE894C891514267B55A2B511456D79@srv-sc-mail.symyx.com> <1A472770E042064698CB5ADC83A12ACD3950A8DB@TK5EX14MBXC118.redmond.corp.microsoft.com> Message-ID: <1A472770E042064698CB5ADC83A12ACD395A8B00@TK5EX14MBXC116.redmond.corp.microsoft.com> Not yet :( We were trying to push through some internal processes for a more optimal release. We'll release this week whether or not we can push through that part of the process. Sorry for the delay! From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Prasanna Jaganathan Sent: Tuesday, April 27, 2010 8:13 PM To: Discussion of IronPython Subject: Re: [IronPython] IronPython Tools for Visual Studio Hi Is this available now? Two weeks are up! :-) Prasanna On Thu, Apr 8, 2010 at 11:29 PM, Dino Viehland > wrote: It's not yet publicly available - the preview was given out exclusively to PyCon attendees on a CD. We'll be putting out an updated version within a couple of weeks after VS 2010 launches which is April 12th. From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Marty Nelson Sent: Thursday, April 08, 2010 10:45 AM To: Discussion of IronPython Subject: Re: [IronPython] IronPython Tools for Visual Studio We offer extensive Iron Python extension points for our customers in our application and would be very interested in this technology as well. Marty Nelson Symyx Technologies. From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Prasanna Jaganathan Sent: Thursday, April 08, 2010 10:36 AM To: users at lists.ironpython.com Subject: [IronPython] IronPython Tools for Visual Studio Hi I am trying to get a good IDE for working with Iron Python, I chanced upon this page and found about IronPython Tools for Visual Studio. http://us.pycon.org/media/2010/talkdata/PyCon2010/009/IronPython_Tools_for_Visual_Studio_Walkthrough.pdf I have installed Visual Studio 2010 beta and would like to install this plugin. Can you point me to a place where I can download this? Thank you very much! Regards Prasanna ======= Notice: This e-mail message, together with any attachments, contains information of Symyx Technologies, Inc. or any of its affiliates or subsidiaries that may be confidential, proprietary, copyrighted, privileged and/or protected work product, and is meant solely for the intended recipient. If you are not the intended recipient, and have received this message in error, please contact the sender immediately, permanently delete the original and any copies of this email and any attachments thereto. _______________________________________________ Users mailing list Users at lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From hank at prosysplus.com Wed Apr 28 05:25:02 2010 From: hank at prosysplus.com (Hank Fay) Date: Tue, 27 Apr 2010 23:25:02 -0400 Subject: [IronPython] Advantage Database ado.net provider difficulties In-Reply-To: <1A472770E042064698CB5ADC83A12ACD395A8AD0@TK5EX14MBXC116.redmond.corp.microsoft.com> References: <1A472770E042064698CB5ADC83A12ACD395A8AD0@TK5EX14MBXC116.redmond.corp.microsoft.com> Message-ID: That's even better than a direction: that's the answer! Thanks, Hank On Tue, Apr 27, 2010 at 11:15 PM, Dino Viehland wrote: > My initial guess would be that you want your string literal to be a raw > string literal. That is it should have the r prefix such as r?data > source=??. I?m guessing the C# code might have been doing @?data source=?? > because of the ?\n? in the connection string. > > > > *From:* users-bounces at lists.ironpython.com [mailto: > users-bounces at lists.ironpython.com] *On Behalf Of *Hank Fay > *Sent:* Tuesday, April 27, 2010 8:09 PM > > *To:* users at lists.ironpython.com > *Subject:* [IronPython] Advantage Database ado.net provider difficulties > > > > I'm trying to use the Advantage Database ado.net provider (9.0.2.7) > working in IronPython (2.6.1003.1). OS is Win7 x64; IDE is #develop > 4.0.0.5720. I'm getting an error that isn't telling me much. This is based > on a C# example I have running on the same machine, in VS2010 RTM. > > > > Here's the code (Advantage.Data.Provider.dll is referenced in the project). > It blows up on the last line, with the error noted below the code. My hope > is that the error will mean more to those with more experience than I and > point me in a useful direction. FYI: the code references a directory as a > database, and the CommandText selects a field from a DBF that is a free > table, that is, not part of a VFP database container (if you were to get the > idea that I'm retreading in IP after 24 years developing in xBase languages, > you would hit the mark ). > > > > *import* Advantage.Data.Provider > *from* Advantage.Data.Provider *import* * > > _conn = Advantage.Data.Provider.*AdsConnection*("data > source=c:\\vpme9apps\next\scaledsardine\versionb\xcase;\ > ServerType=local; TableType=CDX") > _conn.*Open*() > _cmd = _conn.*CreateCommand*() > _cmd.CommandText = "select name from ddent" > _reader = _cmd.*ExecuteReader*() > > > > And the error: > > > > Advantage.Data.Provider.AdsException: System error. > > at > Microsoft.Scripting.Actions.Calls.MethodCandidate+Caller.Call(Object[] args, > Boolean shouldOptimize) > > at > IronPython.Runtime.Types.BuiltinFunction+BuiltinFunctionCaller`6[System.Object,System.String,IronPython.Runtime.PythonDictionary,IronPython.Runtime.PythonDictionary,IronPython.Runtime.PythonTuple,System.Int32].Call5(CallSite > site, CodeContext context, Object func, String arg0, PythonDictionary arg1, > PythonDictionary arg2, PythonTuple arg3, Int32 arg4) > > at System.Dynamic.UpdateDelegates.UpdateAndExecute7(CallSite site, > Object arg0, Object arg1, Object arg2, Object arg3, Object arg4, Object > arg5, Object arg6) > > at IronPython.Runtime.Importer.Import(CodeContext context, String > fullName, PythonTuple from, Int32 level) > > at IronPython.Runtime.Operations.PythonOps.InitializeModule(Assembly > precompiled, String main, String[] references) > > at PythonMain.Main() > > > > tia, > > > > Hank Fay > > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From hank at prosysplus.com Wed Apr 28 05:33:34 2010 From: hank at prosysplus.com (Hank Fay) Date: Tue, 27 Apr 2010 23:33:34 -0400 Subject: [IronPython] IronPython Tools for Visual Studio In-Reply-To: <1A472770E042064698CB5ADC83A12ACD395A8B00@TK5EX14MBXC116.redmond.corp.microsoft.com> References: <8C12A2BD8CFE894C891514267B55A2B511456D79@srv-sc-mail.symyx.com> <1A472770E042064698CB5ADC83A12ACD3950A8DB@TK5EX14MBXC118.redmond.corp.microsoft.com> <1A472770E042064698CB5ADC83A12ACD395A8B00@TK5EX14MBXC116.redmond.corp.microsoft.com> Message-ID: I've been getting everyone (relatives including kids, anyone, programming experience not necessary ) I can cajole into going to MS Connect to vote up Michael's issue on the IP IDE in VS. My latest effort is a LInkedIn group for IP, with a permanent discussion item pointing to the Connect issue: http://www.linkedin.com/groups?gid=2989051&trk=myg_ugrp_ovr Of course, I would imagine everyone here is one of the nearly 600 now who have voted it up. On Tue, Apr 27, 2010 at 11:17 PM, Dino Viehland wrote: > Not yet L We were trying to push through some internal processes for a > more optimal release. We?ll release this week whether or not we can push > through that part of the process. Sorry for the delay! > > > > *From:* users-bounces at lists.ironpython.com [mailto: > users-bounces at lists.ironpython.com] *On Behalf Of *Prasanna Jaganathan > *Sent:* Tuesday, April 27, 2010 8:13 PM > > *To:* Discussion of IronPython > *Subject:* Re: [IronPython] IronPython Tools for Visual Studio > > > > Hi > > > > Is this available now? Two weeks are up! :-) > > > > Prasanna > > On Thu, Apr 8, 2010 at 11:29 PM, Dino Viehland > wrote: > > It?s not yet publicly available ? the preview was given out exclusively to > PyCon attendees on a CD. We?ll be putting out an updated version within a > couple of weeks after VS 2010 launches which is April 12th. > > > > *From:* users-bounces at lists.ironpython.com [mailto: > users-bounces at lists.ironpython.com] *On Behalf Of *Marty Nelson > *Sent:* Thursday, April 08, 2010 10:45 AM > *To:* Discussion of IronPython > *Subject:* Re: [IronPython] IronPython Tools for Visual Studio > > > > We offer extensive Iron Python extension points for our customers in our > application and would be very interested in this technology as well. > > > > Marty Nelson > > Symyx Technologies. > > > > *From:* users-bounces at lists.ironpython.com [mailto: > users-bounces at lists.ironpython.com] *On Behalf Of *Prasanna Jaganathan > *Sent:* Thursday, April 08, 2010 10:36 AM > *To:* users at lists.ironpython.com > *Subject:* [IronPython] IronPython Tools for Visual Studio > > > > Hi > > > > I am trying to get a good IDE for working with Iron Python, I chanced upon > this page and found about IronPython Tools for Visual Studio. > > > http://us.pycon.org/media/2010/talkdata/PyCon2010/009/IronPython_Tools_for_Visual_Studio_Walkthrough.pdf > > I have installed Visual Studio 2010 beta and would like to install this > plugin. Can you point me to a place where I can download this? > > > > Thank you very much! > > > > Regards > > Prasanna > > ======= > Notice: This e-mail message, together with any attachments, contains > information of Symyx Technologies, Inc. or any of its affiliates or > subsidiaries that may be confidential, proprietary, copyrighted, > privileged and/or protected work product, and is meant solely for > the intended recipient. If you are not the intended recipient, and > have received this message in error, please contact the sender > immediately, permanently delete the original and any copies of this > email and any attachments thereto. > > > > > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > > > > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From hernan.martinez at ecc.es Wed Apr 28 11:28:09 2010 From: hernan.martinez at ecc.es (Hernan Martinez-Foffani Silva) Date: Wed, 28 Apr 2010 11:28:09 +0200 Subject: [IronPython] Embeddable IDE? Message-ID: Now that IDEs for IronPython seems a popular topic, I would like to ask if anyone can recommend me an *embeddable* IDE. Our customers can already drive many of our application functions through IronPython scripts. But we want to make a step forward and give them the ability to extend and customize by the means of IronPython scripts plugins. While just publishing an API would be enough technically speaking, I think that in this case the best approach would be to also embed a small IP editor and debugger. Things I need: - Easily embeddable (*). - Python syntax highlight. - Step-by-step debugger. - Object instrospection when debugging. - Small and compact. Nice to have, but unimportant. - Object instrospection when editing (aka. "Intellisense") - command interpreter. - Object modification when debugging. Don't need: - Project management. - SCM integration. - form designer. - IP compiler. Do you know such a beast? Best Regards, -Hern?n. (*) In this context "easily embeddable" I understand that it should have an easy way to strip out menu items and toolbars and replace them with our own, a debugger linked to an IP compiled by us, and a suitable distribution license. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jonvspython at gmail.com Wed Apr 28 11:56:55 2010 From: jonvspython at gmail.com (jon vs. python) Date: Wed, 28 Apr 2010 11:56:55 +0200 Subject: [IronPython] Ironpython reload assembly/dll from console Message-ID: Hi, I'm developping a C# assembly and using IronPython to test it interactivelly. Every bug or flaw found requires a new assembly generation, loading, etc. Is it possible to reload the assembly from IronPython Console? If it is, how can I do it? Thanks, Jon. -------------- next part -------------- An HTML attachment was scrubbed... URL: From cenovsky at bakalari.cz Wed Apr 28 15:13:49 2010 From: cenovsky at bakalari.cz (Lukas Cenovsky) Date: Wed, 28 Apr 2010 15:13:49 +0200 Subject: [IronPython] AddReference to Silverlight toolkit assemblies In-Reply-To: <1B42307CD4AADD438CDDA2FE1121CC921731311E@TK5EX14MBXC136.redmond.corp.microsoft.com> References: <4BA95FC7.4040607@bakalari.cz> <1B42307CD4AADD438CDDA2FE1121CC921731311E@TK5EX14MBXC136.redmond.corp.microsoft.com> Message-ID: <4BD8348D.9060007@bakalari.cz> Well, I was wrong when I said it worked. Here is the scenario: I have necessary .dlls in separate file called /SLToolkit.zip/ which I reference in AppManifest.xaml: There are the following files in /SLToolkit.zip/: System.ComponentModel.DataAnnotations.dll System.Windows.Controls.dll System.Windows.Controls.Data.dll System.Windows.Controls.Data.Input.dll System.Windows.Data.dll I want to use /ChildWindow/ control. It works when I use it in XAML and load the XAML with XamlReader. But it does not work when I want to load it from code. If fails on importing because /ChildWindow/ is not in /System.Windows.Controls/ namespace. I put System.Windows.Controls.dll into .xap file and test the following in Silverlight REPL: py> import System.Windows.Controls => None py> dir(System.Windows.Controls) => ['Border', 'Button', 'Canvas', 'CheckBox', 'CleanUpVirtualizedItemEventArgs', ...] py> clr.AddReferenceToFile('System.Windows.Controls.dll') => None py> dir(System.Windows.Controls) => ['Border', 'Button', 'Calendar', 'CalendarBlackoutDatesCollection', 'CalendarDateChangedEventArgs', 'CalendarDateRange', 'CalendarMode', 'CalendarModeChangedEventArgs', 'CalendarSelectionMode', 'Canvas', 'CheckBox', 'ChildWindow', 'CleanUpVirtualizedItemEventArgs', ...] It looks like the controls from System.Windows.Controls.dll are not merged into /System.Windows.Controls/ namespace. Is it bug or do I do something wrong? -- -- Luk?? Jimmy Schementi wrote: > > Lukas, > > > > When you use ExtensionPart, it calls Assembly.Load on each file in the > zip file referenced, so you don't need to do clr.Addreference. > > > > System.Windows.Data.dll and System.Windows.Controls.Data.dll are not > DLLs in Silverlight; they are in the Silverlight SDK. So you'll have > to package them up into a separate zip file which you include in your > AppManfest, just like you did with the SLToolkit.zip. > > > > ~js > > > > *From:* users-bounces at lists.ironpython.com > [mailto:users-bounces at lists.ironpython.com] *On Behalf Of *Lukas Cenovsky > *Sent:* Tuesday, March 23, 2010 5:42 PM > *To:* users at lists.ironpython.com > *Subject:* [IronPython] AddReference to Silverlight toolkit assemblies > > > > Hi all, > I use Silverlight toolkit in my IronPython Silverlight app. To lower > bandwidth, I put all necessary Silverlight toolkit .dlls into separate > file called /SLToolkit.zip/ which I reference in AppManifest.xaml: > > > > > > > This works nicely if I don't need to reference assembly already > existing in Silverlight - e.g. I do > > clr.AddReference('System.Windows.Controls.Data') > > and use /DataGrid/. Unfortunately, when I need to reference > /PagedCollectionView /from System.Windows.Data, this approach does not > work. Trying > > from System.Windows.Data import PagedCollectionView > > fails on /ImportError: Cannot import name PagedCollectionView/. Doing > > import System.Windows.Data > System.Windows.Data.PagedCollectionView(some_data) > > fails with /AttributeError: attribute 'PagedCollectionView' of > 'namespace#' object is read-only/. When I try to add > > clr.AddReference('System.Windows.Data') > > if fails with: /IOError: [Errno 2] could not find assembly: > System.Windows.Data (check the Web server)/. > > The only way how to make this work is to put System.Windows.Data.dll > into .xap file and reference it with > > clr.AddReferenceToFile('System.Windows.Data.dll') > from System.Windows.Data import PagedCollectionView > > > Is there a way to make it work when System.Windows.Data.dll is in the > separate file? Or should I use another approach? > > Thanks, > > -- > -- Luk?? > > ------------------------------------------------------------------------ > > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dinov at microsoft.com Wed Apr 28 18:19:14 2010 From: dinov at microsoft.com (Dino Viehland) Date: Wed, 28 Apr 2010 16:19:14 +0000 Subject: [IronPython] Ironpython reload assembly/dll from console In-Reply-To: References: Message-ID: <1A472770E042064698CB5ADC83A12ACD395ACB43@TK5EX14MBXC116.redmond.corp.microsoft.com> Unfortunately the CLR doesn't have any support for reloading. But you should be able to do clr.AddReferenceToFile instead of just clr.AddReference. IronPython will then update the types which are available for import so they're the new types. There may be some issues around CLR loader contexts but if things are simple enough (e.g. one assembly, not a collection of assemblies which reference each other) then that should work pretty painlessly. From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of jon vs. python Sent: Wednesday, April 28, 2010 2:57 AM To: Discussion of IronPython Subject: [IronPython] Ironpython reload assembly/dll from console Hi, I'm developping a C# assembly and using IronPython to test it interactivelly. Every bug or flaw found requires a new assembly generation, loading, etc. Is it possible to reload the assembly from IronPython Console? If it is, how can I do it? Thanks, Jon. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jonvspython at gmail.com Wed Apr 28 18:37:35 2010 From: jonvspython at gmail.com (jon vs. python) Date: Wed, 28 Apr 2010 18:37:35 +0200 Subject: [IronPython] Ironpython reload assembly/dll from console In-Reply-To: <1A472770E042064698CB5ADC83A12ACD395ACB43@TK5EX14MBXC116.redmond.corp.microsoft.com> References: <1A472770E042064698CB5ADC83A12ACD395ACB43@TK5EX14MBXC116.redmond.corp.microsoft.com> Message-ID: Thanks!! I'll try that one. On Wed, Apr 28, 2010 at 6:19 PM, Dino Viehland wrote: > Unfortunately the CLR doesn?t have any support for reloading. But you > should be able to do clr.AddReferenceToFile instead of just > clr.AddReference. IronPython will then update the types which are available > for import so they?re the new types. There may be some issues around CLR > loader contexts but if things are simple enough (e.g. one assembly, not a > collection of assemblies which reference each other) then that should work > pretty painlessly. > > > > *From:* users-bounces at lists.ironpython.com [mailto: > users-bounces at lists.ironpython.com] *On Behalf Of *jon vs. python > *Sent:* Wednesday, April 28, 2010 2:57 AM > *To:* Discussion of IronPython > *Subject:* [IronPython] Ironpython reload assembly/dll from console > > > > Hi, I'm developping a C# assembly and using IronPython to test it > interactivelly. Every bug or flaw found requires a new assembly generation, > loading, etc. > Is it possible to reload the assembly from IronPython Console? If it is, > how can I do it? > Thanks, Jon. > > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From fuzzyman at voidspace.org.uk Thu Apr 29 11:20:02 2010 From: fuzzyman at voidspace.org.uk (Michael Foord) Date: Thu, 29 Apr 2010 10:20:02 +0100 Subject: [IronPython] How to install 3rd part packages into IronPython ? In-Reply-To: References: <4BD6C009.1000006@voidspace.org.uk> Message-ID: <4BD94F42.5010907@voidspace.org.uk> On 28/04/2010 03:48, David Shieh wrote: > [snip....] > > setuptools is a complex, horrible old beast and I wouldn't like to > guess at its IronPython compatibility. Shame MySQLdb depends on it > for an install - but MySQLdb almost certainly depends on C > extensions anyway. In the long run distutils2 will replace > setuptools entirely (for CPython the distribute package has > *already* replaced it whilst remaining compatible). The distutils2 > guys are *very* open to input - so 'someone' should run the tests > with IronPython and report any problems. > > Yes, you're right. MySQLdb does have some c files that need to be > compiled. And I don't think Windows got a good compile environment for > this. This bothers me to much. For CPython2.6, I have to find a binary > package of MySQLdb, but for IronPython, I can't find any binary. The Windows compile environment for Python C extensions is most easily setup by having the correct version of Visual Studio installed. Packages for Python based on C extensions normally *don't work at all in IronPython* - this is why you won't find binaries for IronPython for C extensions... One way to use Python C extensions with IronPython is through Ironclad: http://www.resolversystems.com/products/ironclad/ All the best, Michael Foord > > distutils used to break *after* installing a pure-Python package > for IronPython when it attempted to do byte-code compilation. This > specific problem is fixed in trunk but I don't know if it is fixed > in the version of distutils shipped with IronPython 2.6. This was > the last step - so the error was alarming but wouldn't stop the > install. > > I will try it later. Dont have too much time for test now. > > All the best, > > Michael Foord > > > On 27/04/2010 07:19, David Shieh wrote: >> Hi guys, >> >> I don't whether somebody else asked this question, but I am >> really confused about this. >> I have already installled IronPython2.6 and add it into my >> system's path, so I can directly type ipy to start IronPython2.6. >> So I tried " ipy setup.py install" to install MySQLdb, but it >> give me an error said no module named setuptools. Then I download >> setuptools and install it, it gave me an error: >> No module named pkg_resources. >> >> Why doesn't IronPython2.6 ship with a setuptools like easy_install ? >> Now, I can't install any 3rd party package and don't know how to >> fix it. >> >> Regards, >> David >> >> -- >> ---------------------------------------------- >> Attitude determines everything ! >> ---------------------------------------------- >> >> >> >> _______________________________________________ >> Users mailing list >> Users at lists.ironpython.com >> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com >> > > > -- > http://www.ironpythoninaction.com/ > http://www.voidspace.org.uk/blog > > READ CAREFULLY. By accepting and reading this email you agree, on behalf of your employer, to release me from all obligations and waivers arising from any and all NON-NEGOTIATED agreements, licenses, terms-of-service, shrinkwrap, clickwrap, browsewrap, confidentiality, non-disclosure, non-compete and acceptable use policies (?BOGUS AGREEMENTS?) that I have entered into with your employer, its partners, licensors, agents and assigns, in perpetuity, without prejudice to my ongoing rights and privileges. You further represent that you have the authority to release me from any BOGUS AGREEMENTS on behalf of your employer. > > > > > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > > > > > -- > ---------------------------------------------- > Attitude determines everything ! > ---------------------------------------------- > > > > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > -- http://www.ironpythoninaction.com/ http://www.voidspace.org.uk/blog READ CAREFULLY. By accepting and reading this email you agree, on behalf of your employer, to release me from all obligations and waivers arising from any and all NON-NEGOTIATED agreements, licenses, terms-of-service, shrinkwrap, clickwrap, browsewrap, confidentiality, non-disclosure, non-compete and acceptable use policies (?BOGUS AGREEMENTS?) that I have entered into with your employer, its partners, licensors, agents and assigns, in perpetuity, without prejudice to my ongoing rights and privileges. You further represent that you have the authority to release me from any BOGUS AGREEMENTS on behalf of your employer. -------------- next part -------------- An HTML attachment was scrubbed... URL: From cenovsky at bakalari.cz Thu Apr 29 12:47:08 2010 From: cenovsky at bakalari.cz (Lukas Cenovsky) Date: Thu, 29 Apr 2010 12:47:08 +0200 Subject: [IronPython] pyc.py error compiling decimal.py Message-ID: <4BD963AC.6070903@bakalari.cz> Is the following error the same as in http://ironpython.codeplex.com/WorkItem/View.aspx?WorkItemId=26593 C:\Dos\IronPython-2.6.1>ipy.exe Tools\Scripts\pyc.py /target:dll Lib\decimal.py Input Files: Lib\decimal.py Output: decimal Target: Dll Platform: ILOnly Machine: I386 Compiling... Traceback (most recent call last): File "Tools\Scripts\pyc.py", line 159, in File "Tools\Scripts\pyc.py", line 151, in Main SystemError: CompileToMethod cannot compile constant 'IronPython.Runtime.Types.BuiltinFunction' because it is a non-trivial value, such as a live object. Instead, create an expression tree that can cnstruct this value. -- -- Luk?? From dinov at microsoft.com Thu Apr 29 18:40:35 2010 From: dinov at microsoft.com (Dino Viehland) Date: Thu, 29 Apr 2010 16:40:35 +0000 Subject: [IronPython] pyc.py error compiling decimal.py In-Reply-To: <4BD963AC.6070903@bakalari.cz> References: <4BD963AC.6070903@bakalari.cz> Message-ID: <1A472770E042064698CB5ADC83A12ACD395B615D@TK5EX14MBXC116.redmond.corp.microsoft.com> Lukas wrote: > Is the following error the same as in > http://ironpython.codeplex.com/WorkItem/View.aspx?WorkItemId=26593 > > C:\Dos\IronPython-2.6.1>ipy.exe Tools\Scripts\pyc.py /target:dll > Lib\decimal.py > Input Files: > Lib\decimal.py > Output: > decimal > Target: > Dll > Platform: > ILOnly > Machine: > I386 > Compiling... > Traceback (most recent call last): > File "Tools\Scripts\pyc.py", line 159, in > File "Tools\Scripts\pyc.py", line 151, in Main > SystemError: CompileToMethod cannot compile constant > 'IronPython.Runtime.Types.BuiltinFunction' because it is a non-trivial > value, such as a live object. Instead, create an expression tree that > can cnstruct this value. Yep, the fix is checked into our main branch, we plan on quickly putting out a 2.6.2 which fixes this regression. We're just giving a short amount of time to make sure there are no other regressions which should also be fixed in 2.6.2 as 2.6.1 was one of our biggest dot releases ever. From cenovsky at bakalari.cz Thu Apr 29 22:35:30 2010 From: cenovsky at bakalari.cz (Lukas Cenovsky) Date: Thu, 29 Apr 2010 22:35:30 +0200 Subject: [IronPython] pyc.py error compiling decimal.py In-Reply-To: <1A472770E042064698CB5ADC83A12ACD395B615D@TK5EX14MBXC116.redmond.corp.microsoft.com> References: <4BD963AC.6070903@bakalari.cz> <1A472770E042064698CB5ADC83A12ACD395B615D@TK5EX14MBXC116.redmond.corp.microsoft.com> Message-ID: <4BD9ED92.4060007@bakalari.cz> Dino Viehland wrote: > Lukas wrote: > >> Is the following error the same as in >> http://ironpython.codeplex.com/WorkItem/View.aspx?WorkItemId=26593 >> >> C:\Dos\IronPython-2.6.1>ipy.exe Tools\Scripts\pyc.py /target:dll >> Lib\decimal.py >> Input Files: >> Lib\decimal.py >> Output: >> decimal >> Target: >> Dll >> Platform: >> ILOnly >> Machine: >> I386 >> Compiling... >> Traceback (most recent call last): >> File "Tools\Scripts\pyc.py", line 159, in >> File "Tools\Scripts\pyc.py", line 151, in Main >> SystemError: CompileToMethod cannot compile constant >> 'IronPython.Runtime.Types.BuiltinFunction' because it is a non-trivial >> value, such as a live object. Instead, create an expression tree that >> can cnstruct this value. >> > > Yep, the fix is checked into our main branch, we plan on quickly putting > out a 2.6.2 which fixes this regression. We're just giving a short amount > of time to make sure there are no other regressions which should also be > fixed in 2.6.2 as 2.6.1 was one of our biggest dot releases ever. Good to hear Dino, thanks. -- -- Luk?s( -------------- next part -------------- An HTML attachment was scrubbed... URL: From mico.siahaan at gmail.com Fri Apr 30 00:00:08 2010 From: mico.siahaan at gmail.com (Mico Siahaan) Date: Fri, 30 Apr 2010 05:00:08 +0700 Subject: [IronPython] Learn IronPython Message-ID: Dear all, I have been using Python for several months, but I am really new in IronPython. Can you suggest me where shall I start learning IronPython specially things that specific to IronPython and not in cPython? regards, -- Mico | mico.siahaan at gmail.com | @bangmico From mico.siahaan at gmail.com Fri Apr 30 00:04:26 2010 From: mico.siahaan at gmail.com (Mico Siahaan) Date: Fri, 30 Apr 2010 05:04:26 +0700 Subject: [IronPython] Dirstributing scripts as Exe Message-ID: Dear all, In CPython there is py2exe to distribute scripts as exe. I notice there is pyc.py scripts in IronPython\Tools. I tried to use pyc to compile one simple script. It produced an exe file. But when I tried to run the exe file, Windows complained: 'Windows stop working...'. Did I do something wrong? -- Mico | mico.siahaan at gmail.com | @bangmico From ddicato at microsoft.com Fri Apr 30 00:13:46 2010 From: ddicato at microsoft.com (David DiCato) Date: Thu, 29 Apr 2010 22:13:46 +0000 Subject: [IronPython] Dirstributing scripts as Exe In-Reply-To: References: Message-ID: This is probably an assembly load failure. Try copying "c:\Program Files\IronPython 2.6"\*.dll into your program directory. You will also need to make sure that sys.path is properly set if you're using the CPython standard lib for anything. We realize this is kind of an undesirable workaround, which is why we're planning to put all of IronPython's required DLLs in the GAC at some point in the future. - David -----Original Message----- From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Mico Siahaan Sent: Thursday, April 29, 2010 3:04 PM To: Users at lists.ironpython.com Subject: [IronPython] Dirstributing scripts as Exe Dear all, In CPython there is py2exe to distribute scripts as exe. I notice there is pyc.py scripts in IronPython\Tools. I tried to use pyc to compile one simple script. It produced an exe file. But when I tried to run the exe file, Windows complained: 'Windows stop working...'. Did I do something wrong? -- Mico | mico.siahaan at gmail.com | @bangmico _______________________________________________ Users mailing list Users at lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com From Jimmy.Schementi at microsoft.com Fri Apr 30 00:13:54 2010 From: Jimmy.Schementi at microsoft.com (Jimmy Schementi) Date: Thu, 29 Apr 2010 22:13:54 +0000 Subject: [IronPython] Learn IronPython In-Reply-To: References: Message-ID: <1B42307CD4AADD438CDDA2FE1121CC9217364C16@TK5EX14MBXC138.redmond.corp.microsoft.com> http://ironpython.net/documentation/ has links to the information you're looking for, specifically: - Differences between IronPython and Python: http://ironpython.codeplex.com/wikipage?title=Differences - IronPython .NET integration documentation: http://ironpython.net/documentation/dotnet/ That should give you a good start. If you have any other questions, please ask this list and we'll get you the answer. ~js > -----Original Message----- > From: users-bounces at lists.ironpython.com [mailto:users- > bounces at lists.ironpython.com] On Behalf Of Mico Siahaan > Sent: Thursday, April 29, 2010 3:00 PM > To: Users at lists.ironpython.com > Subject: [IronPython] Learn IronPython > > Dear all, I have been using Python for several months, but I am really new in > IronPython. Can you suggest me where shall I start learning IronPython > specially things that specific to IronPython and not in cPython? > > regards, > > -- > Mico | mico.siahaan at gmail.com | @bangmico > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com From hrhan at att.net Fri Apr 30 00:24:46 2010 From: hrhan at att.net (Howard Hansen) Date: Thu, 29 Apr 2010 17:24:46 -0500 Subject: [IronPython] Learn IronPython In-Reply-To: References: Message-ID: <4BDA072E.9000800@att.net> Mico Siahaan wrote: > Dear all, I have been using Python for several months, but I am really > new in IronPython. Can you suggest me where shall I start learning > IronPython specially things that specific to IronPython and not in > cPython? > > regards, > > A couple of good books to get you moving in the right direction are: Iron Python in Action by Michael J ford and Christian Muirhead and Professional Iron Python by John P Mueller. Michael J Ford is frequent and very valuable contributer to this mailing list. Howard From bruce.bromberek at gmail.com Fri Apr 30 01:17:55 2010 From: bruce.bromberek at gmail.com (Bruce Bromberek) Date: Thu, 29 Apr 2010 18:17:55 -0500 Subject: [IronPython] Dirstributing scripts as Exe In-Reply-To: References: Message-ID: You also have to watch that the IronPython automatically loads some assemblies that pyc does not. It may be overkill but I reference the following in every script I make into an exe. #Key IronPython References needed for final EXE when IronPython is not installed clr.AddReference('IronPython') clr.AddReference('IronPython.Modules') clr.AddReference('Microsoft.Dynamic') clr.AddReference('Microsoft.Scripting') clr.AddReference('Microsoft.Scripting.Core') clr.AddReference('Microsoft.Scripting.Debugging') clr.AddReference('Microsoft.Scripting.ExtensionAttribute') clr.AddReference('mscorlib') clr.AddReference('System') clr.AddReference('System.Data') On Thu, Apr 29, 2010 at 5:13 PM, David DiCato wrote: > This is probably an assembly load failure. Try copying "c:\Program > Files\IronPython 2.6"\*.dll into your program directory. You will also need > to make sure that sys.path is properly set if you're using the CPython > standard lib for anything. > > We realize this is kind of an undesirable workaround, which is why we're > planning to put all of IronPython's required DLLs in the GAC at some point > in the future. > > - David > > -----Original Message----- > From: users-bounces at lists.ironpython.com [mailto: > users-bounces at lists.ironpython.com] On Behalf Of Mico Siahaan > Sent: Thursday, April 29, 2010 3:04 PM > To: Users at lists.ironpython.com > Subject: [IronPython] Dirstributing scripts as Exe > > Dear all, > > In CPython there is py2exe to distribute scripts as exe. I notice > there is pyc.py scripts in IronPython\Tools. I tried to use pyc to > compile one simple script. It produced an exe file. But when I tried > to run the exe file, Windows complained: 'Windows stop working...'. > Did I do something wrong? > > -- > Mico | mico.siahaan at gmail.com | @bangmico > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mico.siahaan at gmail.com Fri Apr 30 03:18:00 2010 From: mico.siahaan at gmail.com (Mico Siahaan) Date: Fri, 30 Apr 2010 01:18:00 +0000 Subject: [IronPython] Distributing scripts as Exe In-Reply-To: References: Message-ID: <1009658810-1272590282-cardhu_decombobulator_blackberry.rim.net-2131503537-@bda014.bisx.prodap.on.blackberry> Hi Bruce, did you mean I need to add all those clr.AddReference lines in the beginning of my main script? Rgds, --- Mico | mico.siahaan at gmail.com | @bangmico -----Original Message----- From: Bruce Bromberek Date: Thu, 29 Apr 2010 18:17:55 To: Discussion of IronPython Subject: Re: [IronPython] Dirstributing scripts as Exe _______________________________________________ Users mailing list Users at lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com From mico.siahaan at gmail.com Fri Apr 30 03:21:22 2010 From: mico.siahaan at gmail.com (Mico Siahaan) Date: Fri, 30 Apr 2010 01:21:22 +0000 Subject: [IronPython] Distributing scripts as Exe In-Reply-To: References: Message-ID: <2003583714-1272590484-cardhu_decombobulator_blackberry.rim.net-135485627-@bda014.bisx.prodap.on.blackberry> Hi David, I already put all *.dll files into my program directory but got the same problem. Unluckily Windows did not show details of what went wrong. So I have no idea what did really happen. Rgds, --- Mico | mico.siahaan at gmail.com | @bangmico -----Original Message----- From: David DiCato Date: Thu, 29 Apr 2010 22:13:46 To: Discussion of IronPython Subject: Re: [IronPython] Dirstributing scripts as Exe This is probably an assembly load failure. Try copying "c:\Program Files\IronPython 2.6"\*.dll into your program directory. You will also need to make sure that sys.path is properly set if you're using the CPython standard lib for anything. We realize this is kind of an undesirable workaround, which is why we're planning to put all of IronPython's required DLLs in the GAC at some point in the future. - David -----Original Message----- From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Mico Siahaan Sent: Thursday, April 29, 2010 3:04 PM To: Users at lists.ironpython.com Subject: [IronPython] Dirstributing scripts as Exe Dear all, In CPython there is py2exe to distribute scripts as exe. I notice there is pyc.py scripts in IronPython\Tools. I tried to use pyc to compile one simple script. It produced an exe file. But when I tried to run the exe file, Windows complained: 'Windows stop working...'. Did I do something wrong? -- Mico | mico.siahaan at gmail.com | @bangmico _______________________________________________ Users mailing list Users at lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com _______________________________________________ Users mailing list Users at lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com From cenovsky at bakalari.cz Fri Apr 30 09:37:10 2010 From: cenovsky at bakalari.cz (Lukas Cenovsky) Date: Fri, 30 Apr 2010 09:37:10 +0200 Subject: [IronPython] Wrong line numbers in traceback when ecoding is specified Message-ID: <4BDA88A6.1090008@bakalari.cz> Hi all, there is a bug in IronPython 2.6.1 (and 2.6 too) that line numbers in tracebacks are wrong: === file t.py === # encoding: utf-8 print 1/0 C:\IronPython-2.6.1>ipy.exe t.py Traceback (most recent call last): File "t.py", line 1, in ZeroDivisionError: Attempted to divide by zero. The exception is actually on line 2. I have filled a bug: http://ironpython.codeplex.com/WorkItem/View.aspx?WorkItemId=26940 -- -- Luk?? From jonvspython at gmail.com Fri Apr 30 10:59:20 2010 From: jonvspython at gmail.com (jon vs. python) Date: Fri, 30 Apr 2010 10:59:20 +0200 Subject: [IronPython] Open source project developed in IronPython Message-ID: Hi all, I'm new to IronPython and .NET and I'm looking for an open source project developed in IronPython to browse in order to learn. Any advice? Thanks, Jon. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jonvspython at gmail.com Fri Apr 30 11:05:17 2010 From: jonvspython at gmail.com (jon vs. python) Date: Fri, 30 Apr 2010 11:05:17 +0200 Subject: [IronPython] Load an Ironpython dump Message-ID: Hi all, My program is crashing and I'm getting this message: "The program [...\IronPython 2.6\ipy.exe] caused a problem an is going to close. Would you like to save a dump file?" How can I load the dump file generated in order to track the error? Thanks, Jon. -------------- next part -------------- An HTML attachment was scrubbed... URL: From cenovsky at bakalari.cz Fri Apr 30 11:20:24 2010 From: cenovsky at bakalari.cz (Lukas Cenovsky) Date: Fri, 30 Apr 2010 11:20:24 +0200 Subject: [IronPython] Load an Ironpython dump In-Reply-To: References: Message-ID: <4BDAA0D8.5010904@bakalari.cz> jon vs. python wrote: > Hi all, > My program is crashing and I'm getting this message: > > "The program [...\IronPython 2.6\ipy.exe] caused a problem an is going > to close. Would you like to save a dump file?" > > How can I load the dump file generated in order to track the error? > Thanks, Jon. Run the program from command line and you should see the exception there. -- -- Luk?? From jonvspython at gmail.com Fri Apr 30 11:56:43 2010 From: jonvspython at gmail.com (jon vs. python) Date: Fri, 30 Apr 2010 11:56:43 +0200 Subject: [IronPython] Load an Ironpython dump In-Reply-To: <4BDAA0D8.5010904@bakalari.cz> References: <4BDAA0D8.5010904@bakalari.cz> Message-ID: I do believe that the problem lies in an assembly that's being used. I'm running the script from IronPython Console, so I guess I'm not doing poor exception handling. import timer import fl def main(): mst = fl.FireLaser() def poll(src, args): try: mst.ReadBrokenFiber() mst.ReadZoneTemperature(3) except Sockets.SocketException: print "Poll operation failed" try: mst.reconnect() except Sockets.SocketException: print "Reconnect operation failed" #next iteration will do pass tmr = timer.MyTimer(5000,poll) tmr.start() mst.connect() if __name__=="__main__": print "Module loaded from CLI" main() On Fri, Apr 30, 2010 at 11:20 AM, Lukas Cenovsky wrote: > Run the program from command line and you should see the exception there. > > -- > -- Luk?? > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jonvspython at gmail.com Fri Apr 30 16:00:04 2010 From: jonvspython at gmail.com (jon vs. python) Date: Fri, 30 Apr 2010 16:00:04 +0200 Subject: [IronPython] Ironpython delegates never get called Message-ID: Hi, I've a couple of events in a C# assembly... public class Master { ... public delegate void ResponseData(int id, byte function, byte[] data); public event ResponseData OnResponseData; public delegate void ExceptionData(int id, byte function, byte exception); public event ExceptionData OnException; ...that I subscribe from IronPython... import clr clr.AddReferenceToFile('MyModule') clr.AddReference('System') clr.AddReference('System.Net') ... from MyModule import Master from System import Array from System import Byte def response(i, f, data): print "Protocol response received" def exception(i, f, e): print "Protocol exception received" class myMaster(object): def __init__(self, ip, port): self.mst = Master() self.mst.OnResponseData += response self.mst.OnException += exception ... ...but never get called back. I've already check that the events get processed. Function signatures seem to be ok too. Am I missing something? How can I trace what's going on? Thanks, Jon. -------------- next part -------------- An HTML attachment was scrubbed... URL: From curt at hagenlocher.org Fri Apr 30 16:32:21 2010 From: curt at hagenlocher.org (Curt Hagenlocher) Date: Fri, 30 Apr 2010 07:32:21 -0700 Subject: [IronPython] Ironpython delegates never get called In-Reply-To: References: Message-ID: How is the Master object you create from Python shared back with the C# code? (I'm assuming that the event is being triggered from C#.) How did you check to see that the events were processed? Does the event-triggering code swallow exceptions? On Fri, Apr 30, 2010 at 7:00 AM, jon vs. python wrote: > Hi, > I've a couple of events in a C# assembly... > > public class Master > { > ... > public delegate void ResponseData(int id, byte function, > byte[] data); > public event ResponseData OnResponseData; > public delegate void ExceptionData(int id, byte > function, byte exception); > public event ExceptionData OnException; > > > ...that I subscribe from IronPython... > > import clr > clr.AddReferenceToFile('MyModule') > clr.AddReference('System') > clr.AddReference('System.Net') > ... > from MyModule import Master > from System import Array > from System import Byte > > def response(i, f, data): > print "Protocol response received" > > def exception(i, f, e): > print "Protocol exception received" > > class myMaster(object): > def __init__(self, ip, port): > self.mst = Master() > self.mst.OnResponseData += response > self.mst.OnException += exception > ... > > ...but never get called back. I've already check that the events get > processed. Function signatures seem to be ok too. Am I missing something? > How can I trace what's going on? > Thanks, Jon. > > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jonvspython at gmail.com Fri Apr 30 16:52:35 2010 From: jonvspython at gmail.com (jon vs. python) Date: Fri, 30 Apr 2010 16:52:35 +0200 Subject: [IronPython] Ironpython delegates never get called In-Reply-To: References: Message-ID: On Fri, Apr 30, 2010 at 4:32 PM, Curt Hagenlocher wrote: > How is the Master object you create from Python shared back with the C# > code? (I'm assuming that the event is being triggered from C#.) How did you > check to see that the events were processed? Does the event-triggering code > swallow exceptions? > > Hi Curt, The Ironpython object owns a C# object that has a TcpClient transmits and calls OnResponseData when response data is received. I just placed a couple of Console.WriteLine(...) calls in order to see if data was being received. I've no exception handling implemented in the event triggering code so I guess that if an exception happened it would get to the console. Thanks, Jon. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jonvspython at gmail.com Fri Apr 30 17:34:47 2010 From: jonvspython at gmail.com (jon vs. python) Date: Fri, 30 Apr 2010 17:34:47 +0200 Subject: [IronPython] Ironpython delegates never get called In-Reply-To: References: Message-ID: This may seem an stupid question, but... How can I list subscriptors to a given event? -------------- next part -------------- An HTML attachment was scrubbed... URL: From dinov at microsoft.com Fri Apr 30 17:36:11 2010 From: dinov at microsoft.com (Dino Viehland) Date: Fri, 30 Apr 2010 15:36:11 +0000 Subject: [IronPython] Load an Ironpython dump In-Reply-To: References: <4BDAA0D8.5010904@bakalari.cz> Message-ID: <1A472770E042064698CB5ADC83A12ACD395BE6EA@TK5EX14MBXC116.redmond.corp.microsoft.com> You might changing the except to ?except Exception:? to see if an exception other than SocketException is being thrown. From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of jon vs. python Sent: Friday, April 30, 2010 2:57 AM To: Discussion of IronPython Subject: Re: [IronPython] Load an Ironpython dump I do believe that the problem lies in an assembly that's being used. I'm running the script from IronPython Console, so I guess I'm not doing poor exception handling. import timer import fl def main(): mst = fl.FireLaser() def poll(src, args): try: mst.ReadBrokenFiber() mst.ReadZoneTemperature(3) except Sockets.SocketException: print "Poll operation failed" try: mst.reconnect() except Sockets.SocketException: print "Reconnect operation failed" #next iteration will do pass tmr = timer.MyTimer(5000,poll) tmr.start() mst.connect() if __name__=="__main__": print "Module loaded from CLI" main() On Fri, Apr 30, 2010 at 11:20 AM, Lukas Cenovsky > wrote: Run the program from command line and you should see the exception there. -- -- Luk?? -------------- next part -------------- An HTML attachment was scrubbed... URL: From jonvspython at gmail.com Fri Apr 30 17:42:16 2010 From: jonvspython at gmail.com (jon vs. python) Date: Fri, 30 Apr 2010 17:42:16 +0200 Subject: [IronPython] Load an Ironpython dump In-Reply-To: <1A472770E042064698CB5ADC83A12ACD395BE6EA@TK5EX14MBXC116.redmond.corp.microsoft.com> References: <4BDAA0D8.5010904@bakalari.cz> <1A472770E042064698CB5ADC83A12ACD395BE6EA@TK5EX14MBXC116.redmond.corp.microsoft.com> Message-ID: Thanks Dino, I've tried this... try: mst.reconnect() except Exception as inst: print type(inst) But it didn't catch any exception. On Fri, Apr 30, 2010 at 5:36 PM, Dino Viehland wrote: > You might changing the except to ?except Exception:? to see if an > exception other than SocketException is being thrown. > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jonvspython at gmail.com Fri Apr 30 17:51:17 2010 From: jonvspython at gmail.com (jon vs. python) Date: Fri, 30 Apr 2010 17:51:17 +0200 Subject: [IronPython] Ironpython delegates never get called In-Reply-To: References: Message-ID: I finally found it!!! Thanks your help, I apologize 'cause my delegate subscription was wrong. But I'm still interested in my last question though... How can I list subscriptors to a given event? On Fri, Apr 30, 2010 at 5:34 PM, jon vs. python wrote: > This may seem an stupid question, but... How can I list subscriptors to a > given event? > -------------- next part -------------- An HTML attachment was scrubbed... URL: From curt at hagenlocher.org Fri Apr 30 18:37:20 2010 From: curt at hagenlocher.org (Curt Hagenlocher) Date: Fri, 30 Apr 2010 09:37:20 -0700 Subject: [IronPython] Ironpython delegates never get called In-Reply-To: References: Message-ID: Underlying the event, there's usually a nullable backing field which contains a Delegate that holds on to the subscribed delegates. If you can get at the field, you call GetInvocationList() to return the subscribers. Getting at the field is not possible in all cases because it's not actually required that such a field exists for any given event. If the event was implemented in a "default" fashion (such as with the C# code you provided), you should be able to use reflection to scrape it out of the class -- use Reflector or ILDASM to look at your class and understand how this would work. On Fri, Apr 30, 2010 at 8:51 AM, jon vs. python wrote: > I finally found it!!! Thanks your help, I apologize 'cause my delegate > subscription was wrong. > > But I'm still interested in my last question though... How can I list > subscriptors to a given event? > > > On Fri, Apr 30, 2010 at 5:34 PM, jon vs. python wrote: > >> This may seem an stupid question, but... How can I list subscriptors to a >> given event? >> > > > _______________________________________________ > Users mailing list > Users at lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ddicato at microsoft.com Fri Apr 30 18:56:37 2010 From: ddicato at microsoft.com (David DiCato) Date: Fri, 30 Apr 2010 16:56:37 +0000 Subject: [IronPython] Distributing scripts as Exe In-Reply-To: <2003583714-1272590484-cardhu_decombobulator_blackberry.rim.net-135485627-@bda014.bisx.prodap.on.blackberry> References: <2003583714-1272590484-cardhu_decombobulator_blackberry.rim.net-135485627-@bda014.bisx.prodap.on.blackberry> Message-ID: How does your program figure out where to find the standard library? Is it relying on the IRONPYTHONPATH environment variable to point to the location of the standard lib? If so, this is currently broken in pyc.py-generated executables and is a known bug: http://ironpython.codeplex.com/WorkItem/View.aspx?WorkItemId=26706. As a workaround, you can get the IRONPYTHONPATH environment variable explicitly. If it's not set, try copying "c:\Program Files\IronPython 2.6\Lib" into your program directory. Either way, putting the following code into the beginning of your program should help: import sys from System.Environment import GetEnvironmentVariable ipypath = GetEnvironmentVariable('IRONPYTHONPATH') if ipypath: sys.path.extend(ipypath.split(';')) else: # IRONPYTHONPATH not set, use standard lib redist sys.path.append(".\\Lib") If this doesn't help, try running your program from the command line. After you get rid of the "X.exe has stopped working..." dialog, copy/paste any output you see and send it back to the list (or send it to me personally if confidentiality is desired). - David -----Original Message----- From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Mico Siahaan Sent: Thursday, April 29, 2010 6:21 PM To: Discussion of IronPython Subject: Re: [IronPython] Distributing scripts as Exe Hi David, I already put all *.dll files into my program directory but got the same problem. Unluckily Windows did not show details of what went wrong. So I have no idea what did really happen. Rgds, --- Mico | mico.siahaan at gmail.com | @bangmico -----Original Message----- From: David DiCato Date: Thu, 29 Apr 2010 22:13:46 To: Discussion of IronPython Subject: Re: [IronPython] Dirstributing scripts as Exe This is probably an assembly load failure. Try copying "c:\Program Files\IronPython 2.6"\*.dll into your program directory. You will also need to make sure that sys.path is properly set if you're using the CPython standard lib for anything. We realize this is kind of an undesirable workaround, which is why we're planning to put all of IronPython's required DLLs in the GAC at some point in the future. - David -----Original Message----- From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Mico Siahaan Sent: Thursday, April 29, 2010 3:04 PM To: Users at lists.ironpython.com Subject: [IronPython] Dirstributing scripts as Exe Dear all, In CPython there is py2exe to distribute scripts as exe. I notice there is pyc.py scripts in IronPython\Tools. I tried to use pyc to compile one simple script. It produced an exe file. But when I tried to run the exe file, Windows complained: 'Windows stop working...'. Did I do something wrong? -- Mico | mico.siahaan at gmail.com | @bangmico _______________________________________________ Users mailing list Users at lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com _______________________________________________ Users mailing list Users at lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com _______________________________________________ Users mailing list Users at lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com From ddicato at microsoft.com Fri Apr 30 19:41:10 2010 From: ddicato at microsoft.com (David DiCato) Date: Fri, 30 Apr 2010 17:41:10 +0000 Subject: [IronPython] Dirstributing scripts as Exe In-Reply-To: References: Message-ID: These assemblies should automatically be loaded by the CLR before the IronPython engine is ever started. If you're able to execute "import clr", then they have already been loaded successfully. The purpose of clr.AddReference is to make assemblies available from Python, so it is only necessary if the Python code itself calls into these DLLs. One finer point: System and mscorlib are special because IronPython adds references to them by default. At some point in the past, pyc.py failed to add these references by default, which broke any pyc-compiled scripts that tried to call into these DLLs (e.g. "import System"). As a workaround, we recommended including clr.AddReference('System') and clr.AddReference('mscorlib') at the beginning of such pyc-compiled scripts, but this is no longer required because the bug has been fixed. - David From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Bruce Bromberek Sent: Thursday, April 29, 2010 4:18 PM To: Discussion of IronPython Subject: Re: [IronPython] Dirstributing scripts as Exe You also have to watch that the IronPython automatically loads some assemblies that pyc does not. It may be overkill but I reference the following in every script I make into an exe. #Key IronPython References needed for final EXE when IronPython is not installed clr.AddReference('IronPython') clr.AddReference('IronPython.Modules') clr.AddReference('Microsoft.Dynamic') clr.AddReference('Microsoft.Scripting') clr.AddReference('Microsoft.Scripting.Core') clr.AddReference('Microsoft.Scripting.Debugging') clr.AddReference('Microsoft.Scripting.ExtensionAttribute') clr.AddReference('mscorlib') clr.AddReference('System') clr.AddReference('System.Data') On Thu, Apr 29, 2010 at 5:13 PM, David DiCato > wrote: This is probably an assembly load failure. Try copying "c:\Program Files\IronPython 2.6"\*.dll into your program directory. You will also need to make sure that sys.path is properly set if you're using the CPython standard lib for anything. We realize this is kind of an undesirable workaround, which is why we're planning to put all of IronPython's required DLLs in the GAC at some point in the future. - David -----Original Message----- From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Mico Siahaan Sent: Thursday, April 29, 2010 3:04 PM To: Users at lists.ironpython.com Subject: [IronPython] Dirstributing scripts as Exe Dear all, In CPython there is py2exe to distribute scripts as exe. I notice there is pyc.py scripts in IronPython\Tools. I tried to use pyc to compile one simple script. It produced an exe file. But when I tried to run the exe file, Windows complained: 'Windows stop working...'. Did I do something wrong? -- Mico | mico.siahaan at gmail.com | @bangmico _______________________________________________ Users mailing list Users at lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com _______________________________________________ Users mailing list Users at lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From ddicato at microsoft.com Fri Apr 30 19:57:50 2010 From: ddicato at microsoft.com (David DiCato) Date: Fri, 30 Apr 2010 17:57:50 +0000 Subject: [IronPython] Open source project developed in IronPython In-Reply-To: References: Message-ID: One starting point is the set of samples we release with IronPython. Go to the 2.6 release page at http://ironpython.codeplex.com/releases/view/12482, and take a look at IronPython-2.6-Samples.zip. The 2.6.1 release page (http://ironpython.codeplex.com/releases/view/36280) includes 2 more samples. One is "The Worst Paint Program in the World", which Dino used to demonstrate the use of IronPython to extend existing C# applications. The other sample illustrates how to use __clrtype__, a more advanced IronPython-specific feature. I don't recommend starting with this one :) We'd like for these samples to be as helpful as possible to new IronPython developers, so please let us know if they fail in any way to meet these goals. And, of course, don't hesitate to bring any other questions to this mailing list. Good luck! - David From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of jon vs. python Sent: Friday, April 30, 2010 1:59 AM To: Discussion of IronPython Subject: [IronPython] Open source project developed in IronPython Hi all, I'm new to IronPython and .NET and I'm looking for an open source project developed in IronPython to browse in order to learn. Any advice? Thanks, Jon. -------------- next part -------------- An HTML attachment was scrubbed... URL: From drken567 at gmail.com Fri Apr 30 21:08:42 2010 From: drken567 at gmail.com (Ken MacDonald) Date: Fri, 30 Apr 2010 15:08:42 -0400 Subject: [IronPython] Strange IPY / WPF behavior on a ListBox Message-ID: I'm seeing some weirdness - I had a small popup dialog working in WPF/IPY where I had a ListBox with way too many elements to display, say about 30 or so where the available space would hold 4 or 5. I selected one of the elements (a ListBoxItem in the single selection ListBox), and executed BringIntoView() on the ListBoxItem. Worked great, the selected item showed up. Now, I've had to add more stuff to the dialog (an on-screen touch keyboard) and made the whole dialog modal; now I can't get the BringIntoView() to work. I have handlers on several events to try and get the BringIntoView() to happen, considering it has to be fired while it is Visible, and the handlers are getting fired, but I never see the selected item get scrolled into view. I've even attached handlers to some unrelated events like TextBox.TextChanged that I *know* are happening well after the whole dialog is rendered. Still no luck. Everything else in the ListBox works just as it did before, but now I can no longer show the 'default' item when the dialog starts. Anyone have any interesting clues? I've been at this most of the day trying different handlers, etc. and it's making no sense whatsoever. Thanks, Ken -------------- next part -------------- An HTML attachment was scrubbed... URL: From drken567 at gmail.com Fri Apr 30 21:43:49 2010 From: drken567 at gmail.com (Ken MacDonald) Date: Fri, 30 Apr 2010 15:43:49 -0400 Subject: [IronPython] Strange IPY / WPF behavior on a ListBox In-Reply-To: References: Message-ID: Failing being able to get this working, is there a way in IPY/WPF to manually scroll a ListBox? I could theoretically do something like this pseudo-code: while True: if my_selected_item.IsHitTestVisible(): break else: my_selected.item.ScrollDown <===== anything like this? On Fri, Apr 30, 2010 at 3:08 PM, Ken MacDonald wrote: > I'm seeing some weirdness - I had a small popup dialog working in WPF/IPY > where I had a ListBox with way too many elements to display, say about 30 or > so where the available space would hold 4 or 5. I selected one of the > elements (a ListBoxItem in the single selection ListBox), and executed > BringIntoView() on > the ListBoxItem. Worked great, the selected item showed up. > > Now, I've had to add more stuff to the dialog (an on-screen touch keyboard) > and made the whole dialog modal; now I can't get the BringIntoView() to > work. I have handlers on several events to try and get the BringIntoView() > to happen, considering it has to be fired while it is Visible, and the > handlers are getting fired, but I never see the selected item get scrolled > into view. I've even attached handlers to some unrelated events like > TextBox.TextChanged that I *know* are happening well after the whole dialog > is rendered. Still no luck. Everything else in the ListBox works just as it > did before, but now I can no longer show the 'default' item when the dialog > starts. Anyone have any interesting clues? I've been at this most of the day > trying different handlers, etc. and it's making no sense whatsoever. > Thanks, > Ken > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jdhardy at gmail.com Fri Apr 30 23:49:57 2010 From: jdhardy at gmail.com (Jeff Hardy) Date: Fri, 30 Apr 2010 15:49:57 -0600 Subject: [IronPython] Dealing with exceptions in an extension module Message-ID: I'm trying to fix up the exceptions for the _sqlite3 module I'm implementing. The dbapi spec (PEP 249) requires a very specific exception hierarchy, including exceptions derived from StandardError. My initial version just used C# Exception classes, but StandardError is not a normal class, so that was insufficient. I looked into how the existing modules did it (using PythonContext.EnsureModuleException) and started to implement that but I've run up against a bit of a roadblock: PythonExceptions.CreateThrowable is internal. It's not a problem for anything in IronPython.Modules, of course, because of the accursed InternalsVisibleToAttribute, but that doesn't help me much :). Is there a public way to create and throw a Python exception (i.e. a BaseException instance)? For now I'm just using reflection, but I would like a better way. On a related note, there's too much stuff that's used in IronPython.Modules but is internal in IronPython - it makes it hard to figure out the "proper" (public) way to do things. - Jeff From jdhardy at gmail.com Fri Apr 30 23:50:26 2010 From: jdhardy at gmail.com (Jeff Hardy) Date: Fri, 30 Apr 2010 15:50:26 -0600 Subject: [IronPython] Writing a Python iterator in C#? Message-ID: I'm trying to implement a Python iterator in C# without also implementing IEnumerator/IEnumerable (I'm also assuming it's even possible, of course). When trying to use the class in a for loop (`cu` is a Cursor instance): >>> for row in cu: .... print cu TypeError: Unable to cast object of type 'Cursor' to type 'IronPython.Runtime.Types.IPythonObject'. I've got the necessary methods on the class (__iter__() and next()) and I've marked the class with [PythonType]; is there anything else that needs to be done? - Jeff