Giter Club home page Giter Club logo

main's Introduction

main's People

Contributors

alxandr avatar casualjim avatar dinov avatar fdanny avatar hotgazpacho avatar jdhardy avatar jirapong avatar jredville avatar jschementi avatar kradcliffe avatar kunom avatar merllab avatar mletterle avatar moto-timo avatar mvanderkolff avatar nrk avatar panesofglass avatar paweljasinski avatar peterschwalm avatar rassilon avatar rchandrashekara avatar rjnienaber avatar ryan-dawson avatar simplicbe avatar slide avatar slozier avatar statianzo avatar talsaiag avatar tmat avatar zacbrown avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

main's Issues

IronPython: Unknown warning codes break the build for Mono

Certain .NET warning codes, namely 444 and 0429, do not exist in the Mono 3.2.1 framework, breaking the build process for IronPython. It would be great to remove the warnings for (at least) Mono-driven builds.

The host platform for the build with those issues is FreeBSD (all currently maintained versions) with Mono 3.2.1. Other platforms using Mono are most likely affected by the problem, too.

Patches can be found at
http://svnweb.freebsd.org/ports/head/lang/ironpython/files/patch-Languages-IronPython-IronPython-IronPython.csproj?revision=322866
and
http://svnweb.freebsd.org/ports/head/lang/ironpython/files/patch-Solutions-Common.proj?revision=322866

Mono and Iron python on Ubuntu 12.10: compile warnings and import error

I can not get Iron python running on Ubuntu 12.10 with Mono.

First I installed the packages

  • mono-complete
  • mono-devel
    on a newly set-up Ubuntu (standard install, no additional packages, all updates)

Then I followed the instructions on
https://github.com/IronLanguages/main/wiki/Building#wiki-wiki_building-mono
The compilation completes, though I get a lot of warnings.

When I start the created file ipy, I get an import error:
ImportError: No module named osFile “” does not exist.

####terminal output on calling ipy:
test@test-VirtualBox:~/IronLanguages$ ./ipy
Traceback (most recent call last):
  File "/home/test/IronLanguages/bin/Release/Lib/site.py", line 62, in <module>
ImportError: No module named os
File “” does not exist.
test@test-VirtualBox:~/IronLanguages$ 
####terminal output on compiling iron python (last run)
XBuild Engine Version 2.10.8.1
Mono, Version 2.10.8.1
Copyright (C) Marek Sieradzki 2005-2008, Novell 2008-2011.

Build started 11/6/2012 8:55:42 PM.
__________________________________________________
Project "/home/test/IronLanguages/Solutions/IronPython.sln" (default target(s)):
    Target ValidateSolutionConfiguration:
        Building solution configuration "Release|Any CPU".
    Target Build:
        Project "/home/test/IronLanguages/Runtime/Microsoft.Scripting/Microsoft.Scripting.csproj" (default target(s)):
            Target PrepareForBuild:
                Configuration: Release Platform: AnyCPU
            Target GenerateSatelliteAssemblies:
            No input files were specified for target GenerateSatelliteAssemblies, skipping.
            Target CoreCompile:
            Skipping target "CoreCompile" because its outputs are up-to-date.
        Done building project "/home/test/IronLanguages/Runtime/Microsoft.Scripting/Microsoft.Scripting.csproj".
        Project "/home/test/IronLanguages/Runtime/Microsoft.Scripting.Metadata/Microsoft.Scripting.Metadata.csproj" (default target(s)):
            Target PrepareForBuild:
                Configuration: Release Platform: AnyCPU
            Target GenerateSatelliteAssemblies:
            No input files were specified for target GenerateSatelliteAssemblies, skipping.
            Target CoreCompile:
            Skipping target "CoreCompile" because its outputs are up-to-date.
        Done building project "/home/test/IronLanguages/Runtime/Microsoft.Scripting.Metadata/Microsoft.Scripting.Metadata.csproj".
        The project 'Microsoft.Scripting.Core' is disabled for solution configuration 'Release|Any CPU'.
        Project "/home/test/IronLanguages/Runtime/Microsoft.Dynamic/Microsoft.Dynamic.csproj" (default target(s)):
            Target PrepareForBuild:
                Configuration: Release Platform: AnyCPU
            Target GenerateSatelliteAssemblies:
            No input files were specified for target GenerateSatelliteAssemblies, skipping.
            Target CoreCompile:
            Skipping target "CoreCompile" because its outputs are up-to-date.
        Done building project "/home/test/IronLanguages/Runtime/Microsoft.Dynamic/Microsoft.Dynamic.csproj".
        Project "/home/test/IronLanguages/Languages/IronPython/IronPython/IronPython.csproj" (default target(s)):
            Target Bootstrap:
            Skipping target "Bootstrap" because its outputs are up-to-date.
            Target PrepareForBuild:
                Configuration: Release Platform: AnyCPU
            Target GenerateSatelliteAssemblies:
            No input files were specified for target GenerateSatelliteAssemblies, skipping.
            Target CoreCompile:
                Tool /usr/bin/dmcs execution started with arguments: /noconfig /debug:full /debug- /keyfile:/home/test/IronLanguages/Solutions//Key.snk /optimize+ /out:obj/Release/IronPython.dll /resource:obj/Release/IronPython.Resources.resources /resource:obj/Release/IronPython.Modules.unicodedata.IPyUnicodeData.txt.gz Compiler/Ast/AndExpression.cs Compiler/Ast/Arg.cs Compiler/Ast/DynamicConvertExpression.cs Compiler/Ast/DynamicGetMemberExpression.cs Compiler/Ast/GetGlobalContextExpression.cs Compiler/Ast/GetParentContextFromFunctionExpression.cs Compiler/Ast/PythonConstantExpression.cs Compiler/Ast/SerializedScopeStatement.cs Compiler/Ast/SetExpression.cs Compiler/CollectableCompilationMode.cs Compiler/Ast/AssertStatement.cs Compiler/Ast/AssignmentStatement.cs Compiler/Ast/AstMethods.cs Compiler/Ast/BinaryExpression.Generated.cs Compiler/Ast/ILoopStatement.cs Compiler/PythonDynamicExpression.cs Compiler/UncollectableCompilationMode.Generated.cs Compiler/RunnableScriptCode.cs Modules/unicodedata.cs Modules/_ast.cs Properties/BuildInfo.Generated.cs Properties/CurrentVersion.Generated.cs Runtime/Binding/IPythonExpandable.cs Runtime/Binding/PythonExtensionBinder.cs Runtime/BuiltinPythonModule.cs Runtime/ConstantDictionaryStorage.cs Runtime/DictionaryTypeInfoAttribute.cs Modules/imp.cs Runtime/DebuggerDictionaryStorage.cs Runtime/Binding/IComConvertible.cs Runtime/CodeContext.cs Runtime/CollectionDebugView.cs Runtime/DontMapIEnumerableToIterAttribute.cs Compiler/UncollectableCompilationMode.cs Runtime/Binding/ContextArgBuilder.cs Runtime/Binding/IFastSettable.cs Runtime/Binding/PythonBinder.Create.cs Runtime/Binding/PythonOverloadResolver.cs Runtime/Binding/SiteLocalStorageBuilder.cs Compiler/ClosureExpression.cs Compiler/ClosureInfo.cs Compiler/GeneratorRewriter.cs Compiler/LazyCode.cs Runtime/DontMapGetMemberNamesToDirAttribute.cs Runtime/DontMapICollectionToLenAttribute.cs Runtime/DontMapIDisposableToContextManagerAttribute.cs Runtime/DontMapIEnumerableToContainsAttribute.cs Runtime/EmptyDictionaryStorage.cs Runtime/Exceptions/ApplicationException.cs Runtime/Exceptions/AttributeErrorException.cs Runtime/Exceptions/BufferException.Generated.cs Runtime/Exceptions/PythonException.cs Runtime/Exceptions/SystemException.cs Runtime/Exceptions/TypeErrorException.cs Runtime/Exceptions/ValueErrorException.cs Runtime/Exceptions/Win32Exception.cs Runtime/ExtensionMethodSet.cs Runtime/FutureBuiltins.cs Runtime/Binding/IPythonConvertible.cs Runtime/IBufferProtocol.cs Runtime/Implementation.cs Runtime/InstancedModuleDictionaryStorage.cs Runtime/MemoryView.cs Runtime/Method.Generated.cs Runtime/Operations/MarshalOps.cs Runtime/PythonDocumentationProvider.cs Runtime/PythonHiddenBaseClassAttribute.cs Runtime/SequenceTypeInfoAttribute.cs Runtime/ModuleContext.cs Runtime/ModuleGlobalCache.cs Runtime/ModuleOptions.cs Runtime/ObjectDebugView.cs Runtime/Profiler.cs Compiler/CompilationMode.cs Compiler/Ast/AugmentedAssignStatement.cs Compiler/Ast/BackQuoteExpression.cs Compiler/Ast/BinaryExpression.cs Compiler/Ast/BreakStatement.cs Compiler/Ast/CallExpression.cs Compiler/Ast/ClassDefinition.cs Compiler/Ast/ConditionalExpression.cs Compiler/Ast/ConstantExpression.cs Compiler/Ast/ContinueStatement.cs Compiler/Ast/DelStatement.cs Compiler/Ast/DictionaryExpression.cs Compiler/Ast/DottedName.cs Compiler/Ast/EmptyStatement.cs Compiler/Ast/ErrorExpression.cs Compiler/Ast/ExecStatement.cs Compiler/Ast/Expression.cs Compiler/Ast/ExpressionStatement.cs Compiler/Ast/FlowChecker.cs Compiler/Ast/ForStatement.cs Compiler/Ast/FromImportStatement.cs Compiler/Ast/FunctionDefinition.cs Compiler/Ast/GeneratorExpression.cs Compiler/Ast/GlobalStatement.cs Compiler/Ast/IfStatement.cs Compiler/Ast/IfStatementTest.cs Compiler/Ast/ImportStatement.cs Compiler/Ast/IndexExpression.cs Compiler/Ast/LambdaExpression.cs Compiler/Ast/Comprehension.cs Compiler/Ast/ComprehensionFor.cs Compiler/Ast/ComprehensionIf.cs Compiler/Ast/ListExpression.cs Compiler/LookupCompilationMode.cs Compiler/Ast/MemberExpression.cs Compiler/Ast/ModuleName.cs Compiler/Ast/NameExpression.cs Compiler/Ast/Node.cs Compiler/ReducableDynamicExpression.cs Compiler/PythonSavableScriptCode.cs Compiler/Ast/OrExpression.cs Compiler/Ast/Parameter.cs Compiler/Ast/ParenthesisExpression.cs Compiler/Ast/PrintStatement.cs Compiler/Ast/PythonAst.cs Compiler/Ast/PythonNameBinder.cs Compiler/Ast/PythonOperator.cs Compiler/Ast/PythonReference.cs Compiler/Ast/RaiseStatement.cs Compiler/Ast/RelativeModuleName.cs Compiler/Ast/ReturnStatement.cs Compiler/Ast/ScopeStatement.cs Compiler/Ast/SequenceExpression.cs Compiler/Ast/SliceExpression.cs Compiler/Ast/Statement.cs Compiler/Ast/SuiteStatement.cs Compiler/Ast/TryStatement.cs Compiler/Ast/TupleExpression.cs Compiler/Ast/UnaryExpression.cs Compiler/Ast/PythonVariable.cs Compiler/Ast/PythonWalker.Generated.cs Compiler/Ast/VariableKind.cs Compiler/Ast/WhileStatement.cs Compiler/Ast/WithStatement.cs Compiler/Ast/YieldExpression.cs Compiler/OnDiskScriptCode.cs Runtime/Binding/FastBindResult.cs Runtime/Binding/FastGetBase.cs Runtime/Binding/FastSetBase.cs Runtime/Binding/IFastGettable.cs Runtime/Binding/IFastInvokable.cs Runtime/Binding/BinaryRetTypeBinder.cs Runtime/Binding/BinaryRetTypeBinder.Generated.cs Runtime/BuiltinsDictionaryStorage.cs Runtime/CustomDictionaryStorage.cs Runtime/GlobalDictionaryStorage.cs Compiler/ToDiskCompilationMode.cs Compiler/PythonGlobal.cs Compiler/PythonGlobalVariableExpression.cs Compiler/PythonScriptCode.cs Compiler/RuntimeScriptCode.cs Hosting/PythonService.cs MaybeNotImplementedAttribute.cs Runtime/BindingWarnings.cs Runtime/Binding/Binders.cs Runtime/Binding/CompatibilityInvokeBinder.cs Runtime/Binding/CreateFallbackBinder.cs Runtime/Binding/IPythonOperable.cs Runtime/Binding/PythonBinaryOperationBinder.cs Runtime/Binding/PythonDeleteIndexBinder.cs Runtime/Binding/PythonDeleteSliceBinder.cs Runtime/Binding/PythonGetIndexBinder.cs Runtime/Binding/PythonGetMemberBinder.cs Runtime/Binding/PythonDeleteMemberBinder.cs Runtime/Binding/IPythonInvokable.cs Runtime/Binding/IPythonGetable.cs Runtime/Binding/IPythonSite.cs Runtime/Binding/PythonGetSliceBinder.cs Runtime/Binding/PythonIndexType.cs Runtime/Binding/PythonProtocol.cs Runtime/Binding/PythonProtocol.Operations.cs Runtime/Binding/PythonSetIndexBinder.cs Runtime/Binding/PythonSetMemberBinder.cs Runtime/Binding/BindingHelpers.cs Runtime/Binding/ConditionalBuilder.cs Runtime/Binding/MetaUserObject.cs Runtime/Binding/MetaUserObject.Members.cs Runtime/Binding/PythonSetSliceBinder.cs Runtime/Binding/PythonOperationKind.cs Runtime/Binding/PythonUnaryOperationBinder.cs Runtime/Binding/SlotOrFunction.cs Runtime/ByteArray.cs Runtime/Bytes.cs Runtime/ClassMethodAttribute.cs Runtime/ClrModule.cs Runtime/Exceptions/BytesWarningException.cs Runtime/Index.cs Runtime/NewStringFormatter.cs Runtime/Operations/ByteOps.cs Runtime/Operations/IListOfByteOps.cs Runtime/BytesConversionAttribute.cs Runtime/Python3Warning.cs Runtime/PythonContext.Generated.cs Runtime/PythonDynamicStackFrame.cs Runtime/PythonFunction.Generated.cs Runtime/PythonOptions.cs Runtime/CompiledLoader.cs Runtime/NoLineFeedSourceContentProvider.cs Runtime/ModuleLoader.cs Runtime/PythonTracebackListener.cs Runtime/Reversed.cs Runtime/PythonHiddenAttribute.cs Runtime/PythonModuleAttribute.cs Runtime/PythonTypeAttribute.cs Runtime/RuntimeVariablesDictionaryStorage.cs Runtime/SetStorage.cs Runtime/SiteLocalStorage.cs Runtime/StringFormatSpec.cs Runtime/SysModuleDictionaryStorage.cs Runtime/Types/CachedNewTypeInfo.cs Runtime/Types/DynamicBaseTypeAttribute.cs Runtime/Types/InstanceCreator.cs Runtime/Types/NameConverter.cs Runtime/Types/NewTypeInfo.cs Runtime/Types/NewTypeMaker.cs Hosting/PythonCodeDomCodeGen.cs Compiler/PythonCompilerOptions.cs Compiler/Parser.cs Compiler/Token.cs Compiler/Tokenizer.cs Compiler/Tokenizer.Generated.cs Compiler/TokenKind.Generated.cs GlobalSuppressions.cs Hosting/PythonCommandLine.cs Hosting/PythonConsoleOptions.cs Hosting/PythonOptionsParser.cs Properties/AssemblyInfo.cs Properties/Visibility.cs Hosting/Python.cs Resources.Designer.cs Runtime/Binding/PythonInvokeBinder.cs Runtime/Binding/ConversionBinder.cs Compiler/PythonCallTargets.cs Runtime/CommonDictionaryStorage.cs Runtime/DictionaryStorage.cs Runtime/ErrorCodes.cs Runtime/Exceptions/AssertionException.Generated.cs Runtime/Exceptions/DeprecationWarningException.Generated.cs Runtime/Exceptions/EnvironmentException.Generated.cs Runtime/Exceptions/FloatingPointException.Generated.cs Runtime/Exceptions/FutureWarningException.Generated.cs Runtime/Exceptions/GeneratorExitException.cs Runtime/Exceptions/ImportException.Generated.cs Runtime/Exceptions/ImportWarningException.Generated.cs Runtime/Exceptions/IndentationException.cs Runtime/Exceptions/IPythonException.cs Runtime/Exceptions/LookupException.Generated.cs Runtime/Exceptions/ObjectException.cs Runtime/Exceptions/OldInstanceException.cs Runtime/Exceptions/OSException.Generated.cs Runtime/Exceptions/PendingDeprecationWarningException.Generated.cs Runtime/Exceptions/PythonExceptions.cs Runtime/Exceptions/PythonExceptions.Generated.cs Runtime/Exceptions/ReferenceException.Generated.cs Runtime/Exceptions/RuntimeException.Generated.cs Runtime/Exceptions/RuntimeWarningException.Generated.cs Runtime/Exceptions/StopIterationException.Generated.cs Runtime/Exceptions/SyntaxWarningException.Generated.cs Runtime/Exceptions/SystemExitException.cs Runtime/Exceptions/TabException.cs Runtime/Exceptions/UnicodeException.Generated.cs Runtime/Exceptions/UnicodeTranslateException.Generated.cs Runtime/Exceptions/UnicodeWarningException.Generated.cs Runtime/Exceptions/UserWarningException.Generated.cs Runtime/Exceptions/WarningException.Generated.cs Runtime/IParameterSequence.cs Runtime/KwCallInfo.cs Runtime/Binding/MetaBuiltinFunction.cs Runtime/Binding/MetaBuiltinMethodDescriptor.cs Runtime/Binding/MetaMethod.cs Runtime/Binding/MetaOldClass.cs Runtime/Binding/MetaOldInstance.cs Runtime/Binding/MetaPythonFunction.cs Runtime/Binding/MetaPythonType.Calls.cs Runtime/Binding/MetaPythonObject.cs Runtime/Binding/MetaPythonType.cs Runtime/Binding/MetaPythonType.Members.cs Runtime/Binding/PythonOperationBinder.cs Runtime/MissingParameter.cs Runtime/ModuleDictionaryStorage.cs Runtime/Operations/DBNullOps.cs Runtime/Operations/DictionaryOfTOps.cs Runtime/Operations/ListOfTOps.cs Runtime/StringDictionaryStorage.cs Runtime/NameType.cs Runtime/Operations/ComOps.cs Runtime/Operations/PythonTypeOps.cs Runtime/PythonAsciiEncoding.cs Modules/Builtin.cs Modules/Builtin.Generated.cs Runtime/ClassMethodDescriptor.cs Runtime/CompileFlags.cs Runtime/DefaultContext.cs Runtime/Descriptors.cs Runtime/PythonFunction.cs Runtime/FunctionAttributes.cs Runtime/FunctionCode.cs Runtime/Method.cs Runtime/Binding/PythonBinder.cs Runtime/CompareUtil.cs Runtime/ConversionWrappers.cs Runtime/Converter.cs Runtime/PythonDictionary.cs Runtime/DictionaryOps.cs Runtime/Types/DocBuilder.cs Runtime/Enumerate.cs Runtime/Exceptions/TraceBack.cs Runtime/Generator.cs Runtime/Importer.cs Runtime/Interfaces.cs Runtime/List.cs Runtime/LiteralParser.cs Runtime/ObjectAttributesAdapter.cs Runtime/Operations/ArrayOps.cs Runtime/Operations/BoolOps.cs Runtime/Types/BuiltinFunctionOverloadMapper.cs Runtime/Operations/CharOps.cs Runtime/Operations/ComplexOps.cs Runtime/Operations/CustomTypeDescHelpers.cs Runtime/Operations/DecimalOps.cs Runtime/Operations/EnumOps.cs Runtime/Operations/FloatOps.cs Runtime/Operations/InstanceOps.cs Runtime/Operations/IntOps.cs Runtime/Operations/IntOps.Generated.cs Runtime/Operations/LongOps.cs Runtime/Operations/ObjectOps.cs Runtime/Operations/PythonOps.cs Runtime/Operations/PythonOps.Generated.cs Runtime/Operations/PythonCalls.cs Runtime/Operations/NamespaceTrackerOps.cs Runtime/Operations/StringOps.cs Runtime/Operations/TypeTrackerOps.cs Runtime/Operations/TypeGroupOps.cs Runtime/Operations/UserTypeOps.cs Runtime/OutputWriter.cs Runtime/PythonBuffer.cs Runtime/PythonContext.cs Runtime/PythonFile.cs Runtime/PythonScopeExtension.cs Runtime/PythonNarrowing.cs Runtime/ScopeDictionaryStorage.cs Runtime/Set.cs Runtime/Slice.cs Runtime/StringFormatter.cs Runtime/Super.cs Runtime/Symbols.Generated.cs Runtime/PythonTuple.cs Modules/sys.cs Runtime/ThrowingErrorSink.cs Runtime/Types/CustomAttributeTracker.cs Runtime/Types/CustomInstanceDictionaryStorage.cs Runtime/Operations/DelegateOps.cs Runtime/Types/DictProxy.cs Runtime/Types/FunctionType.cs Runtime/Types/OperatorMapping.cs Runtime/Types/ParameterInfoWrapper.cs Runtime/Types/PythonSiteCache.cs Runtime/Types/PythonType.Generated.cs Runtime/Types/PythonTypeDataSlot.cs Runtime/Types/ResolvedMember.cs Runtime/Types/SlotFieldAttribute.cs Runtime/Types/PythonTypeDictSlot.cs Runtime/Types/PythonTypeTypeSlot.cs Runtime/Types/PythonTypeUserDescriptorSlot.cs Runtime/Types/PythonTypeWeakRefSlot.cs Runtime/Types/EmptyType.cs Runtime/Types/Mro.cs Runtime/Types/OldClass.cs Runtime/Types/OldInstance.cs Runtime/Types/OldInstance.Generated.cs Runtime/Types/PythonAssemblyOps.cs Runtime/PythonModule.cs Runtime/Types/ReflectedSlotProperty.cs Runtime/Types/StaticUnderlyingSystemType.cs Runtime/Types/TypeCache.Generated.cs Runtime/Types/PythonTypeInfo.cs Runtime/Types/PythonTypeInfo.Generated.cs Runtime/Types/BuiltinFunction.cs Runtime/Types/BuiltinMethodDescriptor.cs Runtime/Types/ConstructorFunction.cs Runtime/Types/ReflectedEvent.cs Runtime/Types/ReflectedExtensionProperty.cs Runtime/Types/ReflectedField.cs Runtime/Types/ReflectedGetterSetter.cs Runtime/Types/ReflectedIndexer.cs Runtime/Types/ReflectedProperty.cs Runtime/Types/PythonType.cs Runtime/Types/ExtensionPropertyInfo.cs Runtime/Types/IPythonObject.cs Runtime/Types/PythonTypeSlot.cs Runtime/Types/DynamicHelpers.cs Runtime/UnboundNameException.cs Runtime/WarningInfo.cs Runtime/WeakRef.cs Runtime/Win32Native.cs Runtime/WrapperDescriptorAttribute.cs Runtime/WrapperDictionary.cs Runtime/XamlObjectWriterSettings.cs Runtime/XRange.cs ../AssemblyVersion.cs /target:library /warnaserror+ /checked- /define:"FEATURE_CUSTOM_MODIFIERS;FEATURE_NATIVE;FEATURE_XMLDOC;FEATURE_EXCEPTION_STATE;FEATURE_DEFAULT_PARAMETER_VALUE;FEATURE_FUNCS_5_16;FEATURE_VARIANCE;FEATURE_CORE_DLR;FEATURE_TASKS;FEATURE_CRYPTOGRAPHY;FEATURE_SYNC_SOCKETS;FEATURE_ASSEMBLY_RESOLVE;FEATURE_CUSTOM_TYPE_DESCRIPTOR;FEATURE_ENCODING;FEATURE_DBNULL;FEATURE_FILESYSTEM;FEATURE_THREAD;FEATURE_PROCESS;FEATURE_STACK_TRACE;FEATURE_TYPE_EQUIVALENCE;FEATURE_NUMERICS;FEATURE_TYPECONVERTER;FEATURE_PDBEMIT;FEATURE_METADATA_READER;FEATURE_COM;FEATURE_WPF;FEATURE_FULL_CONSOLE;FEATURE_BASIC_CONSOLE;FEATURE_SERIALIZATION;FEATURE_REMOTING;FEATURE_CONFIGURATION;FEATURE_REFEMIT;FEATURE_LCG;FEATURE_CODEDOM;FEATURE_VALUE_EQUALITY;FEATURE_COMPRESSION;FEATURE_WARNING_EXCEPTION;FEATURE_SECURITY_RULES;FEATURE_APTCA;FEATURE_WIN32EXCEPTION;FEATURE_REGISTRY;FEATURE_ASSEMBLY_LOCATION;FEATURE_ENUM_NAMES_VALUES;FEATURE_OS_SERVICEPACK;FEATURE_APPLICATIONEXCEPTION;FEATURE_STOPWATCH;FEATURE_APARTMENTSTATE;FEATURE_GETINVALIDFILENAMECHARS;FEATURE_LOADWITHPARTIALNAME;FEATURE_DRIVENOTFOUNDEXCEPTION;FEATURE_ASSEMBLY_CODEBASE;FEATURE_MMAP;FEATURE_FULL_NET;FEATURE_FULL_CRYPTO;FEATURE_ICLONEABLE;FEATURE_ANSICP;FEATURE_TIMEZONE;CLR4;TRACE" /nowarn:"1591;1584;1574;444;1685;1573" /doc:/home/test/IronLanguages/Solutions/../bin/Release/IronPython.xml /platform:AnyCPU /reference:/usr/lib/mono/4.0/System.dll /reference:/usr/lib/mono/4.0/System.Core.dll /reference:/usr/lib/mono/4.0/System.Xml.dll /reference:/usr/lib/mono/4.0/System.Numerics.dll /reference:/usr/lib/mono/4.0/Microsoft.CSharp.dll /reference:/usr/lib/mono/4.0/System.Configuration.dll /reference:/usr/lib/mono/4.0/System.Runtime.Remoting.dll /reference:/usr/lib/mono/4.0/System.Xaml.dll /reference:/home/test/IronLanguages/bin/Release//Microsoft.Scripting.dll /reference:/home/test/IronLanguages/bin/Release//Microsoft.Dynamic.dll /reference:/usr/lib/mono/4.0/mscorlib.dll /reference:/home/test/IronLanguages/bin/Release/Microsoft.Scripting.Metadata.dll /warn:4 /warnaserror-:"618;429;219;1717;162;414"
