[IronPython] IronPython 2.6 CodePlex Source Update

merllab at microsoft.com merllab at microsoft.com
Wed Oct 7 17:53:35 CEST 2009


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/59829.

ADDED SOURCES
	$/IronPython/IronPython_Main/Src/Runtime/Microsoft.Scripting/Stubs.cs

MODIFIED SOURCES
	$/IronPython/IronPython_Main/Src/Runtime/Microsoft.Dynamic/Properties/AssemblyInfo.cs
	$/IronPython/IronPython_Main/Src/Runtime/Microsoft.Dynamic/Actions/ActionBinder.cs
	$/IronPython/IronPython_Main/Src/Runtime/Microsoft.Dynamic/Microsoft.Dynamic.csproj
	$/IronPython/IronPython_Main/Src/Runtime/Microsoft.Dynamic/Utils/TypeUtils.cs
	$/IronPython/IronPython_Main/Src/Runtime/Microsoft.Dynamic/Utils/HashSet.cs
	$/IronPython/IronPython_Main/Src/IronPython/Compiler/RunnableScriptCode.cs
	$/IronPython/IronPython_Main/Src/Hosts/SilverLight/Microsoft.Scripting.Silverlight/DynamicAppManifest.cs
	$/IronPython/IronPython_Main/Src/Hosts/SilverLight/Microsoft.Scripting.Silverlight/BrowserVirtualFilesystem.cs
	$/IronPython/IronPython_Main/Src/IronPython/Modules/imp.cs
	$/IronPython/IronPython_Main/Src/Hosts/SilverLight/Microsoft.Scripting.Silverlight/Repl.cs
	$/IronPython/IronPython_Main/Src/IronPython.Modules/_ctypes/CFuncPtr.cs
	$/IronPython/IronPython_Main/Src/Hosts/SilverLight/Microsoft.Scripting.Silverlight/BrowserScriptHost.cs
	$/IronPython/IronPython_Main/Src/Hosts/SilverLight/Microsoft.Scripting.Silverlight/Microsoft.Scripting.Silverlight.csproj
	$/IronPython/IronPython_Main/Src/Hosts/SilverLight/Microsoft.Scripting.Silverlight/ErrorFormatter.cs
	$/IronPython/IronPython_Main/Src/Hosts/SilverLight/Chiron/XapBuilder.cs
	$/IronPython/IronPython_Main/Src/Hosts/SilverLight/Chiron/Chiron.csproj
	$/IronPython/IronPython_Main/Src/IronPython/Compiler/DictionaryGlobalAllocator.cs
	$/IronPython/IronPython_Main/Src/IronPython/Compiler/PythonScriptCode.cs
	$/IronPython/IronPython_Main/Src/IronPython/Compiler/RuntimeScriptCode.cs
	$/IronPython/IronPython_Main/Src/IronPython/Runtime/NewStringFormatter.cs
	$/IronPython/IronPython_Main/Src/IronPython/Runtime/Binding/PythonGetMemberBinder.cs
	$/IronPython/IronPython_Main/Src/IronPython/Compiler/OnDiskScriptCode.cs
	$/IronPython/IronPython_Main/Src/IronPython/Runtime/PythonOptions.cs
	$/IronPython/IronPython_Main/Src/IronPython.Modules/Properties/AssemblyInfo.cs
	$/IronPython/IronPython_Main/Src/IronPython.Modules/time.cs
	$/IronPython/IronPython_Main/Src/IronPython.Modules/IronPython.Modules.csproj
	$/IronPython/IronPython_Main/Src/IronPython.Modules/cPickle.cs
	$/IronPython/IronPython_Main/Src/IronPython/Compiler/Ast/AstGenerator.cs
	$/IronPython/IronPython_Main/Src/IronPython/Compiler/Parser.cs
	$/IronPython/IronPython_Main/Src/IronPython/Runtime/Types/NewTypeMaker.cs
	$/IronPython/IronPython_Main/Src/IronPython/Runtime/Types/DynamicBaseTypeAttribute.cs
	$/IronPython/IronPython_Main/Src/IronPython/Runtime/Types/BuiltinMethodDescriptor.cs
	$/IronPython/IronPython_Main/Src/IronPython/Runtime/Exceptions/TraceBack.cs
	$/IronPython/IronPython_Main/Src/IronPython/Runtime/Operations/ObjectOps.cs
	$/IronPython/IronPython_Main/Src/IronPython/Runtime/Operations/PythonOps.cs
	$/IronPython/IronPython_Main/Src/IronPython/Runtime/Operations/StringOps.cs
	$/IronPython/IronPython_Main/Src/IronPython/Runtime/Generator.cs
	$/IronPython/IronPython_Main/Src/IronPython/Runtime/PythonFile.cs
	$/IronPython/IronPython_Main/Src/IronPython/Runtime/Importer.cs
	$/IronPython/IronPython_Main/Src/IronPythonTest/IronPythonTest.csproj
	$/IronPython/IronPython_Main/Src/IronPythonTest/EngineTest.cs
	$/IronPython/IronPython_Main/Src/IronPythonTest/BindTest.cs
	$/IronPython/IronPython_Main/Src/IronPythonConsole/Console.cs
	$/IronPython/IronPython_Main/Src/IronPython/Properties/AssemblyInfo.cs
	$/IronPython/IronPython_Main/Src/IronPython/IronPython.csproj
	$/IronPython/IronPython_Main/Src/Runtime/Microsoft.Scripting/Stubs.cs
	$/IronPython/IronPython_Main/Src/Runtime/Microsoft.Scripting.Debugging/AssemblyInfo.cs
	$/IronPython/IronPython_Main/Src/Runtime/Microsoft.Scripting.Debugging/Microsoft.Scripting.Debugging.csproj
	$/IronPython/IronPython_Main/Src/Runtime/Microsoft.Scripting.Core/Microsoft.Scripting.Core.csproj
	$/IronPython/IronPython_Main/Src/Runtime/Microsoft.Scripting/Properties/AssemblyInfo.cs
	$/IronPython/IronPython_Main/Src/Runtime/Microsoft.Scripting.Core/Microsoft.Scripting.ExtensionAttribute.csproj
	$/IronPython/IronPython_Main/Src/Runtime/Microsoft.Scripting/Microsoft.Scripting.csproj
	$/IronPython/IronPython_Main/Src/Runtime/Microsoft.Scripting/PlatformAdaptationLayer.cs
	$/IronPython/IronPython_Main/Src/Tests/ClrAssembly/ClrAssembly.csproj
	$/IronPython/IronPython_Main/Src/Tests/test_methoddispatch.py
	$/IronPython/IronPython_Main/Src/Tests/test_imp.py
	$/IronPython/IronPython_Main/Src/Tests/test_cPickle.py
	$/IronPython/IronPython_Main/Src/Tests/test_strformat.py
	$/IronPython/IronPython_Main/Src/Tests/test_syntax.py

