↓のプログラムを .NET 4 で動かしてみたらば……

C:\XNA\python>"C:\Program Files\IronPython 2.6 for .NET 4.0\ipy.exe" template.py

Traceback (most recent call last):
  File "template.py", line 10, in <module>
IOError: System.IO.FileLoadException: 混合モード アセンブリはバージョン 'v2.0.50727' のランタイムに対して作成されており、追加の構成情報がないと 4.0 ランタイムでは読み込めません。
   場所 Microsoft.Scripting.Actions.Calls.MethodCandidate.Caller.Call(Object[] args, Boolean& shouldOptimize)
   場所 IronPython.Runtime.Types.BuiltinFunction.BuiltinFunctionCaller`2.Call1(CallSite site, CodeContext context, TFuncType func, T0 arg0)
   場所 IronPython.Compiler.Ast.CallExpression.Invoke1Instruction.Run(InterpretedFrame frame)
   場所 Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame)
   場所 Microsoft.Scripting.Interpreter.LightLambda.Run1[T0,TRet](T0 arg0)
   場所 IronPython.Compiler.RuntimeScriptCode.InvokeTarget(Scope scope)
   場所 IronPython.Compiler.RuntimeScriptCode.Run(Scope scope)
   場所 IronPython.Hosting.PythonCommandLine.RunFileWorker(String fileName)
   場所 IronPython.Hosting.PythonCommandLine.RunFile(String fileName)

orz

.NET のアセンブリって上位互換じゃなかったのか……。

CPython の C 拡張が例えば

Downloads

みたく、Python の方のバージョンが違う毎に別々にバイナリを用意しなくてはならない事態になってるみたいなんですけど*1それが .NET(MSIL) なら回避できるんじゃないかなーとか甘いこと期待してたのですが……こっちもこうですかそうですか。orz