Runtime/PythonContext.cs(1967,63): warning CS0429: Unreachable expression code detected
            Target _CopyDeployFilesToOutputDirectoryPreserveNewest:
            Skipping target "_CopyDeployFilesToOutputDirectoryPreserveNewest" because its outputs are up-to-date.
            Target DeployOutputFiles:
                Copying file from '/home/test/IronLanguages/Languages/IronPython/IronPython/obj/Release/IronPython.dll' to '/home/test/IronLanguages/bin/Release/IronPython.dll'
        Done building project "/home/test/IronLanguages/Languages/IronPython/IronPython/IronPython.csproj".
        Project "/home/test/IronLanguages/Hosts/MerlinWeb/Microsoft.Scripting.AspNet/Microsoft.Scripting.AspNet.csproj" (default target(s)):
            Target PrepareForBuild:
                Configuration: Release Platform: AnyCPU
            Target GenerateSatelliteAssemblies:
            No input files were specified for target GenerateSatelliteAssemblies, skipping.
            Target CoreCompile:
            Skipping target "CoreCompile" because its outputs are up-to-date.
            Target _CopyAppConfigFile:
            Skipping target "_CopyAppConfigFile" because its outputs are up-to-date.
        Done building project "/home/test/IronLanguages/Hosts/MerlinWeb/Microsoft.Scripting.AspNet/Microsoft.Scripting.AspNet.csproj".
        The project 'Microsoft.Scripting.Silverlight' is disabled for solution configuration 'Release|Any CPU'.
        Project "/home/test/IronLanguages/Languages/IronPython/IronPython.Modules/IronPython.Modules.csproj" (default target(s)):
            Target Bootstrap:
            Skipping target "Bootstrap" because its outputs are up-to-date.
            Target PrepareForBuild:
                Configuration: Release Platform: AnyCPU
            Target GenerateSatelliteAssemblies:
            No input files were specified for target GenerateSatelliteAssemblies, skipping.
            Target CoreCompile:
                Tool /usr/bin/dmcs execution started with arguments: /noconfig /debug:full /debug- /keyfile:/home/test/IronLanguages/Solutions//Key.snk /optimize+ /out:obj/Release/IronPython.Modules.dll array.cs binascii.cs bz2/BZ2Compressor.cs bz2/BZ2Decompressor.cs bz2/BZ2File.cs bz2/BZ2Module.cs bz2/dotnetzip/BZip2/BitWriter.cs bz2/dotnetzip/BZip2/BZip2Compressor.cs bz2/dotnetzip/BZip2/BZip2InputStream.cs bz2/dotnetzip/BZip2/BZip2OutputStream.cs bz2/dotnetzip/BZip2/CRC32.cs bz2/dotnetzip/BZip2/ParallelBZip2OutputStream.cs bz2/dotnetzip/BZip2/Rand.cs cmath.cs msvcrt.cs GlobalSuppressions.cs mmap.cs NtSignalState.cs SimpleSignalState.cs ResourceMetaPathImporter.cs signal.cs winsound.cs zipimport.cs zlib/Compress.cs zlib/Decompress.cs zlib/ZlibModule.cs _bisect.cs _codecs.cs ModuleOps.cs _bytesio.cs _codecs_cn.cs _collections.cs copy_reg.cs cPickle.cs cStringIO.cs datetime.cs errno.cs gc.cs IterTools.cs _csv.cs _io.cs _locale.cs marshal.cs math.cs math.Generated.cs _fileio.cs _md5.cs nt.cs operator.cs Properties/AssemblyInfo.cs re.cs select.cs _multibytecodec.cs _sha.cs _sha256.cs _sha512.cs socket.cs _ctypes/LocalOrArg.cs _ctypes/MarshalCleanup.cs _ctypes/MemoryHolder.cs _ctypes/NativeFunctions.cs _ctypes/SimpleTypeKind.cs _ctypes/_ctypes.cs _ctypes/Array.cs _ctypes/ArrayType.cs _ctypes/CData.cs _ctypes/CFuncPtr.cs _ctypes/CFuncPtrType.cs _ctypes/Extensions.cs _ctypes/Field.cs _ctypes/INativeType.cs _ctypes/NativeArgument.cs _ctypes/Pointer.cs _ctypes/PointerType.cs _ctypes/SimpleCData.cs _ctypes/SimpleType.cs _ctypes/StructType.cs _ctypes/Structure.cs _ctypes/Union.cs _ctypes/UnionType.cs _ctypes_test.cs _heapq.cs _struct.cs thread.cs time.cs xxsubtype.cs _functools.cs _random.cs _sre.cs _ssl.cs _subprocess.cs _warnings.cs _weakref.cs ../AssemblyVersion.cs _winreg.cs _weakref.Generated.cs /target:library /warnaserror+ /checked- /define:"FEATURE_CUSTOM_MODIFIERS;FEATURE_NATIVE;FEATURE_XMLDOC;FEATURE_EXCEPTION_STATE;FEATURE_DEFAULT_PARAMETER_VALUE;FEATURE_FUNCS_5_16;FEATURE_VARIANCE;FEATURE_CORE_DLR;FEATURE_TASKS;FEATURE_CRYPTOGRAPHY;FEATURE_SYNC_SOCKETS;FEATURE_ASSEMBLY_RESOLVE;FEATURE_CUSTOM_TYPE_DESCRIPTOR;FEATURE_ENCODING;FEATURE_DBNULL;FEATURE_FILESYSTEM;FEATURE_THREAD;FEATURE_PROCESS;FEATURE_STACK_TRACE;FEATURE_TYPE_EQUIVALENCE;FEATURE_NUMERICS;FEATURE_TYPECONVERTER;FEATURE_PDBEMIT;FEATURE_METADATA_READER;FEATURE_COM;FEATURE_WPF;FEATURE_FULL_CONSOLE;FEATURE_BASIC_CONSOLE;FEATURE_SERIALIZATION;FEATURE_REMOTING;FEATURE_CONFIGURATION;FEATURE_REFEMIT;FEATURE_LCG;FEATURE_CODEDOM;FEATURE_VALUE_EQUALITY;FEATURE_COMPRESSION;FEATURE_WARNING_EXCEPTION;FEATURE_SECURITY_RULES;FEATURE_APTCA;FEATURE_WIN32EXCEPTION;FEATURE_REGISTRY;FEATURE_ASSEMBLY_LOCATION;FEATURE_ENUM_NAMES_VALUES;FEATURE_OS_SERVICEPACK;FEATURE_APPLICATIONEXCEPTION;FEATURE_STOPWATCH;FEATURE_APARTMENTSTATE;FEATURE_GETINVALIDFILENAMECHARS;FEATURE_LOADWITHPARTIALNAME;FEATURE_DRIVENOTFOUNDEXCEPTION;FEATURE_ASSEMBLY_CODEBASE;FEATURE_MMAP;FEATURE_FULL_NET;FEATURE_FULL_CRYPTO;FEATURE_ICLONEABLE;FEATURE_ANSICP;FEATURE_TIMEZONE;CLR4;TRACE" /nowarn:"1591;1584;1574;444;1685;1573" /doc:/home/test/IronLanguages/Solutions/../bin/Release/IronPython.Modules.xml /platform:AnyCPU /reference:/usr/lib/mono/4.0/System.dll /reference:/usr/lib/mono/4.0/System.Core.dll /reference:/usr/lib/mono/4.0/System.Xml.dll /reference:/usr/lib/mono/4.0/System.Numerics.dll /reference:/usr/lib/mono/4.0/Microsoft.CSharp.dll /reference:/home/test/IronLanguages/bin/Release//Microsoft.Scripting.dll /reference:/home/test/IronLanguages/bin/Release//Microsoft.Dynamic.dll /reference:/home/test/IronLanguages/bin/Release//IronPython.dll /reference:/usr/lib/mono/4.0/mscorlib.dll /reference:/usr/lib/mono/4.0/System.Configuration.dll /reference:/usr/lib/mono/4.0/System.Xaml.dll /reference:/usr/lib/mono/4.0/System.Runtime.Remoting.dll /reference:/home/test/IronLanguages/bin/Release/Microsoft.Scripting.Metadata.dll /warn:4 /warnaserror-:"618;429;219;1717;162;414"