CHECKIN COMMENTS
--------------------------------------------------------------------------------
Changeset Id: 1191584
Date: 10/6/2009 10:46:11 PM

(dinov) 24784 ScriptCodeParseResult incorrect
            Interactive code shouldn’t always be parsed as don’t imply dedent.  There’s one spot where we no longer match CPython but that seems to match Guido’s statement that there’s a bug in CPython when compiling from strings.
24642 import random module
            Profiling isn’t working very well with the new shared global allocator.  Profiling needs to delay re-writing the tree until after it’s fully constructed.  I’ve added a new DelayedProfiling reducible node to handle this
24743 imp.load_module returns incorrect module if previously-loaded
            Load_module needs to use the provided PythonFile for reading the new module
24762 Ngenning a compiled subclass dll has trouble if EnvironmentError or BaseException are subclassed
            Avoid overloading IDynamicMetaObjectProvider if it’s implementation isn’t public.  Instead just add an entirely new method (unless it’s one of our IDynamicMetaObjectProviders which is known to do the right thing – then just do nothing).
24802 Should I convert each float value into System.Single before passing it .Net?
            Have the default binder supply the full range of narrowing levels that we also use for method binding

Also fixing Resolver’s memory leak by switching to a normal thread static.  
And also adding Microsoft.Dynamic to the list of assembly mappings so we’ll automatically translate it to its fully qualified name in Silverlight




(Shelveset: MoreRc2BugFixesFinal2;REDMOND\dinov | SNAP CheckinId: 9565)
--------------------------------------------------------------------------------
Changeset Id: 1191437
Date: 10/6/2009 7:26:24 PM

(dinov) DLR outer layer and IronPython

24784 ScriptCodeParseResult incorrect
            Interactive code shouldn’t always be parsed as don’t imply dedent.  There’s one spot where we no longer match CPython but that seems to match Guido’s statement that there’s a bug in CPython when compiling from strings.
24642 import random module
            Profiling isn’t working very well with the new shared global allocator.  Profiling needs to delay re-writing the tree until after it’s fully constructed.  I’ve added a new DelayedProfiling reducible node to handle this
24743 imp.load_module returns incorrect module if previously-loaded
            Load_module needs to use the provided PythonFile for reading the new module
24762 Ngenning a compiled subclass dll has trouble if EnvironmentError or BaseException are subclassed
            Avoid overloading IDynamicMetaObjectProvider if it’s implementation isn’t public.  Instead just add an entirely new method (unless it’s one of our IDynamicMetaObjectProviders which is known to do the right thing – then just do nothing).
24802 Should I convert each float value into System.Single before passing it .Net?
            Have the default binder supply the full range of narrowing levels that we also use for method binding

Also fixing Resolver’s memory leak by switching to a normal thread static.  
And also adding Microsoft.Dynamic to the list of assembly mappings so we’ll automatically translate it to its fully qualified name in Silverlight




(Shelveset: StringFormatting;REDMOND\dinov | SNAP CheckinId: m10375)
--------------------------------------------------------------------------------
Changeset Id: 1191433
Date: 10/6/2009 7:23:51 PM

(dinov) Fix a couple of issues with pickle:
	Error message is wrong when we can’t pickle (we should use our own ToString, not .NETs)
	Reducing mixed new-style old-style classes who include a meta-class blows up because we get the meta classes dictionary.  Try and get an IPythonObject’s dictionary first instead in __reduce_ex__ implementations.
	
Fix a couple of issues reported by Harry:
	Missing span on module function code objects, we now flow the span from the PythonAst’s body to the ScriptCode
	Make things strongly typed where they can be

Fix a regression reported by VSL:
	We no longer include the current working directory in the search paths for a Python script engine created via the hosting APIs.  The command line now explicitly passes no paths, and we default to including “.”





(Shelveset: rc2tweaksfinal;REDMOND\dinov | SNAP CheckinId: m10375)



More information about the Ironpython-users mailing list