bz2/dotnetzip/BZip2/ParallelBZip2OutputStream.cs(742,33): warning CS0219: The variable `y' is assigned but its value is never used
zipimport.cs(90,24): warning CS0219: The variable `prefix' is assigned but its value is never used
zipimport.cs(358,30): warning CS0219: The variable `isbc' is assigned but its value is never used
zipimport.cs(445,24): warning CS0219: The variable `modpath' is assigned but its value is never used
socket.cs(259,25): warning CS0219: The variable `refs' is assigned but its value is never used
bz2/BZ2Compressor.cs(42,25): warning CS0414: The private field `IronPython.Modules.Bz2.Bz2Module.BZ2Compressor.compresslevel' is assigned but its value is never used
ResourceMetaPathImporter.cs(20,68): warning CS0414: The private field `IronPython.Modules.ResourceMetaPathImporter._unpackedModules' is assigned but its value is never used
ResourceMetaPathImporter.cs(203,25): warning CS0414: The private field `IronPython.Modules.ResourceMetaPathImporter.PackedResourceInfo._fileSize' is assigned but its value is never used
socket.cs(1937,35): warning CS0414: The private field `IronPython.Modules.PythonSocket.PythonUserSocketStream._close' is assigned but its value is never used
            Target _CopyDeployFilesToOutputDirectoryPreserveNewest:
            Skipping target "_CopyDeployFilesToOutputDirectoryPreserveNewest" because its outputs are up-to-date.
            Target DeployOutputFiles:
                Copying file from '/home/test/IronLanguages/Languages/IronPython/IronPython.Modules/obj/Release/IronPython.Modules.dll' to '/home/test/IronLanguages/bin/Release/IronPython.Modules.dll'
        Done building project "/home/test/IronLanguages/Languages/IronPython/IronPython.Modules/IronPython.Modules.csproj".
        Project "/home/test/IronLanguages/Languages/IronPython/IronPython.Wpf/IronPython.Wpf.csproj" (default target(s)):
            Target Bootstrap:
            Skipping target "Bootstrap" because its outputs are up-to-date.
            Target PrepareForBuild:
                Configuration: Release Platform: AnyCPU
            Target ResolveAssemblyReferences:
/usr/lib/mono/4.0/Microsoft.Common.targets:  warning : Reference 'UIAutomationProvider, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' not resolved
                For searchpath /home/test/IronLanguages/Util/References/WPF/4.0
                Considered '/home/test/IronLanguages/Util/References/WPF/4.0/UIAutomationProvider' as a file, but the file does not exist
                Considered '/home/test/IronLanguages/Util/References/WPF/4.0/UIAutomationProvider.exe' as a file, but the file does not exist
                Considered '/home/test/IronLanguages/Util/References/WPF/4.0/UIAutomationProvider.dll' as a file, but the file does not exist
                For searchpath {CandidateAssemblyFiles}
                Warning: {CandidateAssemblyFiles} not supported currently
                For searchpath {HintPathFromItem}
                HintPath attribute not found
                For searchpath {TargetFrameworkDirectory}
                Considered target framework dir /usr/lib/mono/4.0, assembly named 'UIAutomationProvider' not found.
                For searchpath {PkgConfig}
                Considered UIAutomationProvider, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, but could not find in any pkg-config files.
                For searchpath {GAC}
                Considered UIAutomationProvider, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, but could not find in the GAC.
                For searchpath {RawFileName}
                Considered '/home/test/IronLanguages/Languages/IronPython/IronPython.Wpf/UIAutomationProvider, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' as a file, but the file does not exist
                For searchpath /home/test/IronLanguages/Solutions/../bin/Release/DLLs/
                Considered '/home/test/IronLanguages/bin/Release/DLLs/UIAutomationProvider' as a file, but the file does not exist
                Considered '/home/test/IronLanguages/bin/Release/DLLs/UIAutomationProvider.exe' as a file, but the file does not exist
                Considered '/home/test/IronLanguages/bin/Release/DLLs/UIAutomationProvider.dll' as a file, but the file does not exist
/usr/lib/mono/4.0/Microsoft.Common.targets:  warning : Reference 'UIAutomationTypes, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' not resolved
                For searchpath /home/test/IronLanguages/Util/References/WPF/4.0
                Considered '/home/test/IronLanguages/Util/References/WPF/4.0/UIAutomationTypes' as a file, but the file does not exist
                Considered '/home/test/IronLanguages/Util/References/WPF/4.0/UIAutomationTypes.exe' as a file, but the file does not exist
                Considered '/home/test/IronLanguages/Util/References/WPF/4.0/UIAutomationTypes.dll' as a file, but the file does not exist
                For searchpath {CandidateAssemblyFiles}
                Warning: {CandidateAssemblyFiles} not supported currently
                For searchpath {HintPathFromItem}
                HintPath attribute not found
                For searchpath {TargetFrameworkDirectory}
                Considered target framework dir /usr/lib/mono/4.0, assembly named 'UIAutomationTypes' not found.
                For searchpath {PkgConfig}
                Considered UIAutomationTypes, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, but could not find in any pkg-config files.
                For searchpath {GAC}
                Considered UIAutomationTypes, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, but could not find in the GAC.
                For searchpath {RawFileName}
                Considered '/home/test/IronLanguages/Languages/IronPython/IronPython.Wpf/UIAutomationTypes, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' as a file, but the file does not exist
                For searchpath /home/test/IronLanguages/Solutions/../bin/Release/DLLs/
                Considered '/home/test/IronLanguages/bin/Release/DLLs/UIAutomationTypes' as a file, but the file does not exist
                Considered '/home/test/IronLanguages/bin/Release/DLLs/UIAutomationTypes.exe' as a file, but the file does not exist
                Considered '/home/test/IronLanguages/bin/Release/DLLs/UIAutomationTypes.dll' as a file, but the file does not exist
/usr/lib/mono/4.0/Microsoft.Common.targets:  warning : Reference 'System.Windows.Input.Manipulations, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' not resolved
                For searchpath /home/test/IronLanguages/Util/References/WPF/4.0
                Considered '/home/test/IronLanguages/Util/References/WPF/4.0/System.Windows.Input.Manipulations' as a file, but the file does not exist
                Considered '/home/test/IronLanguages/Util/References/WPF/4.0/System.Windows.Input.Manipulations.exe' as a file, but the file does not exist
                Considered '/home/test/IronLanguages/Util/References/WPF/4.0/System.Windows.Input.Manipulations.dll' as a file, but the file does not exist
                For searchpath {CandidateAssemblyFiles}
                Warning: {CandidateAssemblyFiles} not supported currently
                For searchpath {HintPathFromItem}
                HintPath attribute not found
                For searchpath {TargetFrameworkDirectory}
                Considered target framework dir /usr/lib/mono/4.0, assembly named 'System.Windows.Input.Manipulations' not found.
                For searchpath {PkgConfig}
                Considered System.Windows.Input.Manipulations, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, but could not find in any pkg-config files.
                For searchpath {GAC}
                Considered System.Windows.Input.Manipulations, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, but could not find in the GAC.
                For searchpath {RawFileName}
                Considered '/home/test/IronLanguages/Languages/IronPython/IronPython.Wpf/System.Windows.Input.Manipulations, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' as a file, but the file does not exist
                For searchpath /home/test/IronLanguages/Solutions/../bin/Release/DLLs/
                Considered '/home/test/IronLanguages/bin/Release/DLLs/System.Windows.Input.Manipulations' as a file, but the file does not exist
                Considered '/home/test/IronLanguages/bin/Release/DLLs/System.Windows.Input.Manipulations.exe' as a file, but the file does not exist
                Considered '/home/test/IronLanguages/bin/Release/DLLs/System.Windows.Input.Manipulations.dll' as a file, but the file does not exist
/usr/lib/mono/4.0/Microsoft.Common.targets:  warning : Reference 'System.Deployment, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' not resolved
                For searchpath /home/test/IronLanguages/Util/References/WPF/4.0
                Considered '/home/test/IronLanguages/Util/References/WPF/4.0/System.Deployment' as a file, but the file does not exist
                Considered '/home/test/IronLanguages/Util/References/WPF/4.0/System.Deployment.exe' as a file, but the file does not exist
                Considered '/home/test/IronLanguages/Util/References/WPF/4.0/System.Deployment.dll' as a file, but the file does not exist
                For searchpath {CandidateAssemblyFiles}
                Warning: {CandidateAssemblyFiles} not supported currently
                For searchpath {HintPathFromItem}
                HintPath attribute not found
                For searchpath {TargetFrameworkDirectory}
                Considered target framework dir /usr/lib/mono/4.0, assembly named 'System.Deployment' not found.
                For searchpath {PkgConfig}
                Considered System.Deployment, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, but could not find in any pkg-config files.
                For searchpath {GAC}
                Considered System.Deployment, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, but could not find in the GAC.
                For searchpath {RawFileName}
                Considered '/home/test/IronLanguages/Languages/IronPython/IronPython.Wpf/System.Deployment, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' as a file, but the file does not exist
                For searchpath /home/test/IronLanguages/Solutions/../bin/Release/DLLs/
                Considered '/home/test/IronLanguages/bin/Release/DLLs/System.Deployment' as a file, but the file does not exist
                Considered '/home/test/IronLanguages/bin/Release/DLLs/System.Deployment.exe' as a file, but the file does not exist
                Considered '/home/test/IronLanguages/bin/Release/DLLs/System.Deployment.dll' as a file, but the file does not exist
/usr/lib/mono/4.0/Microsoft.Common.targets:  warning : Reference 'UIAutomationProvider, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' not resolved
                For searchpath /home/test/IronLanguages/Util/References/WPF/4.0
                Considered '/home/test/IronLanguages/Util/References/WPF/4.0/UIAutomationProvider' as a file, but the file does not exist
                Considered '/home/test/IronLanguages/Util/References/WPF/4.0/UIAutomationProvider.exe' as a file, but the file does not exist
                Considered '/home/test/IronLanguages/Util/References/WPF/4.0/UIAutomationProvider.dll' as a file, but the file does not exist
                For searchpath {CandidateAssemblyFiles}
                Warning: {CandidateAssemblyFiles} not supported currently
                For searchpath {HintPathFromItem}
                HintPath attribute not found
                For searchpath {TargetFrameworkDirectory}
                Considered target framework dir /usr/lib/mono/4.0, assembly named 'UIAutomationProvider' not found.
                For searchpath {PkgConfig}
                Considered UIAutomationProvider, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, but could not find in any pkg-config files.
                For searchpath {GAC}
                Considered UIAutomationProvider, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, but could not find in the GAC.
                For searchpath {RawFileName}
                Considered '/home/test/IronLanguages/Languages/IronPython/IronPython.Wpf/UIAutomationProvider, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' as a file, but the file does not exist
                For searchpath /home/test/IronLanguages/Solutions/../bin/Release/DLLs/
                Considered '/home/test/IronLanguages/bin/Release/DLLs/UIAutomationProvider' as a file, but the file does not exist
                Considered '/home/test/IronLanguages/bin/Release/DLLs/UIAutomationProvider.exe' as a file, but the file does not exist
                Considered '/home/test/IronLanguages/bin/Release/DLLs/UIAutomationProvider.dll' as a file, but the file does not exist
/usr/lib/mono/4.0/Microsoft.Common.targets:  warning : Reference 'System.Deployment, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' not resolved
                For searchpath /home/test/IronLanguages/Util/References/WPF/4.0
                Considered '/home/test/IronLanguages/Util/References/WPF/4.0/System.Deployment' as a file, but the file does not exist
                Considered '/home/test/IronLanguages/Util/References/WPF/4.0/System.Deployment.exe' as a file, but the file does not exist
                Considered '/home/test/IronLanguages/Util/References/WPF/4.0/System.Deployment.dll' as a file, but the file does not exist
                For searchpath {CandidateAssemblyFiles}
                Warning: {CandidateAssemblyFiles} not supported currently
                For searchpath {HintPathFromItem}
                HintPath attribute not found
                For searchpath {TargetFrameworkDirectory}
                Considered target framework dir /usr/lib/mono/4.0, assembly named 'System.Deployment' not found.
                For searchpath {PkgConfig}
                Considered System.Deployment, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, but could not find in any pkg-config files.
                For searchpath {GAC}
                Considered System.Deployment, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, but could not find in the GAC.
                For searchpath {RawFileName}
                Considered '/home/test/IronLanguages/Languages/IronPython/IronPython.Wpf/System.Deployment, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' as a file, but the file does not exist
                For searchpath /home/test/IronLanguages/Solutions/../bin/Release/DLLs/
                Considered '/home/test/IronLanguages/bin/Release/DLLs/System.Deployment' as a file, but the file does not exist
                Considered '/home/test/IronLanguages/bin/Release/DLLs/System.Deployment.exe' as a file, but the file does not exist
                Considered '/home/test/IronLanguages/bin/Release/DLLs/System.Deployment.dll' as a file, but the file does not exist
/usr/lib/mono/4.0/Microsoft.Common.targets:  warning : Reference 'PresentationUI, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' not resolved
                For searchpath /home/test/IronLanguages/Util/References/WPF/4.0
                Considered '/home/test/IronLanguages/Util/References/WPF/4.0/PresentationUI' as a file, but the file does not exist
                Considered '/home/test/IronLanguages/Util/References/WPF/4.0/PresentationUI.exe' as a file, but the file does not exist
                Considered '/home/test/IronLanguages/Util/References/WPF/4.0/PresentationUI.dll' as a file, but the file does not exist
                For searchpath {CandidateAssemblyFiles}
                Warning: {CandidateAssemblyFiles} not supported currently
                For searchpath {HintPathFromItem}
                HintPath attribute not found
                For searchpath {TargetFrameworkDirectory}
                Considered target framework dir /usr/lib/mono/4.0, assembly named 'PresentationUI' not found.
                For searchpath {PkgConfig}
                Considered PresentationUI, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, but could not find in any pkg-config files.
                For searchpath {GAC}
                Considered PresentationUI, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, but could not find in the GAC.
                For searchpath {RawFileName}
                Considered '/home/test/IronLanguages/Languages/IronPython/IronPython.Wpf/PresentationUI, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' as a file, but the file does not exist
                For searchpath /home/test/IronLanguages/Solutions/../bin/Release/DLLs/
                Considered '/home/test/IronLanguages/bin/Release/DLLs/PresentationUI' as a file, but the file does not exist
                Considered '/home/test/IronLanguages/bin/Release/DLLs/PresentationUI.exe' as a file, but the file does not exist
                Considered '/home/test/IronLanguages/bin/Release/DLLs/PresentationUI.dll' as a file, but the file does not exist
/usr/lib/mono/4.0/Microsoft.Common.targets:  warning : Reference 'System.Printing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' not resolved
                For searchpath /home/test/IronLanguages/Util/References/WPF/4.0
                Considered '/home/test/IronLanguages/Util/References/WPF/4.0/System.Printing' as a file, but the file does not exist
                Considered '/home/test/IronLanguages/Util/References/WPF/4.0/System.Printing.exe' as a file, but the file does not exist
                Considered '/home/test/IronLanguages/Util/References/WPF/4.0/System.Printing.dll' as a file, but the file does not exist
                For searchpath {CandidateAssemblyFiles}
                Warning: {CandidateAssemblyFiles} not supported currently
                For searchpath {HintPathFromItem}
                HintPath attribute not found
                For searchpath {TargetFrameworkDirectory}
                Considered target framework dir /usr/lib/mono/4.0, assembly named 'System.Printing' not found.
                For searchpath {PkgConfig}
                Considered System.Printing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, but could not find in any pkg-config files.
                For searchpath {GAC}
                Considered System.Printing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, but could not find in the GAC.
                For searchpath {RawFileName}
                Considered '/home/test/IronLanguages/Languages/IronPython/IronPython.Wpf/System.Printing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' as a file, but the file does not exist
                For searchpath /home/test/IronLanguages/Solutions/../bin/Release/DLLs/
                Considered '/home/test/IronLanguages/bin/Release/DLLs/System.Printing' as a file, but the file does not exist
                Considered '/home/test/IronLanguages/bin/Release/DLLs/System.Printing.exe' as a file, but the file does not exist
                Considered '/home/test/IronLanguages/bin/Release/DLLs/System.Printing.dll' as a file, but the file does not exist
/usr/lib/mono/4.0/Microsoft.Common.targets:  warning : Reference 'ReachFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' not resolved
                For searchpath /home/test/IronLanguages/Util/References/WPF/4.0
                Considered '/home/test/IronLanguages/Util/References/WPF/4.0/ReachFramework' as a file, but the file does not exist
                Considered '/home/test/IronLanguages/Util/References/WPF/4.0/ReachFramework.exe' as a file, but the file does not exist
                Considered '/home/test/IronLanguages/Util/References/WPF/4.0/ReachFramework.dll' as a file, but the file does not exist
                For searchpath {CandidateAssemblyFiles}
                Warning: {CandidateAssemblyFiles} not supported currently
                For searchpath {HintPathFromItem}
                HintPath attribute not found
                For searchpath {TargetFrameworkDirectory}
                Considered target framework dir /usr/lib/mono/4.0, assembly named 'ReachFramework' not found.
                For searchpath {PkgConfig}
                Considered ReachFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, but could not find in any pkg-config files.
                For searchpath {GAC}
                Considered ReachFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, but could not find in the GAC.
                For searchpath {RawFileName}
                Considered '/home/test/IronLanguages/Languages/IronPython/IronPython.Wpf/ReachFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' as a file, but the file does not exist
                For searchpath /home/test/IronLanguages/Solutions/../bin/Release/DLLs/
                Considered '/home/test/IronLanguages/bin/Release/DLLs/ReachFramework' as a file, but the file does not exist
                Considered '/home/test/IronLanguages/bin/Release/DLLs/ReachFramework.exe' as a file, but the file does not exist
                Considered '/home/test/IronLanguages/bin/Release/DLLs/ReachFramework.dll' as a file, but the file does not exist
/usr/lib/mono/4.0/Microsoft.Common.targets:  warning : Reference 'UIAutomationTypes, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' not resolved
                For searchpath /home/test/IronLanguages/Util/References/WPF/4.0
                Considered '/home/test/IronLanguages/Util/References/WPF/4.0/UIAutomationTypes' as a file, but the file does not exist
                Considered '/home/test/IronLanguages/Util/References/WPF/4.0/UIAutomationTypes.exe' as a file, but the file does not exist
                Considered '/home/test/IronLanguages/Util/References/WPF/4.0/UIAutomationTypes.dll' as a file, but the file does not exist
                For searchpath {CandidateAssemblyFiles}
                Warning: {CandidateAssemblyFiles} not supported currently
                For searchpath {HintPathFromItem}
                HintPath attribute not found
                For searchpath {TargetFrameworkDirectory}
                Considered target framework dir /usr/lib/mono/4.0, assembly named 'UIAutomationTypes' not found.
                For searchpath {PkgConfig}
                Considered UIAutomationTypes, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, but could not find in any pkg-config files.
                For searchpath {GAC}
                Considered UIAutomationTypes, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, but could not find in the GAC.
                For searchpath {RawFileName}
                Considered '/home/test/IronLanguages/Languages/IronPython/IronPython.Wpf/UIAutomationTypes, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' as a file, but the file does not exist
                For searchpath /home/test/IronLanguages/Solutions/../bin/Release/DLLs/
                Considered '/home/test/IronLanguages/bin/Release/DLLs/UIAutomationTypes' as a file, but the file does not exist
                Considered '/home/test/IronLanguages/bin/Release/DLLs/UIAutomationTypes.exe' as a file, but the file does not exist
                Considered '/home/test/IronLanguages/bin/Release/DLLs/UIAutomationTypes.dll' as a file, but the file does not exist
            Target GenerateSatelliteAssemblies:
            No input files were specified for target GenerateSatelliteAssemblies, skipping.
            Target CoreCompile:
                Tool /usr/bin/dmcs execution started with arguments: /noconfig /debug:full /debug- /keyfile:/home/test/IronLanguages/Solutions//Key.snk /optimize+ /out:obj/Release/IronPython.Wpf.dll Properties/AssemblyInfo.cs Properties/BuildInfo.Generated.cs wpf.cs ../AssemblyVersion.cs /target:library /warnaserror+ /checked- /define:"FEATURE_CUSTOM_MODIFIERS;FEATURE_NATIVE;FEATURE_XMLDOC;FEATURE_EXCEPTION_STATE;FEATURE_DEFAULT_PARAMETER_VALUE;FEATURE_FUNCS_5_16;FEATURE_VARIANCE;FEATURE_CORE_DLR;FEATURE_TASKS;FEATURE_CRYPTOGRAPHY;FEATURE_SYNC_SOCKETS;FEATURE_ASSEMBLY_RESOLVE;FEATURE_CUSTOM_TYPE_DESCRIPTOR;FEATURE_ENCODING;FEATURE_DBNULL;FEATURE_FILESYSTEM;FEATURE_THREAD;FEATURE_PROCESS;FEATURE_STACK_TRACE;FEATURE_TYPE_EQUIVALENCE;FEATURE_NUMERICS;FEATURE_TYPECONVERTER;FEATURE_PDBEMIT;FEATURE_METADATA_READER;FEATURE_COM;FEATURE_WPF;FEATURE_FULL_CONSOLE;FEATURE_BASIC_CONSOLE;FEATURE_SERIALIZATION;FEATURE_REMOTING;FEATURE_CONFIGURATION;FEATURE_REFEMIT;FEATURE_LCG;FEATURE_CODEDOM;FEATURE_VALUE_EQUALITY;FEATURE_COMPRESSION;FEATURE_WARNING_EXCEPTION;FEATURE_SECURITY_RULES;FEATURE_APTCA;FEATURE_WIN32EXCEPTION;FEATURE_REGISTRY;FEATURE_ASSEMBLY_LOCATION;FEATURE_ENUM_NAMES_VALUES;FEATURE_OS_SERVICEPACK;FEATURE_APPLICATIONEXCEPTION;FEATURE_STOPWATCH;FEATURE_APARTMENTSTATE;FEATURE_GETINVALIDFILENAMECHARS;FEATURE_LOADWITHPARTIALNAME;FEATURE_DRIVENOTFOUNDEXCEPTION;FEATURE_ASSEMBLY_CODEBASE;FEATURE_MMAP;FEATURE_FULL_NET;FEATURE_FULL_CRYPTO;FEATURE_ICLONEABLE;FEATURE_ANSICP;FEATURE_TIMEZONE;CLR4;TRACE" /nowarn:"1591;1584;1574;444;1685;1573" /doc:/home/test/IronLanguages/Solutions/../bin/Release/DLLs/IronPython.Wpf.xml /platform:AnyCPU /reference:/usr/lib/mono/4.0/System.dll /reference:/usr/lib/mono/4.0/System.Core.dll /reference:/usr/lib/mono/4.0/System.Xml.dll /reference:/usr/lib/mono/4.0/System.Numerics.dll /reference:/usr/lib/mono/4.0/Microsoft.CSharp.dll /reference:/home/test/IronLanguages/Solutions/../Util/References/WPF/4.0/WindowsBase.dll /reference:/home/test/IronLanguages/Solutions/../Util/References/WPF/4.0/PresentationCore.dll /reference:/home/test/IronLanguages/Solutions/../Util/References/WPF/4.0/PresentationFramework.dll /reference:/home/test/IronLanguages/Solutions/../Util/References/WPF/4.0/System.Xaml.dll /reference:/home/test/IronLanguages/bin/Release//Microsoft.Scripting.dll /reference:/home/test/IronLanguages/bin/Release//Microsoft.Dynamic.dll /reference:/home/test/IronLanguages/bin/Release//IronPython.dll /reference:/usr/lib/mono/4.0/mscorlib.dll /reference:/usr/lib/mono/4.0/System.Security.dll /reference:/usr/lib/mono/4.0/Accessibility.dll /reference:/usr/lib/mono/4.0/System.Drawing.dll /reference:/usr/lib/mono/4.0/System.Xml.Linq.dll /reference:/usr/lib/mono/4.0/System.Data.dll /reference:/usr/lib/mono/4.0/Microsoft.VisualC.dll /reference:/usr/lib/mono/4.0/System.Configuration.dll /reference:/usr/lib/mono/4.0/System.Runtime.Remoting.dll /reference:/home/test/IronLanguages/bin/Release/Microsoft.Scripting.Metadata.dll /warn:4 /warnaserror-:"618;429;219;1717;162;414"
            Target DeployOutputFiles:
                Copying file from '/home/test/IronLanguages/Languages/IronPython/IronPython.Wpf/obj/Release/IronPython.Wpf.dll' to '/home/test/IronLanguages/bin/Release/DLLs/IronPython.Wpf.dll'
        Done building project "/home/test/IronLanguages/Languages/IronPython/IronPython.Wpf/IronPython.Wpf.csproj".
        Project "/home/test/IronLanguages/Languages/IronPython/IronPythonConsole/IronPythonConsole.csproj" (default target(s)):
            Target Bootstrap:
            Skipping target "Bootstrap" because its outputs are up-to-date.
            Target PrepareForBuild:
                Configuration: Release Platform: AnyCPU
            Target GenerateSatelliteAssemblies:
            No input files were specified for target GenerateSatelliteAssemblies, skipping.
            Target CoreCompile:
                Tool /usr/bin/dmcs execution started with arguments: /noconfig /debug:full /debug- /keyfile:/home/test/IronLanguages/Solutions//Key.snk /optimize+ /out:obj/Release/ipy.exe Properties/AssemblyInfo.cs Console.cs ../AssemblyVersion.cs Properties/BuildInfo.Generated.cs /target:exe /warnaserror+ /checked- /define:"FEATURE_CUSTOM_MODIFIERS;FEATURE_NATIVE;FEATURE_XMLDOC;FEATURE_EXCEPTION_STATE;FEATURE_DEFAULT_PARAMETER_VALUE;FEATURE_FUNCS_5_16;FEATURE_VARIANCE;FEATURE_CORE_DLR;FEATURE_TASKS;FEATURE_CRYPTOGRAPHY;FEATURE_SYNC_SOCKETS;FEATURE_ASSEMBLY_RESOLVE;FEATURE_CUSTOM_TYPE_DESCRIPTOR;FEATURE_ENCODING;FEATURE_DBNULL;FEATURE_FILESYSTEM;FEATURE_THREAD;FEATURE_PROCESS;FEATURE_STACK_TRACE;FEATURE_TYPE_EQUIVALENCE;FEATURE_NUMERICS;FEATURE_TYPECONVERTER;FEATURE_PDBEMIT;FEATURE_METADATA_READER;FEATURE_COM;FEATURE_WPF;FEATURE_FULL_CONSOLE;FEATURE_BASIC_CONSOLE;FEATURE_SERIALIZATION;FEATURE_REMOTING;FEATURE_CONFIGURATION;FEATURE_REFEMIT;FEATURE_LCG;FEATURE_CODEDOM;FEATURE_VALUE_EQUALITY;FEATURE_COMPRESSION;FEATURE_WARNING_EXCEPTION;FEATURE_SECURITY_RULES;FEATURE_APTCA;FEATURE_WIN32EXCEPTION;FEATURE_REGISTRY;FEATURE_ASSEMBLY_LOCATION;FEATURE_ENUM_NAMES_VALUES;FEATURE_OS_SERVICEPACK;FEATURE_APPLICATIONEXCEPTION;FEATURE_STOPWATCH;FEATURE_APARTMENTSTATE;FEATURE_GETINVALIDFILENAMECHARS;FEATURE_LOADWITHPARTIALNAME;FEATURE_DRIVENOTFOUNDEXCEPTION;FEATURE_ASSEMBLY_CODEBASE;FEATURE_MMAP;FEATURE_FULL_NET;FEATURE_FULL_CRYPTO;FEATURE_ICLONEABLE;FEATURE_ANSICP;FEATURE_TIMEZONE;CLR4;TRACE" /nowarn:"1591;1584;1574;444;1685;1573" /platform:x86 /reference:/usr/lib/mono/4.0/System.dll /reference:/usr/lib/mono/4.0/System.Core.dll /reference:/usr/lib/mono/4.0/System.Xml.dll /reference:/usr/lib/mono/4.0/System.Numerics.dll /reference:/usr/lib/mono/4.0/Microsoft.CSharp.dll /reference:/home/test/IronLanguages/bin/Release//Microsoft.Scripting.dll /reference:/home/test/IronLanguages/bin/Release//Microsoft.Dynamic.dll /reference:/home/test/IronLanguages/bin/Release//IronPython.dll /reference:/usr/lib/mono/4.0/mscorlib.dll /reference:/usr/lib/mono/4.0/System.Configuration.dll /reference:/usr/lib/mono/4.0/System.Xaml.dll /reference:/usr/lib/mono/4.0/System.Runtime.Remoting.dll /reference:/home/test/IronLanguages/bin/Release/Microsoft.Scripting.Metadata.dll /warn:4 /warnaserror-:"618;429;219;1717;162;414"
            Target _CopyDeployFilesToOutputDirectoryPreserveNewest:
            Skipping target "_CopyDeployFilesToOutputDirectoryPreserveNewest" because its outputs are up-to-date.
            Target _CopyAppConfigFile:
            Skipping target "_CopyAppConfigFile" because its outputs are up-to-date.
            Target DeployOutputFiles:
                Copying file from '/home/test/IronLanguages/Languages/IronPython/IronPythonConsole/obj/Release/ipy.exe' to '/home/test/IronLanguages/bin/Release/ipy.exe'
        Done building project "/home/test/IronLanguages/Languages/IronPython/IronPythonConsole/IronPythonConsole.csproj".
        Project "/home/test/IronLanguages/Languages/IronPython/IronPythonTest/IronPythonTest.csproj" (default target(s)):
            Target PrepareForBuild:
                Configuration: Release Platform: AnyCPU
            Target GenerateSatelliteAssemblies:
            No input files were specified for target GenerateSatelliteAssemblies, skipping.
            Target CoreCompile:
                Tool /usr/bin/dmcs execution started with arguments: /noconfig /debug:full /debug- /keyfile:/home/test/IronLanguages/Solutions//Key.snk /optimize+ /out:obj/Release/IronPythonTest.dll AssemblyInfo.cs AttrInjectorTest.cs ExtensionMethodTest.cs LightExceptionTests.cs MemberOverloadTest.cs BinderTest.cs BindTest.cs ClrType.cs Cmplx.cs Conversions.cs DefaultParams.cs DelegateTest.cs DeTest.cs DynamicRegressions.cs MemberMappingTests.cs Stress/Engine.cs EngineTest.cs Enums.cs Events.cs ExceptionConverter.cs Exceptions.cs Explicit.cs GenMeth.cs Indexable.cs InheritTest.cs IntegerTest.cs LoadTest.cs IronMath.cs NestedClass.cs NullableTest.cs OperatorTest.cs ProtocolTest.cs StaticTest.cs StringDictionaryStorage.cs TestBuiltinModule.cs TypeDescriptor.cs /target:library /warnaserror+ /checked- /define:"FEATURE_CUSTOM_MODIFIERS;FEATURE_NATIVE;FEATURE_XMLDOC;FEATURE_EXCEPTION_STATE;FEATURE_DEFAULT_PARAMETER_VALUE;FEATURE_FUNCS_5_16;FEATURE_VARIANCE;FEATURE_CORE_DLR;FEATURE_TASKS;FEATURE_CRYPTOGRAPHY;FEATURE_SYNC_SOCKETS;FEATURE_ASSEMBLY_RESOLVE;FEATURE_CUSTOM_TYPE_DESCRIPTOR;FEATURE_ENCODING;FEATURE_DBNULL;FEATURE_FILESYSTEM;FEATURE_THREAD;FEATURE_PROCESS;FEATURE_STACK_TRACE;FEATURE_TYPE_EQUIVALENCE;FEATURE_NUMERICS;FEATURE_TYPECONVERTER;FEATURE_PDBEMIT;FEATURE_METADATA_READER;FEATURE_COM;FEATURE_WPF;FEATURE_FULL_CONSOLE;FEATURE_BASIC_CONSOLE;FEATURE_SERIALIZATION;FEATURE_REMOTING;FEATURE_CONFIGURATION;FEATURE_REFEMIT;FEATURE_LCG;FEATURE_CODEDOM;FEATURE_VALUE_EQUALITY;FEATURE_COMPRESSION;FEATURE_WARNING_EXCEPTION;FEATURE_SECURITY_RULES;FEATURE_APTCA;FEATURE_WIN32EXCEPTION;FEATURE_REGISTRY;FEATURE_ASSEMBLY_LOCATION;FEATURE_ENUM_NAMES_VALUES;FEATURE_OS_SERVICEPACK;FEATURE_APPLICATIONEXCEPTION;FEATURE_STOPWATCH;FEATURE_APARTMENTSTATE;FEATURE_GETINVALIDFILENAMECHARS;FEATURE_LOADWITHPARTIALNAME;FEATURE_DRIVENOTFOUNDEXCEPTION;FEATURE_ASSEMBLY_CODEBASE;FEATURE_MMAP;FEATURE_FULL_NET;FEATURE_FULL_CRYPTO;FEATURE_ICLONEABLE;FEATURE_ANSICP;FEATURE_TIMEZONE;CLR4;TRACE" /nowarn:"1591;1584;1574;444;1685;1573" /platform:AnyCPU /reference:/usr/lib/mono/4.0/System.dll /reference:/usr/lib/mono/4.0/System.Core.dll /reference:/usr/lib/mono/4.0/System.Xml.dll /reference:/usr/lib/mono/4.0/System.Numerics.dll /reference:/usr/lib/mono/4.0/Microsoft.CSharp.dll /reference:/usr/lib/mono/4.0/System.Xaml.dll /reference:/usr/lib/mono/4.0/WindowsBase.dll /reference:/home/test/IronLanguages/bin/Release//Microsoft.Scripting.dll /reference:/home/test/IronLanguages/bin/Release//Microsoft.Dynamic.dll /reference:/home/test/IronLanguages/bin/Release//IronPython.dll /reference:/usr/lib/mono/4.0/mscorlib.dll /reference:/usr/lib/mono/4.0/System.Configuration.dll /reference:/usr/lib/mono/4.0/System.Runtime.Remoting.dll /reference:/home/test/IronLanguages/bin/Release/Microsoft.Scripting.Metadata.dll /warn:4 /warnaserror-:"618;429;219;1717;162;414"
            Target _CopyDeployFilesToOutputDirectoryPreserveNewest:
            Skipping target "_CopyDeployFilesToOutputDirectoryPreserveNewest" because its outputs are up-to-date.
            Target DeployOutputFiles:
                Copying file from '/home/test/IronLanguages/Languages/IronPython/IronPythonTest/obj/Release/IronPythonTest.dll' to '/home/test/IronLanguages/bin/Release/IronPythonTest.dll'
        Done building project "/home/test/IronLanguages/Languages/IronPython/IronPythonTest/IronPythonTest.csproj".
        Project "/home/test/IronLanguages/Languages/IronPython/IronPythonWindow/IronPythonWindow.csproj" (default target(s)):
            Target Bootstrap:
            Skipping target "Bootstrap" because its outputs are up-to-date.
            Target PrepareForBuild:
                Configuration: Release Platform: AnyCPU
            Target GenerateSatelliteAssemblies:
            No input files were specified for target GenerateSatelliteAssemblies, skipping.
            Target CoreCompile:
                Tool /usr/bin/dmcs execution started with arguments: /noconfig /debug:full /debug- /keyfile:/home/test/IronLanguages/Solutions//Key.snk /optimize+ /out:obj/Release/ipyw.exe IronPythonWindow.cs Properties/AssemblyInfo.cs ../AssemblyVersion.cs Properties/BuildInfo.Generated.cs /target:winexe /warnaserror+ /checked- /define:"FEATURE_CUSTOM_MODIFIERS;FEATURE_NATIVE;FEATURE_XMLDOC;FEATURE_EXCEPTION_STATE;FEATURE_DEFAULT_PARAMETER_VALUE;FEATURE_FUNCS_5_16;FEATURE_VARIANCE;FEATURE_CORE_DLR;FEATURE_TASKS;FEATURE_CRYPTOGRAPHY;FEATURE_SYNC_SOCKETS;FEATURE_ASSEMBLY_RESOLVE;FEATURE_CUSTOM_TYPE_DESCRIPTOR;FEATURE_ENCODING;FEATURE_DBNULL;FEATURE_FILESYSTEM;FEATURE_THREAD;FEATURE_PROCESS;FEATURE_STACK_TRACE;FEATURE_TYPE_EQUIVALENCE;FEATURE_NUMERICS;FEATURE_TYPECONVERTER;FEATURE_PDBEMIT;FEATURE_METADATA_READER;FEATURE_COM;FEATURE_WPF;FEATURE_FULL_CONSOLE;FEATURE_BASIC_CONSOLE;FEATURE_SERIALIZATION;FEATURE_REMOTING;FEATURE_CONFIGURATION;FEATURE_REFEMIT;FEATURE_LCG;FEATURE_CODEDOM;FEATURE_VALUE_EQUALITY;FEATURE_COMPRESSION;FEATURE_WARNING_EXCEPTION;FEATURE_SECURITY_RULES;FEATURE_APTCA;FEATURE_WIN32EXCEPTION;FEATURE_REGISTRY;FEATURE_ASSEMBLY_LOCATION;FEATURE_ENUM_NAMES_VALUES;FEATURE_OS_SERVICEPACK;FEATURE_APPLICATIONEXCEPTION;FEATURE_STOPWATCH;FEATURE_APARTMENTSTATE;FEATURE_GETINVALIDFILENAMECHARS;FEATURE_LOADWITHPARTIALNAME;FEATURE_DRIVENOTFOUNDEXCEPTION;FEATURE_ASSEMBLY_CODEBASE;FEATURE_MMAP;FEATURE_FULL_NET;FEATURE_FULL_CRYPTO;FEATURE_ICLONEABLE;FEATURE_ANSICP;FEATURE_TIMEZONE;CLR4;TRACE" /nowarn:"1591;1584;1574;444;1685;1573" /platform:x86 /reference:/usr/lib/mono/4.0/System.dll /reference:/usr/lib/mono/4.0/System.Core.dll /reference:/usr/lib/mono/4.0/System.Xml.dll /reference:/usr/lib/mono/4.0/System.Numerics.dll /reference:/usr/lib/mono/4.0/Microsoft.CSharp.dll /reference:/usr/lib/mono/4.0/System.Windows.Forms.dll /reference:/home/test/IronLanguages/bin/Release//Microsoft.Scripting.dll /reference:/home/test/IronLanguages/bin/Release//Microsoft.Dynamic.dll /reference:/home/test/IronLanguages/bin/Release//IronPython.dll /reference:/usr/lib/mono/4.0/mscorlib.dll /reference:/usr/lib/mono/4.0/System.Configuration.dll /reference:/usr/lib/mono/4.0/System.Xaml.dll /reference:/usr/lib/mono/4.0/System.Runtime.Remoting.dll /reference:/home/test/IronLanguages/bin/Release/Microsoft.Scripting.Metadata.dll /warn:4 /warnaserror-:"618;429;219;1717;162;414"
            Target _CopyDeployFilesToOutputDirectoryPreserveNewest:
            Skipping target "_CopyDeployFilesToOutputDirectoryPreserveNewest" because its outputs are up-to-date.
            Target DeployOutputFiles:
                Copying file from '/home/test/IronLanguages/Languages/IronPython/IronPythonWindow/obj/Release/ipyw.exe' to '/home/test/IronLanguages/bin/Release/ipyw.exe'
        Done building project "/home/test/IronLanguages/Languages/IronPython/IronPythonWindow/IronPythonWindow.csproj".
        Project "/home/test/IronLanguages/Languages/IronPython/IronPythonConsoleAny/IronPythonConsoleAny.csproj" (default target(s)):
            Target Bootstrap:
            Skipping target "Bootstrap" because its outputs are up-to-date.
            Target PrepareForBuild:
                Configuration: Release Platform: AnyCPU
            Target GenerateSatelliteAssemblies:
            No input files were specified for target GenerateSatelliteAssemblies, skipping.
            Target CoreCompile:
                Tool /usr/bin/dmcs execution started with arguments: /noconfig /debug:full /debug- /keyfile:/home/test/IronLanguages/Solutions//Key.snk /optimize+ /out:obj/Release/ipy64.exe ../IronPythonConsole/Properties/AssemblyInfo.cs ../IronPythonConsole/Console.cs ../AssemblyVersion.cs Properties/BuildInfo.Generated.cs /target:exe /warnaserror+ /checked- /define:"FEATURE_CUSTOM_MODIFIERS;FEATURE_NATIVE;FEATURE_XMLDOC;FEATURE_EXCEPTION_STATE;FEATURE_DEFAULT_PARAMETER_VALUE;FEATURE_FUNCS_5_16;FEATURE_VARIANCE;FEATURE_CORE_DLR;FEATURE_TASKS;FEATURE_CRYPTOGRAPHY;FEATURE_SYNC_SOCKETS;FEATURE_ASSEMBLY_RESOLVE;FEATURE_CUSTOM_TYPE_DESCRIPTOR;FEATURE_ENCODING;FEATURE_DBNULL;FEATURE_FILESYSTEM;FEATURE_THREAD;FEATURE_PROCESS;FEATURE_STACK_TRACE;FEATURE_TYPE_EQUIVALENCE;FEATURE_NUMERICS;FEATURE_TYPECONVERTER;FEATURE_PDBEMIT;FEATURE_METADATA_READER;FEATURE_COM;FEATURE_WPF;FEATURE_FULL_CONSOLE;FEATURE_BASIC_CONSOLE;FEATURE_SERIALIZATION;FEATURE_REMOTING;FEATURE_CONFIGURATION;FEATURE_REFEMIT;FEATURE_LCG;FEATURE_CODEDOM;FEATURE_VALUE_EQUALITY;FEATURE_COMPRESSION;FEATURE_WARNING_EXCEPTION;FEATURE_SECURITY_RULES;FEATURE_APTCA;FEATURE_WIN32EXCEPTION;FEATURE_REGISTRY;FEATURE_ASSEMBLY_LOCATION;FEATURE_ENUM_NAMES_VALUES;FEATURE_OS_SERVICEPACK;FEATURE_APPLICATIONEXCEPTION;FEATURE_STOPWATCH;FEATURE_APARTMENTSTATE;FEATURE_GETINVALIDFILENAMECHARS;FEATURE_LOADWITHPARTIALNAME;FEATURE_DRIVENOTFOUNDEXCEPTION;FEATURE_ASSEMBLY_CODEBASE;FEATURE_MMAP;FEATURE_FULL_NET;FEATURE_FULL_CRYPTO;FEATURE_ICLONEABLE;FEATURE_ANSICP;FEATURE_TIMEZONE;CLR4;TRACE" /nowarn:"1591;1584;1574;444;1685;1573" /platform:AnyCPU /reference:/usr/lib/mono/4.0/System.dll /reference:/usr/lib/mono/4.0/System.Core.dll /reference:/usr/lib/mono/4.0/System.Xml.dll /reference:/usr/lib/mono/4.0/System.Numerics.dll /reference:/usr/lib/mono/4.0/Microsoft.CSharp.dll /reference:/home/test/IronLanguages/bin/Release//Microsoft.Scripting.dll /reference:/home/test/IronLanguages/bin/Release//Microsoft.Dynamic.dll /reference:/home/test/IronLanguages/bin/Release//IronPython.dll /reference:/usr/lib/mono/4.0/mscorlib.dll /reference:/usr/lib/mono/4.0/System.Configuration.dll /reference:/usr/lib/mono/4.0/System.Xaml.dll /reference:/usr/lib/mono/4.0/System.Runtime.Remoting.dll /reference:/home/test/IronLanguages/bin/Release/Microsoft.Scripting.Metadata.dll /warn:4 /warnaserror-:"618;429;219;1717;162;414"
            Target _CopyDeployFilesToOutputDirectoryPreserveNewest:
            Skipping target "_CopyDeployFilesToOutputDirectoryPreserveNewest" because its outputs are up-to-date.
            Target _CopyAppConfigFile:
            Skipping target "_CopyAppConfigFile" because its outputs are up-to-date.
            Target DeployOutputFiles:
                Copying file from '/home/test/IronLanguages/Languages/IronPython/IronPythonConsoleAny/obj/Release/ipy64.exe' to '/home/test/IronLanguages/bin/Release/ipy64.exe'
        Done building project "/home/test/IronLanguages/Languages/IronPython/IronPythonConsoleAny/IronPythonConsoleAny.csproj".
        Project "/home/test/IronLanguages/Languages/IronPython/IronPythonWindowAny/IronPythonWindowAny.csproj" (default target(s)):
            Target Bootstrap:
            Skipping target "Bootstrap" because its outputs are up-to-date.
            Target PrepareForBuild:
                Configuration: Release Platform: AnyCPU
            Target GenerateSatelliteAssemblies:
            No input files were specified for target GenerateSatelliteAssemblies, skipping.
            Target CoreCompile:
                Tool /usr/bin/dmcs execution started with arguments: /noconfig /debug:full /debug- /keyfile:/home/test/IronLanguages/Solutions//Key.snk /optimize+ /out:obj/Release/ipyw64.exe ../IronPythonWindow/IronPythonWindow.cs ../IronPythonWindow/Properties/AssemblyInfo.cs ../AssemblyVersion.cs Properties/BuildInfo.Generated.cs /target:winexe /warnaserror+ /checked- /define:"FEATURE_CUSTOM_MODIFIERS;FEATURE_NATIVE;FEATURE_XMLDOC;FEATURE_EXCEPTION_STATE;FEATURE_DEFAULT_PARAMETER_VALUE;FEATURE_FUNCS_5_16;FEATURE_VARIANCE;FEATURE_CORE_DLR;FEATURE_TASKS;FEATURE_CRYPTOGRAPHY;FEATURE_SYNC_SOCKETS;FEATURE_ASSEMBLY_RESOLVE;FEATURE_CUSTOM_TYPE_DESCRIPTOR;FEATURE_ENCODING;FEATURE_DBNULL;FEATURE_FILESYSTEM;FEATURE_THREAD;FEATURE_PROCESS;FEATURE_STACK_TRACE;FEATURE_TYPE_EQUIVALENCE;FEATURE_NUMERICS;FEATURE_TYPECONVERTER;FEATURE_PDBEMIT;FEATURE_METADATA_READER;FEATURE_COM;FEATURE_WPF;FEATURE_FULL_CONSOLE;FEATURE_BASIC_CONSOLE;FEATURE_SERIALIZATION;FEATURE_REMOTING;FEATURE_CONFIGURATION;FEATURE_REFEMIT;FEATURE_LCG;FEATURE_CODEDOM;FEATURE_VALUE_EQUALITY;FEATURE_COMPRESSION;FEATURE_WARNING_EXCEPTION;FEATURE_SECURITY_RULES;FEATURE_APTCA;FEATURE_WIN32E

Critical bug in IronRuby makes web hosting impossible!

I've a project called "IronSP" where I host the DLR (.net 2.0) and IronRuby in SharePoint/ASP.NET. During a load test I found a critical bug. I always got the following error while load testing (yout have to use arrays to cause the error):
"System.IndexOutOfRangeException: Index was outside the bounds of the array"
Wow, to hunt this bug has almost taken two weeks. The issue is that in the _infiniteTracker field in IronRuby.Runtime.RecursionTracker is missing the static keyword and without this keyword the [ThreadStatic] attribute is useless. Hosting the engine in ASP.NET means many threads will access the infiniteTracker dictionary and when two hits the _infiniteTracker in parallel the dictionary will be corrupted an every access to it throws a IndexOutOfRangeException. The static keyword in combination with [ThreadStatic] avoids this issue, because the dictionary will be created per Request/Thead. Please fix that in original IronRuby source. It affects the current version and IronRuby 1.0. Would be awesome if some one coud fixes in 1.0. I did the fix already, but can't sign the assemblies with the original MS keys.

class IronRuby.Runtime.RecursionTracker

[ThreadStatic]
private static Dictionary<object, bool> _infiniteTracker;

sys.ps1 and sys.ps2 should not be set unless in interactive mode

cpython

$ python -i -c 'x=1; import sys; print sys.ps1'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
AttributeError: 'module' object has no attribute 'ps1'
>>> x
1
>>> sys.ps1
'>>> '
>>>

ipy

c:\cygwin64\home\rejap>ipy -X:Frames -i -c "x=1; import sys; print sys.ps1"
>>>
>>> x
1
>>> sys.ps1
'>>> '
>>>

test cases in modules/system_related/sys_test.py

Public API surface FXCop clean

12/27/2005 1:48 PM Opened by jimhug
Do this in stages and open bugs for each partial stage.
12/30/2005 5:37 PM Edited by jimhug
Current status just after beta1 is 3616 running fxcop on 64-bit box (which
means no spell-checker). Goal for beta2 is 2616.
12/30/2005 6:53 PM Edited by jimhug
Correction to beta1 results now running fxcop correctly gets 3983 on same 64
bit box. Leaving goal for beta2 unchanged at 2616.
3/23/2006 10:57 AM Edited by sborde
We need to factor out our public API and ensure it is FXCop clean. The rest of
the types should be made internal.
5/31/2006 3:29 PM Edited by martmaly
Public API surface clean.

High priority namespaces are clean, lowering priority to medium.

Work Item Details

Original CodePlex Issue: Issue 347
Status: Active
Reason Closed: Unassigned
Assigned to: Unassigned
Reported on: Jun 8, 2006 at 8:04 PM
Updated on: Feb 22, 2013 at 2:17 AM
Updated by: jdhardy
OpenBuild: 0.9.6

"No module named ..." exception in multi threading environment

Hi,

we are using IronPython (2.7.4 and before that 2.6.2) in a heavy multi threading environment. There is just one engine, but many threads that execute the same scripts over and over again.

We found a race condition when adding references to DLLs. A script that runs fine a hundred times sometimes throws the exception "No module named ..." when trying to execute a line like "from ... import *".

We tracked down the problem to the method LoadAssembly in the class ScriptDomainManager. When we extend the "lock" in that method, the problem disappears. Our new method looks like this:

public bool LoadAssembly(Assembly assembly) {
        ContractUtils.RequiresNotNull(assembly, "assembly");

        lock (_loadedAssemblies) {
            if (_loadedAssemblies.Contains(assembly)) {
                // only deliver the event if we've never added the assembly before
                return false;
            }
            _loadedAssemblies.Add(assembly);

            EventHandler<AssemblyLoadedEventArgs> assmLoaded = AssemblyLoaded;
            if (assmLoaded != null) {
                assmLoaded(this, new AssemblyLoadedEventArgs(assembly));
            }
        }

        return true;
    }

The following things seem to be needed to reproduce the problem:

Create a DLL ClassLibrary1 with an empty class Class1.
Create a DLL ClassLibrary2 with an empty class Class2.

Create a script A as follows:

import clr, sys
if not "c:\\VisualStudioProjects\\ClassLibrary1\\ClassLibrary1\\bin\\Debug\\" in sys.path:
   sys.path.append("c:\\VisualStudioProjects\\ClassLibrary1\\ClassLibrary1\\bin\\Debug\\")
clr.AddReferenceToFile("ClassLibrary1.dll")
from ClassLibrary1 import Class1

Create a script B as follows:

import clr, sys
if not "c:\\VisualStudioProjects\\ClassLibrary1\\ClassLibrary2\\bin\\Debug\\" in sys.path:
   sys.path.append("c:\\VisualStudioProjects\\ClassLibrary1\\ClassLibrary2\\bin\\Debug\\")
clr.AddReferenceToFile("ClassLibrary2.dll")
from ClassLibrary2 import Class2

Create a function Main in C# as follows:

static void Main() {
        while (true) {
            ScriptEngine _Engine = Python.CreateEngine();
            ScriptSource source = _Engine.CreateScriptSourceFromFile(@"script1.py");
            ScriptSource source1 = _Engine.CreateScriptSourceFromFile(@"script2.py");
            CompiledCode _Code = source.Compile();
            CompiledCode _Code1 = source1.Compile();

            _Code.Execute(_Engine.CreateScope());

            for (int i = 0; i < 10; i++) {
                Thread t = new Thread(() => {
                    try {
                        _Code1.Execute(_Engine.CreateScope());
                    }
                    catch (Exception ex) {
                        Console.WriteLine(ex.ToString());
                        throw;
                    }
                });
                t.Start();
            }
            Thread.Sleep(1000);
        }
    }

When you run this Main function, depending on your hardware it will take quite a lot of time, until the error occures for the first time. The race condition can be "forced" by adding a sleep in the ScriptDomainManager as follows:

public bool LoadAssembly(Assembly assembly) {
        ContractUtils.RequiresNotNull(assembly, "assembly");

        lock (_loadedAssemblies) {
            if (_loadedAssemblies.Contains(assembly)) {
                // only deliver the event if we've never added the assembly before
                return false;
            }
            _loadedAssemblies.Add(assembly);
        }
        Thread.Sleep(500);
            EventHandler<AssemblyLoadedEventArgs> assmLoaded = AssemblyLoaded;
            if (assmLoaded != null) {
                assmLoaded(this, new AssemblyLoadedEventArgs(assembly));
            }

        return true;
    }

Now it takes normally just a few seconds/runs of the program to trigger the error message.
With the extended lock as written before, this problem does not occur any more.

Best regards,

Thomas Mischke

Unreachable Expression Code Detected

I'm trying to compile IronPython with Mono Xbuild Version 2.10.8.0

On both Mac and PC (building with Xbuild) I got the same errors.

Runtime/PythonContext.cs(1982,94): error CS0429: Unreachable expression code detected
Runtime/PythonContext.cs(1983,101): error CS0429: Unreachable expression code detected
Runtime/PythonContext.cs(1987,63): error CS0429: Unreachable expression code detected
Task "Csc" execution -- FAILED

This starts a cascade of errors. I don't see this file.

Am I missing something obvious?
I'm building with: xbuild /p:Configuration=Release Solutions/IronPython.sln

bool value conversion malfunctions with Iron python libraries

I am finding an issue with iron python libraries while passing a boolean value

Say I have python code "booltest.py" like below.

   if ip_bool is not True and ip_bool is not False :
         print "invalid ip_bool"

And when I call it using Iron Python libraries

 ScriptEngine engine = Python.CreateEngine();
 ScriptScope scope = engine.CreateScope();

 scope.SetVariable("ip_bool", false);
 scope = engine.ExecuteFile("booltest.py", scope);

this results in printing 'invalid ip_bool' though its value is set to false

Further I updated "booltest.py" to test type and print more info

 print "Before conversion"
 print "class :" + ip_bool.__class__.__name__
 print "value " + str(ip_bool)

 print "ip_bool is not True # " + str(ip_bool is not True)
 print "ip_bool is not False # " + str(ip_bool is not False)

 ip_bool1 = bool(ip_bool)
 print "\nAfter conversion"
 print "class :" + ip_bool1.__class__.__name__
 print "value " + str(ip_bool1)

 print "ip_bool is not True # " + str(ip_bool1 is not True)
 print "ip_bool is not False # " + str(ip_bool1 is not False)

and it yields

+++++++++++++++++++++++
Before conversion
class :bool
value False
ip_bool is not True # True
ip_bool is not False # True

After conversion
class :bool
value False
ip_bool is not True # True
ip_bool is not False # False
+++++++++++++++++++++++

Thus passing a bool value from scripting libraries malfunctions

Windows App Cert Kit complains about P/Invoke to SetEnvironmentVariable

When running the Windows App Cert Kit to verify an App before uploading to the Windows App Store it complains that calls to the native function SetEnvironmentVariable are not supported.

This can easily be fixed by adding a compiler condition !WIN8 to the top of NativeMethods.cs. There already is one for Silverlight. So the complete condition should read:

if !SILVERLIGHT && !WIN8

day of week conversion of time.strptime is too restrictive

Underlying .net implementation of datetime conversion accepts only day of week matching the actual date where cpython implementation tolerates incomplete/invalid dates.

Python 2.7.8 (default, Jul 25 2014, 14:04:36)
[GCC 4.8.3] on cygwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import time
>>> time.strptime('Fri, July 9 7:30 PM', '%a, %B %d %I:%M %p')
time.struct_time(tm_year=1900, tm_mon=7, tm_mday=9, tm_hour=19, tm_min=30, tm_sec=0, tm_wday=4, tm_yday=190, tm_isdst=-1)
>>> time.strptime('Mon, July 9 7:30 PM', '%a, %B %d %I:%M %p')
time.struct_time(tm_year=1900, tm_mon=7, tm_mday=9, tm_hour=19, tm_min=30, tm_sec=0, tm_wday=0, tm_yday=190, tm_isdst=-1)
IronPython 2.7.5rc2 (2.7.5.0) on .NET 4.0.30319.18444 (32-bit)
Type "help", "copyright", "credits" or "license" for more information.
>>> import time
>>> time.strptime('Fri, July 9 7:30 PM', '%a, %B %d %I:%M %p')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ValueError: time data does not match format
data=Fri, July 9 7:30 PM, fmt=%a, %B %d %I:%M %p, to: ddd', 'MMMM' 'd' 'h':'m' 't'M'

>>> time.strptime('Wed, July 9 7:30 PM', '%a, %B %d %I:%M %p')
time.struct_time(tm_year=1900, tm_mon=7, tm_mday=9, tm_hour=19, tm_min=30, tm_sec=0, tm_wday=2, tm_yday=190, tm_isdst=-1)
>>> time.strptime('Mon, July 9 7:30 PM', '%a, %B %d %I:%M %p')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ValueError: time data does not match format
data=Mon, July 9 7:30 PM, fmt=%a, %B %d %I:%M %p, to: ddd', 'MMMM' 'd' 'h':'m' 't'M'

Only the second date is considered valid, because in 2014 July 9th is Wed.

In addition the trivial test cases are failing:

>>> time.strptime('Fri', '%a')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ValueError: time data does not match format
data=Fri, fmt=%a, to: ddd

In this case the only valid day of week in Monday, which matches DateTime.MinValue.DayOfWeek

IronRuby on WinRT

I'm a user of IronRuby. And I'm porting my project to WinRT.
I'm the coordinator of the Runa Engine project which is a XNA and IronRuby based dynamic game engine which fed on the power of IronRuby.
By far I found the problem that the script engine throw an exception that says "Not supporting create new CLR types on this platform."
I think it is because of the missing of reflection on WinRT. Is that possible to port some reflection part of Mono to solve the problem?

Extra File Checked In

It looks as if /util/references/windowsphone/7.1/Microsoft.Phone.dll was checked in on accident, as there is an identical file in /Util/References/WindowsPhone/7.1/Microsoft.Phone.dll.

IronPython.Wpf.dll is not loaded as intended

ipy.exe tries to load IronPython.Wpf.dll when you tun any script

But it fails to load it. Run fuslogvw -

LOG: This bind starts in default load context.
LOG: No application configuration file found.
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Attempting download of new URL file:///C:/Program Files/IronPython 2.7.1/IronPython.Wpf.dll.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/IronPython 2.7.1/IronPython.Wpf.dll/IronPython.Wpf.dll.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/IronPython 2.7.1/IronPython.Wpf.dll.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/IronPython 2.7.1/IronPython.Wpf.dll/IronPython.Wpf.dll.EXE.
LOG: All probing URLs attempted and failed.

I have found the dll in C:\Program Files\IronPython 2.7.1\DLLs

igem broken because module Etc is broken (OSX, Mono 2.6)

To replicate, run:
require 'etc'
Etc

This causes the following error
:0:in `const_missing': uninitialized constant Object::Etc (NameError)

This issue in turn breaks igem.

The environment is:
OSX leopard 10.5.8 using IronRuby master dc8ac12 built against Mono 2.6

PythonSocket -- unhandled exception in Finalize() in restricted AppDomain

Perhaps it's just my C# ignorance, but I haven't found a way to sandbox this away so that a sandboxed script can't bring down the host.

Example:

using System;
using System.Security;
using System.Security.Permissions;
using IronPython.Hosting;
using Microsoft.Scripting.Hosting;

namespace BugReport
{
    class Program
    {
        static void Main(string[] args)
        {
            AppDomain root = AppDomain.CurrentDomain;

            AppDomainSetup sandboxSetup = new AppDomainSetup();
            sandboxSetup.ApplicationBase = root.SetupInformation.ApplicationBase;

            PermissionSet sandboxPermissionSet = new PermissionSet(PermissionState.None);

            AppDomain sandbox = AppDomain.CreateDomain("sandbox", null, sandboxSetup, sandboxPermissionSet);

            ScriptEngine engine = Python.CreateEngine(sandbox);

            try
            {
                engine.Execute("from socket import *; s = socket(AF_INET, SOCK_STREAM)");
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex.ToString());
            }

            // we don't want to wait
            GC.Collect();
            GC.WaitForPendingFinalizers();

            Console.WriteLine("Press a key...");
            Console.ReadKey();
        }
    }
}

Exception:

System.Security.SecurityException was unhandled
  Message=Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
  Source=mscorlib
  StackTrace:
       at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet)
       at System.Security.CodeAccessSecurityEngine.Check(CodeAccessPermission cap, StackCrawlMark& stackMark)
       at System.Security.CodeAccessPermission.Demand()
       at System.Net.Sockets.Socket.get_Handle()
       at IronPython.Modules.PythonSocket.socket._close()
       at IronPython.Modules.PythonSocket.socket.Finalize()
  InnerException: 

IronPython.SQLite path issue on Unix

IronPython.SQLite removes leading slash on filenames.

Tested (on Linux) patch commenting out the two lines is attached here:

index 97e9cbb..76f54d8 100644
--- a/Languages/IronPython/IronPython.SQLite/c#sqlite/os_win_c.cs
+++ b/Languages/IronPython/IronPython.SQLite/c#sqlite/os_win_c.cs
@@ -2643,8 +2643,11 @@ int isTemp = 0;

       // /* Convert the filename to the system encoding. */
       zConverted = zUtf8Name;// convertUtf8Filename( zUtf8Name );
-      if ( zConverted.StartsWith( "/" ) && !zConverted.StartsWith( "//" ) )
-        zConverted = zConverted.Substring( 1 );
+      // -------------------------------------------------------------
+      // IronPython change for running on Posix or Windows
+      //if ( zConverted.StartsWith( "/" ) && !zConverted.StartsWith( "//" ) )
+      //zConverted = zConverted.Substring( 1 );
+      // -------------------------------------------------------------
       //if ( String.IsNullOrEmpty( zConverted ) )
       //{
       //  return SQLITE_NOMEM;

Allow SourceCodeKind statements to return value

IronPython, similar to CPython, has modes for how to evaluate code. Expressions will return a value, but I don't think any of the statement-oriented evaluations will return a value. However, IPython has another manner of executing code that will return the last expression, even if after a set of statements. For example, if you enter this in a cell:

x = 1
y = 2
x + y

You'll get "3" as output. The way that they do that is to parse the input, and evaluate each statement, returning the result of the last one. This is really handy when doing cell-based computation as it allows the last item to be displayed/viewed/used.

It would be nice if IronPython allowed this type of evaluation.

SourceKinds:

https://github.com/IronLanguages/main/blob/master/Runtime/Microsoft.Scripting/SourceCodeKind.cs

[ipy 2.7] str.startswith() difference between ipy and CPython

There is a behavior difference between CPython 2.7.6 and latest ipy 2.7 from ipy-2.7-maint branch:

$ cat stringtest.py
print("abc".startswith(b"a"))
$ python2.7 ./stringtest.py
True
$ ./ipy ./stringtest.py
Traceback (most recent call last):
File "./stringtest.py", line 1, in
TypeError: expected string or Tuple, got IronPython.Runtime.Bytes Type

Fix for #33663

I've written a fix for #33663:

diff --git a/Languages/IronPython/IronPython/Runtime/Super.cs b/Languages/IronPython/IronPython/Runtime/Super.cs
index eddb18a..2bdbac3 100644
--- a/Languages/IronPython/IronPython/Runtime/Super.cs
+++ b/Languages/IronPython/IronPython/Runtime/Super.cs
@@ -170,8 +170,8 @@ namespace IronPython.Runtime {

     private PythonType DescriptorContext {
         get {
  •            if (!DynamicHelpers.GetPythonType(_self).IsSubclassOf(_thisClass)) {
    
  •                return _thisClass;
    
  •            if (!(DynamicHelpers.GetPythonType(_self).IsSubclassOf(_thisClass))) {
    
  •                return _selfClass as PythonType ?? _thisClass;
             }
    
             PythonType dt = _selfClass as PythonType;
    

    diff --git a/Languages/IronPython/Tests/test_super.py b/Languages/IronPython/Tests/test_super.py
    new file mode 100644
    index 0000000..8f8b2b3
    --- /dev/null
    +++ b/Languages/IronPython/Tests/test_super.py
    @@ -0,0 +1,61 @@
    +#####################################################################################
    +#
    +# Copyright (c) Michael van der Kolff. All rights reserved.
    +#
    +# This source code is subject to terms and conditions of the Apache License, Version 2.0. A
    +# copy of the license can be found in the License.html file at the root of this distribution. If
    +# you cannot locate the Apache License, Version 2.0, please send an email to
    +# [email protected]. By using this source code in any fashion, you are agreeing to be bound
    +# by the terms of the Apache License, Version 2.0.
    +#
    +# You must not remove this notice, or any other, from this software.
    +#
    +#
    +#####################################################################################
    +
    +##
    +## Test whether super() behaves as expected
    +##
    +
    +from iptest.assert_util import *
    +
    +class A(object):

  • """Doc string A"""

  • @classmethod

  • def cls_getDoc(cls):

  •    return cls.**doc**
    
  • def inst_getDoc(self):

  •    return self.**doc**
    

    +class B(A):

  • """Doc string B"""

  • @classmethod

  • def cls_getDoc(cls):

  •    return super(B,cls).cls_getDoc()
    
  • def inst_getDoc(self):

  •   return super(B,self).inst_getDoc()
    

    +class C(B):

  • """Doc string C"""

  • pass

+class D(B):

  • """Doc string D"""
  • @classmethod
  • def cls_getDoc(cls):
  •    return super(D,cls).cls_getDoc()
    
  • def inst_getDoc(self):
  •   return super(D,self).inst_getDoc()
    
    +def test_classSupermethods():
  • for cls in (A,B,C,D):
  •   AreEqual(cls.cls_getDoc(), cls.**doc**)
    
    +def test_instanceSupermethods():
  • for cls in (A,B,C,D):
  •   AreEqual(cls().inst_getDoc(), cls.**doc**)
    
    +run_test(name)
    diff --git a/Test/IronPython.tests b/Test/IronPython.tests
    index 6996f65..5ef48e8 100644
    --- a/Test/IronPython.tests
    +++ b/Test/IronPython.tests
    @@ -197,6 +197,17 @@
    %DLR_ROOT%\Languages\IronPython\Tests

  •      <Name>test_super_20</Name>
    
  •      <Filename>%DLR_ROOT%\Languages\IronPython\Internal\ipy.bat</Filename>
    
  •      <Arguments>test_super.py</Arguments>
    
  •      <MaxDuration>600000</MaxDuration>
    
  •      <LongRunning>false</LongRunning>
    
  •      <Disabled>false</Disabled>
    
  •      <RequiresAdmin>false</RequiresAdmin>
    
  •      <NotParallelSafe>false</NotParallelSafe>
    
  •      <WorkingDirectory>%DLR_ROOT%\Languages\IronPython\Tests</WorkingDirectory>
    
  •    </Test>
    
  •    <Test>
       <Name>test_tuple_20</Name>
       <Filename>%DLR_ROOT%\Languages\IronPython\Internal\ipy.bat</Filename>
       <Arguments>test_tuple.py</Arguments>
    

"TypeError: find_module() takes exactly 2 arguments" during debug a script load customize DLLs

I wrote an simple py named "test.py" to demo this Issue

def hello():
    print "hello world!"

and I use Tools\Scripts\pyc.py it compile it into DLLs

C:\IronPython-2.7.3>ipy.exe Tools\Scripts\pyc.py /target:dll /out:DLLs/test.dll D:\test.py
Input Files:
        D:\test.py
Output:
        DLLs/test.dll
Target:
        Dll
Platform:
        ILOnly
Machine:
        I386

Compiling...
Saved to test

I write another script to to import use it by clr.AddReference

import clr
clr.AddReference("test")
import test
test.hello()

It was just Fine in normal mode

C:\IronPython-2.7.3>ipy.exe test2.py
hello world!

But when I use pdb to debug test2.py,will got following error message

C:\IronPython-2.7.3>ipy.exe -X:Frames -X:Tracing -m pdb test2.py
Unhandled exception:
Traceback (most recent call last):
  File "C:\IronPython-2.7.3\Lib\runpy.py", line 170, in run_module
  File "C:\IronPython-2.7.3\Lib\runpy.py", line 101, in _get_module_details
  File "C:\IronPython-2.7.3\Lib\pkgutil.py", line 456, in get_loader
  File "C:\IronPython-2.7.3\Lib\pkgutil.py", line 467, in find_loader
TypeError: find_module() takes exactly 2 arguments (1 given)

after some source tracing,I change the pkgutil.py

diff --git a/Lib/pkgutil.py b/Lib/pkgutil.py
index 322bbdf..3509b46 100644
--- a/Lib/pkgutil.py
+++ b/Lib/pkgutil.py
@@ -464,7 +464,7 @@ def find_loader(fullname):
     platform-specific special import locations such as the Windows registry.
     """
     for importer in iter_importers(fullname):
-        loader = importer.find_module(fullname)
+        loader = importer.find_module(fullname,[])
         if loader is not None:
             return loader

Now, I can debug this code.

C:\IronPython-2.7.3>ipy.exe -X:Frames -X:Tracing -m pdb test2.py
> c:\ironpython-2.7.3\test2.py(1)<module>()
-> import clr
(Pdb) c
hello world!

Language provider does not inherit from LanguageContext

Hello,

First of all, I apologize if this is not the correct place to discuss this problem. Please direct me to the correct place.

I am trying to host a custom language on top the DLR found here. I've implemented a class that derives from LanguageContext and everything appears to be set correctly, however I still get the error: "Failed to load language '{0}': type '{1}' is not a valid language provider because it does not inherit from LanguageContext".

To diagnose the problem I moved the Microsoft.Dynamic and Microsoft.Scripting project code into my solution to be sure that the issue is not due to dependency on specific assembly versions. The error is still there.

The interesting part is that by modifying the test in Microsoft.Scripting.Runtime.LanguageConfiguration.LoadLanguageContext I can get it to work.

Original line:
if (!type.GetTypeInfo().IsSubclassOf(typeof(LanguageContext))) { ... }

Changed to:
bool isSubclass = type.GetTypeInfo().IsSubclassOf(typeof(LanguageContext));
if (!isSubclass) { ... }

Can anyone explain why the behavior differs? Am I missing something?

Thanks!

PS: I am running on VS 2012 / .Net 4.5

dictproxy iteration does not yield descriptors

Descriptors are omitted from dictproxy iteration. See ipy console session:

IronPython 2.7.3 (2.7.0.40) on Mono 4.0.30319.17020 (64-bit)
Type "help", "copyright", "credits" or "license" for more information.
>>> class Descriptor(object):
...  def __get__(self, instance, owner): return instance.x    
... 
>>> class X(object): a = Descriptor()
... 
>>> X.__dict__
<dictproxy object at 0x000000000000003E>
>>> X.__dict__['a']
<Descriptor object at 0x000000000000003D>
>>> X.__dict__.keys()
['__doc__', '__weakref__', '__dict__', '__module__']

The expected behaviour is that descriptors would appear in dictproxy iteration.

Cannot setup ipython on mono

I'm using IronPython 2.7.4rc1 (2.7.0.40) on Mono 4.0.30319.17020 (64-bit)

I git cloned the latest version of ipython, navigated to the ipython directory, and ran

ipy setup.py install

Got the following error:

Traceback (most recent call last):
File "setup.py", line 61, in
File "/mnt/development/keki/ipython/setupbase.py", line 386, in
File "IPython/utils/submodule.py", line 15, in
File "/devel/keki/ironpython/Lib/subprocess.py", line 430, in
ImportError: No module named fcntl

Being able to run ironpython from within an ipython shell would fantastic. But this currently doesn't seem to work under mono

PythonContext leak

It seems that PythonContext objects created under the hood in hosted scripting can leak in some circumstances. From my observations, it seems normal and acceptable that the first instance of PythonContext remains live, and the same applies to the latest one.

Other instances, however, should be collected. This is important because PythonContext holds references to AST data that can get pretty large (I have observed 70 MB leaks at work).

The example below shows how to create leaks. Importing some modules triggers these leaks, but not all. For instance, sys is OK, but os leaks.

using System;
using System.Collections.Generic;
using System.Threading;
using Microsoft.Scripting.Runtime;
using IronPython.Compiler;
using IronPython.Runtime;
using Microsoft.Scripting.Hosting.Providers;
using Microsoft.Scripting.Hosting;

namespace IronPythonLeak
{
    class Program
    {
        static readonly string code = @"
import os
";
        static WeakReference wr = null;

        static void AddSearchPath(ScriptEngine engine) {
            var sp = engine.GetSearchPaths();
// Set to your liking
            sp.Add(@"....\main\External.LCA_RESTRICTED\Languages\IronPython\27\Lib");
            engine.SetSearchPaths(sp);
        }

        static void RunOnce(bool storeLanguageContext)
        {
            var options = new Dictionary<string, object>();
            options["Frames"] = ScriptingRuntimeHelpers.True;
            options["FullFrames"] = ScriptingRuntimeHelpers.True;
            options["LightweightScopes"] = ScriptingRuntimeHelpers.True;
            var setup = IronPython.Hosting.Python.CreateLanguageSetup(options);
            setup.ExceptionDetail = true;
            var runtime = IronPython.Hosting.Python.CreateRuntime();            
            var engine = runtime.GetEngineByFileExtension("py");
            if (storeLanguageContext)
                wr = new WeakReference(HostingHelpers.GetLanguageContext(engine));
            var compilerOptions = (PythonCompilerOptions)engine.GetCompilerOptions();
            compilerOptions.Module |= ModuleOptions.Interpret;
            compilerOptions.Module &= ~ModuleOptions.Optimized;
            AddSearchPath(engine); // Needed if using freshly compiled, non-installed IronPython DLLs.
            engine.Execute(code);
            runtime.Shutdown();
        }

        static void Main(string[] args)
        {
            Console.Write(code);
            RunOnce(false);
            RunOnce(true);
            RunOnce(false);
            System.GC.Collect();
            if (wr.IsAlive)
                Console.Write("Leaked");
            else
                Console.Write("Not leaked");
            Console.ReadKey(true);
        }
    }
}

Python console bugged with US International keyboard layout

The US International keyboard works as follows:

To get ' you press the ' key then space.
To get " you press shift and the ' key then space.
To get á you press the ' key then a.
To get ä you press shift and the ' key then a.

When using the IronPython console with this layout, it enters ^@ character on the first keypress. Pressing the second key will then cause the correct character to appear, but the user has to manually move the cursor back and delete the ^@.

This behavior makes it effectively impossible (or prohibitively annoying :)) to enter strings.

Using the CPython console does not show this behavior.

Can't import signals when IronPython used ontop Mono

I was trying to use unittest and found that
I'm using IronPython binaries from the website

> /extra/views/ifruchte/mono/IronPython-2.7.2.1> ../install/bin/mono 
> --version Mono JIT compiler version 2.10.2 (tarball Sun Oct  2 
> 17:05:21 IST 2011) Copyright (C) 2002-2011 Novell, Inc and Contributors. www.mono-project.com
>         TLS:           __thread
>         SIGSEGV:       altstack
>         Notifications: epoll
>         Architecture:  amd64
>         Disabled:      none
>         Misc:          softdebug
>         LLVM:          supported, not enabled.
>         GC:            Included Boehm (with typed GC and Parallel Mark)
>  
> /extra/views/ifruchte/mono/IronPython-2.7.2.1> ../install/bin/mono 
> ipy.exe -v IronPython 2.7.2.1 (2.7.0.40) on Mono 4.0.30319.1 (64-bit) 
> Type "help", "copyright", "credits" or "license" for more information.
> >>> 
>  
> /extra/views/ifruchte/mono/IronPython-2.7.2.1> ../install/bin/mono ipy.exe -c "import unittest"
> Traceback (most recent call last):
>   File "<string>", line 1, in <module>
>   File "/extra/views/ifruchte/mono/IronPython-2.7.2.1/Lib/unittest/__init__.py", line 64, in <module>
>   File "/extra/views/ifruchte/mono/IronPython-2.7.2.1/Lib/unittest/main.py", line 7, in <module>
>   File "/extra/views/ifruchte/mono/IronPython-2.7.2.1/Lib/unittest/runner.py", line 7, in <module>
>   File 
> "/extra/views/ifruchte/mono/IronPython-2.7.2.1/Lib/unittest/signals.py
> ", line 1, in <module>
> StandardError: Exception has been thrown by the target of an invocation.
>  
> /extra/views/ifruchte/mono/IronPython-2.7.2.1> ../install/bin/mono ipy.exe -c "import signal"
> Traceback (most recent call last):
>   File "<string>", line 1, in <module>
> StandardError: Exception has been thrown by the target of an invocation.

Failed to execute FileUtils.mkdir_p

Hello.

When I executing rubygems,
I find a bug around FileUtils.mkdir_p.

OS: Ubuntu 12.10
C#: mono 3.0.7
$ ruby --version
IronRuby 1.1.3.0 on 3.0.7 (tarball Wed Apr 3 11:21:23 PDT 2013)

When call FileUtils.mkdir_p "/tmp/foo/bar" on condition "/tmp/foo" and "/tmp/foo/bar" not exists, it throws ArgumentError

$ ruby
IronRuby 1.1.3.0 on 3.0.7 (tarball Wed Apr  3 11:21:23 PDT 2013)
Copyright (c) Microsoft Corporation. All rights reserved.

>>> require "fileutils"
=> true
>>> FileUtils.mkdir_p "/tmp/foo/bar"
mscorlib:0:in `GetDirectoryName': Invalid path (ArgumentError)
    from /usr/local/ironruby/bin/../lib/ruby/1.9.1/fileutils.rb:245:in `mkdir'
    from /usr/local/ironruby/bin/../lib/ruby/1.9.1/fileutils.rb:245:in `fu_mkdir'
    from /usr/local/ironruby/bin/../lib/ruby/1.9.1/fileutils.rb:217:in `reverse_each'
    from /usr/local/ironruby/bin/../lib/ruby/1.9.1/fileutils.rb:217:in `mkdir_p'
    from /usr/local/ironruby/bin/../lib/ruby/1.9.1/fileutils.rb:215:in `each'
    from /usr/local/ironruby/bin/../lib/ruby/1.9.1/fileutils.rb:215:in `mkdir_p'
    from /usr/local/ironruby/bin/../lib/ruby/1.9.1/fileutils.rb:201:in `mkdir_p'

I found mkdir_p "/tmp/foo/bar/" call fu_mkdir "", fu_mkdir "" call Dir.mkdir "".
But Dir.mkdir "" throws ArgumentError because it calls GetDirectoryName("") (MRI Ruby throws ENOENT extends SystemCallError)

https://github.com/IronLanguages/main/blob/master/Languages/Ruby/Libraries/Builtins/Dir.cs Line:217

mkdir_p cannot rescue ArgumentError, so it fails. (mkdir_p can rescue SystemCallError, so MRI Ruby can execute it)

dict lookup of System.Int64 and long is not the same

To reproduce:

>>> dct = {}
>>> import System
>>> dct[System.Int64(1110766100758387874)] = "FindMe?"
>>> dct[System.Int64(1110766100758387874)]
'FindMe!'
>>> dct[1110766100758387874]
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
KeyError: 1110766100758387874

Same for set:

>>> s = set()
>>> s.add(System.Int64(1110766100758387874))
>>> System.Int64(1110766100758387874) in s
True
>>> 1110766100758387874 in s
False

This happens to me because I use NHibernate, where the model class is a C# class with an Id of System.Int64. Whenever I use a dict, and the Id as a key, this happens because I sometimes look for the id as a regular python number.

tarfile.is_tarfile() raises IOError on non-tarfiles

The tarfile.is_tarfile() function within IronPython 2.7.4 raises an IOError when trying to open a file that is not a tar file. In CPython 2.7 it works without any problems.

The tarfile module is identical, further investigation shows that the behaviour of bz2.BZ2File() is different. In CPython, using bz2.BZFile() on an uncompressed file does not raise an exception. The CPython documentation also does not indicate that it shall raise an IOError (http://docs.python.org/2.7/library/bz2.html#bz2.BZ2File).

IronPython however raises an IOError, as shown below (using tarfile.is_tarfile()):

C:\projects\python-utils>c:\python27-x86\python.exe -c "import tarfile; print(tarfile.is_tarfile('C:\windows\win.ini'))"
False

C:\projects\python-utils>c:\IronPython-2.7.4\ipy.exe -c "import tarfile;
print(tarfile.is_tarfile('C:\windows\win.ini'))"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "c:\IronPython-2.7.4\Lib\tarfile.py", line 2584, in is_tarfile
  File "c:\IronPython-2.7.4\Lib\tarfile.py", line 1658, in open
  File "c:\IronPython-2.7.4\Lib\tarfile.py", line 1744, in bz2open
IOError: System.IO.IOException: Not a valid BZip2 stream. byte 0, expected '66', got '59'
   bei Microsoft.Scripting.Runtime.LightExceptions.CheckAndThrow(Object value)
   bei Microsoft.Scripting.Interpreter.FuncCallInstruction`2.Run(InterpretedFrame frame)
   bei Microsoft.Scripting.Interpreter.Interpreter.HandleException(InterpretedFrame frame, Exception exception)
   bei Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame)
   bei Microsoft.Scripting.Interpreter.LightLambda.Run2[T0,T1,TRet](T0 arg0, T1 arg1)
   bei IronPython.Compiler.PythonCallTargets.OriginalCallTarget1(PythonFunction function, Object arg0)
   bei IronPython.Runtime.FunctionCaller`1.Call1(CallSite site, CodeContext context, Object func, T0 arg0)
   bei System.Dynamic.UpdateDelegates.UpdateAndExecute3[T0,T1,T2,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2)
   bei Microsoft.Scripting.Interpreter.DynamicInstruction`4.Run(InterpretedFrame frame)
   bei Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame)
   bei Microsoft.Scripting.Interpreter.LightLambda.Run2[T0,T1,TRet](T0 arg0, T1 arg1)
   bei IronPython.Compiler.PythonScriptCode.RunWorker(CodeContext ctx)
   bei IronPython.Compiler.PythonScriptCode.Run(Scope scope)
   bei IronPython.Compiler.RuntimeScriptCode.InvokeTarget(Scope scope)
   bei IronPython.Compiler.RuntimeScriptCode.Run(Scope scope)
   bei Microsoft.Scripting.Hosting.CompiledCode.Execute(ScriptScope scope)
   bei Microsoft.Scripting.Hosting.Shell.CommandLine.SimpleCommandDispatcher.Execute(CompiledCode compiledCode, ScriptScope scope)
   bei Microsoft.Scripting.Hosting.Shell.CommandLine.ExecuteCommand(ScriptSource source)
   bei IronPython.Hosting.PythonCommandLine.RunCommandWorker(String command)
   bei IronPython.Hosting.PythonCommandLine.RunCommand(String command)

Further investigation on the bz2 module:

C:\projects\python-utils>c:\python27-x86\python.exe -c "import bz2; print(bz2.BZ2File('C:\windows\win.ini'))"
<bz2.BZ2File object at 0x01DADD10>

C:\projects\python-utils>c:\IronPython-2.7.4\ipy.exe -c "import bz2; print(bz2.BZ2File('C:\windows\win.ini'))"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
IOError: System.IO.IOException: Not a valid BZip2 stream. byte 0, expected '66', got '59'
   bei Ionic.BZip2.BZip2InputStream.CheckMagicChar(Char expected, Int32 position)
   bei Ionic.BZip2.BZip2InputStream.init()
   bei Ionic.BZip2.BZip2InputStream..ctor(Stream input, Boolean leaveOpen)
   bei Ionic.BZip2.BZip2InputStream..ctor(Stream input)
   bei IronPython.Modules.Bz2.Bz2Module.BZ2File.__init__(CodeContext context, String filename, String mode, Int32 buffering, Int32 compresslevel)
[...]

unable to run geninit from linux/mono

Hey guys,

I'm working on adding min_by (I would like to have it for a project.) Forked here, with my crude attempt:

bennidhamma@4d26123
bennidhamma@aa49ac9

but I am unable to run geninit. I tried extracting the batch and cmd file arguments, but I get an error complaining about no output file being specified.

has anyone gotten this to work in Linux/Mono?

thanks!

ir64.exe.config missing from install set

I recently installed 0.9.3 and started writing scripts.

I installed the test-unit gem by running "igem install test-unit" and then when I ran

require "test/unit" in a script using ir64.exe i get a loaderror but when i run the script with ir.exe it loads fine.

Workaround
if I copy ir.exe.config and rename it to ir64.exe.config then i can access the gem library

IronPython: solution include line for License.rtf breaks builds on certain filesystems

The

<MiscFiles Include="$(BaseDir)\Languages\IronPython\Public\License.rtf" />

include line in Build.IronPython.proj under Solutions/ causes the build process to break on filesystems that use case-aware file and directory names (nearly all unix-like systems). The line should be changed to the correct form

<MiscFiles Include="$(BaseDir)\Languages\IronPython\Public\License.Rtf" />

[ipy 2.7] warnings.catch_warnings does not work

IronPython 2.7.5b1 (2.7.0.40) on Mono 4.0.30319.17020 (64-bit)
Type "help", "copyright", "credits" or "license" for more information.
>>> import warnings
>>> with warnings.catch_warnings():
...     warnings.simplefilter("ignore")
...     warnings.warn("xxx", DeprecationWarning)
... 
__main__:1: DeprecationWarning: xxx
>>> warnings.simplefilter("ignore")             
>>> warnings.warn("xxx", DeprecationWarning)    
>>> 

[ipy 2.7] Exception in SafeConfigParser.readfp() with StringIO

SafeConfigParser() throws an exception, if used with io.StringIO.
Versions are CPython 2.7.6 and latest ipy 2.7 from ipy-2.7-maint branch:

$ cat configtest.py
import ConfigParser
import io
text = u"[A]\nb=c\n"
p = ConfigParser.SafeConfigParser()
p.readfp(io.StringIO(text), "foo")
$ python2.7 ./configtest.py
$ ./ipy ./configtest.py
Traceback (most recent call last):
File "./configtest.py", line 5, in
ValueError: write to closed file

NoWarn 444 breaks compilation with mono>3

In the file Solutions/Common.proj, line 162:

<NoWarn>1591;1584;1574;444;1685;1573</NoWarn>

Warning 444 seems to be removed with mono>3, which triggers a "`444' is not a valid warning number" warning that is translated into an error as it is not in

Possible solutions: remove 444 from or add the corresponding validity warning to

IronLanguages for .NET 3.5

Hi,

I am looking for old source code that targets .NET 3.5. The latest is .NET 4.0. We need older version for legacy applications.

Thank you,
-Khoa

install pip raise DistutilsByteCompileError('byte-compiling is disabled.')

I got following error during install pip,

D:\pip-1.1>C:\IronPython-2.7.3\ipy.exe -X:Frames -X:FullFrames setup.py install
running install
running bdist_egg
running egg_info
writing entry points to pip.egg-info\entry_points.txt
writing dependency_links to pip.egg-info\dependency_links.txt
writing pip.egg-info\PKG-INFO
writing top-level names to pip.egg-info\top_level.txt
reading manifest file 'pip.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.html' under directory 'docs'
warning: no previously-included files matching '*.txt' found under directory 'do
cs\_build'
no previously-included directories found matching 'docs\_build\_sources'
writing manifest file 'pip.egg-info\SOURCES.txt'
installing library code to build\bdist.cli\egg
running install_lib
running build_py
warning: build_py: byte-compiling is disabled, skipping.

creating build\bdist.cli\egg
creating build\bdist.cli\egg\pip
copying build\lib\pip\__init__.py -> build\bdist.cli\egg\pip
copying build\lib\pip\_pkgutil.py -> build\bdist.cli\egg\pip
copying build\lib\pip\backwardcompat.py -> build\bdist.cli\egg\pip
copying build\lib\pip\basecommand.py -> build\bdist.cli\egg\pip
copying build\lib\pip\baseparser.py -> build\bdist.cli\egg\pip
copying build\lib\pip\download.py -> build\bdist.cli\egg\pip
copying build\lib\pip\exceptions.py -> build\bdist.cli\egg\pip
copying build\lib\pip\index.py -> build\bdist.cli\egg\pip
copying build\lib\pip\locations.py -> build\bdist.cli\egg\pip
copying build\lib\pip\log.py -> build\bdist.cli\egg\pip
copying build\lib\pip\req.py -> build\bdist.cli\egg\pip
copying build\lib\pip\runner.py -> build\bdist.cli\egg\pip
copying build\lib\pip\status_codes.py -> build\bdist.cli\egg\pip
copying build\lib\pip\util.py -> build\bdist.cli\egg\pip
creating build\bdist.cli\egg\pip\commands
copying build\lib\pip\commands\__init__.py -> build\bdist.cli\egg\pip\commands
copying build\lib\pip\commands\bundle.py -> build\bdist.cli\egg\pip\commands
copying build\lib\pip\commands\completion.py -> build\bdist.cli\egg\pip\commands

copying build\lib\pip\commands\freeze.py -> build\bdist.cli\egg\pip\commands
copying build\lib\pip\commands\help.py -> build\bdist.cli\egg\pip\commands
copying build\lib\pip\commands\install.py -> build\bdist.cli\egg\pip\commands
copying build\lib\pip\commands\search.py -> build\bdist.cli\egg\pip\commands
copying build\lib\pip\commands\uninstall.py -> build\bdist.cli\egg\pip\commands
copying build\lib\pip\commands\unzip.py -> build\bdist.cli\egg\pip\commands
copying build\lib\pip\commands\zip.py -> build\bdist.cli\egg\pip\commands
creating build\bdist.cli\egg\pip\vcs
copying build\lib\pip\vcs\__init__.py -> build\bdist.cli\egg\pip\vcs
copying build\lib\pip\vcs\bazaar.py -> build\bdist.cli\egg\pip\vcs
copying build\lib\pip\vcs\git.py -> build\bdist.cli\egg\pip\vcs
copying build\lib\pip\vcs\mercurial.py -> build\bdist.cli\egg\pip\vcs
copying build\lib\pip\vcs\subversion.py -> build\bdist.cli\egg\pip\vcs
warning: install_lib: byte-compiling is disabled, skipping.

creating build\bdist.cli\egg\EGG-INFO
copying pip.egg-info\PKG-INFO -> build\bdist.cli\egg\EGG-INFO
copying pip.egg-info\SOURCES.txt -> build\bdist.cli\egg\EGG-INFO
copying pip.egg-info\dependency_links.txt -> build\bdist.cli\egg\EGG-INFO
copying pip.egg-info\entry_points.txt -> build\bdist.cli\egg\EGG-INFO
copying pip.egg-info\not-zip-safe -> build\bdist.cli\egg\EGG-INFO
copying pip.egg-info\top_level.txt -> build\bdist.cli\egg\EGG-INFO
creating 'dist\pip-1.1-py2.7.egg' and adding 'build\bdist.cli\egg' to it
removing 'build\bdist.cli\egg' (and everything under it)
Processing pip-1.1-py2.7.egg
removing 'c:\ironpython-2.7.3\lib\site-packages\pip-1.1-py2.7.egg' (and everything
 under it)
creating c:\ironpython-2.7.3\lib\site-packages\pip-1.1-py2.7.egg
Extracting pip-1.1-py2.7.egg to c:\ironpython-2.7.3\lib\site-packages
error: byte-compiling is disabled.

I found it was cause by 'Lib\distutils\util.py',maybe it should not raise DistutilsByteCompileError('byte-compiling is disabled.')

# nothing is done if sys.dont_write_bytecode is True
if sys.dont_write_bytecode:
    raise DistutilsByteCompileError('byte-compiling is disabled.')
 Lib/distutils/util.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Lib/distutils/util.py b/Lib/distutils/util.py
index f06e4fd..9345e86 100644
--- a/Lib/distutils/util.py
+++ b/Lib/distutils/util.py
@@ -452,7 +452,8 @@ def byte_compile (py_files,
     """
     # nothing is done if sys.dont_write_bytecode is True
     if sys.dont_write_bytecode:
-        raise DistutilsByteCompileError('byte-compiling is disabled.')
+        return
+        #raise DistutilsByteCompileError('byte-compiling is disabled.')

     # First, if the caller didn't force us into direct or indirect mode,
     # figure out which mode we should be in.  We take a conservative

after ignore raise DistutilsByteCompileError('byte-compiling is disabled.'),it just fine.

D:\pip-1.1>C:\IronPython-2.7.3\ipy.exe -X:Frames -X:FullFrames setup.py install
running install
running bdist_egg
running egg_info
writing entry points to pip.egg-info\entry_points.txt
writing dependency_links to pip.egg-info\dependency_links.txt
writing pip.egg-info\PKG-INFO
writing top-level names to pip.egg-info\top_level.txt
reading manifest file 'pip.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.html' under directory 'docs'
warning: no previously-included files matching '*.txt' found under directory 'docs\_build'
no previously-included directories found matching 'docs\_build\_sources'
writing manifest file 'pip.egg-info\SOURCES.txt'
installing library code to build\bdist.cli\egg
running install_lib
running build_py
warning: build_py: byte-compiling is disabled, skipping.

creating build\bdist.cli\egg
creating build\bdist.cli\egg\pip
copying build\lib\pip\__init__.py -> build\bdist.cli\egg\pip
copying build\lib\pip\_pkgutil.py -> build\bdist.cli\egg\pip
copying build\lib\pip\backwardcompat.py -> build\bdist.cli\egg\pip
copying build\lib\pip\basecommand.py -> build\bdist.cli\egg\pip
copying build\lib\pip\baseparser.py -> build\bdist.cli\egg\pip
copying build\lib\pip\download.py -> build\bdist.cli\egg\pip
copying build\lib\pip\exceptions.py -> build\bdist.cli\egg\pip
copying build\lib\pip\index.py -> build\bdist.cli\egg\pip
copying build\lib\pip\locations.py -> build\bdist.cli\egg\pip
copying build\lib\pip\log.py -> build\bdist.cli\egg\pip
copying build\lib\pip\req.py -> build\bdist.cli\egg\pip
copying build\lib\pip\runner.py -> build\bdist.cli\egg\pip
copying build\lib\pip\status_codes.py -> build\bdist.cli\egg\pip
copying build\lib\pip\util.py -> build\bdist.cli\egg\pip
creating build\bdist.cli\egg\pip\commands
copying build\lib\pip\commands\__init__.py -> build\bdist.cli\egg\pip\commands
copying build\lib\pip\commands\bundle.py -> build\bdist.cli\egg\pip\commands
copying build\lib\pip\commands\completion.py -> build\bdist.cli\egg\pip\commands

copying build\lib\pip\commands\freeze.py -> build\bdist.cli\egg\pip\commands
copying build\lib\pip\commands\help.py -> build\bdist.cli\egg\pip\commands
copying build\lib\pip\commands\install.py -> build\bdist.cli\egg\pip\commands
copying build\lib\pip\commands\search.py -> build\bdist.cli\egg\pip\commands
copying build\lib\pip\commands\uninstall.py -> build\bdist.cli\egg\pip\commands
copying build\lib\pip\commands\unzip.py -> build\bdist.cli\egg\pip\commands
copying build\lib\pip\commands\zip.py -> build\bdist.cli\egg\pip\commands
creating build\bdist.cli\egg\pip\vcs
copying build\lib\pip\vcs\__init__.py -> build\bdist.cli\egg\pip\vcs
copying build\lib\pip\vcs\bazaar.py -> build\bdist.cli\egg\pip\vcs
copying build\lib\pip\vcs\git.py -> build\bdist.cli\egg\pip\vcs
copying build\lib\pip\vcs\mercurial.py -> build\bdist.cli\egg\pip\vcs
copying build\lib\pip\vcs\subversion.py -> build\bdist.cli\egg\pip\vcs
warning: install_lib: byte-compiling is disabled, skipping.

creating build\bdist.cli\egg\EGG-INFO
copying pip.egg-info\PKG-INFO -> build\bdist.cli\egg\EGG-INFO
copying pip.egg-info\SOURCES.txt -> build\bdist.cli\egg\EGG-INFO
copying pip.egg-info\dependency_links.txt -> build\bdist.cli\egg\EGG-INFO
copying pip.egg-info\entry_points.txt -> build\bdist.cli\egg\EGG-INFO
copying pip.egg-info\not-zip-safe -> build\bdist.cli\egg\EGG-INFO
copying pip.egg-info\top_level.txt -> build\bdist.cli\egg\EGG-INFO
creating 'dist\pip-1.1-py2.7.egg' and adding 'build\bdist.cli\egg' to it
removing 'build\bdist.cli\egg' (and everything under it)
Processing pip-1.1-py2.7.egg
creating c:\ironpython-2.7.3\lib\site-packages\pip-1.1-py2.7.egg
Extracting pip-1.1-py2.7.egg to c:\ironpython-2.7.3\lib\site-packages
Adding pip 1.1 to easy-install.pth file
Installing pip-2.7 script to C:\IronPython-2.7.3\Scripts
Installing pip script to C:\IronPython-2.7.3\Scripts

Installed c:\ironpython-2.7.3\lib\site-packages\pip-1.1-py2.7.egg
Processing dependencies for pip==1.1
Finished processing dependencies for pip==1.1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.