This project has moved and is read-only. For the latest updates, please go here.

2.6 CTP for .NET 4.0 Beta 2

Rating: No reviews yet
Downloads: 3034
Released: Oct 21, 2009
Updated: Nov 17, 2009 by dinov
Dev status: Alpha Help Icon

Recommended Download

Application IronPython 2.6 CTP for .NET 4.0 Beta 2.msi
application, 4442K, uploaded Oct 21, 2009 - 2090 downloads

Other Available Downloads

example, 1727K, uploaded Nov 17, 2009 - 944 downloads

Release Notes

We’re quite pleased to announce the release of "IronPython 2.6 CTP for .NET 4.0 Beta 2". This is our third preview of IronPython running under the Dynamic Language Runtime that is built directly into a .NET 4.0 release! As before, this release allows you to use IronPython objects and types as .NET 4.0 dynamic objects from within C# and Visual Basic code. This release is extremely similar to IronPython 2.6 RC 1. Please also note that "IronPython 2.6 CTP for .NET 4.0 Beta 2" will run only under .NET 4.0 Beta 2.

Here’s a small example showing just how powerful the new dynamic feature is for taking advantage of dynamic language functionality in statically typed languages:
import random, math

class Mock(object):
def getattr(self, key):
"""Mock objects of this type will dynamically implement any requested member"""
return random.choice("hello world", math.pi)

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

public class dynamic_demo {
static void Main() {
var ipy = Python.CreateRuntime();
dynamic mock = ipy.UseFile("");
dynamic m = mock.Mock();
//The Python Mock type dynamically implements any member that is requested of it

To try out this preview release:
1. Install some variant of .NET 4.0 Beta 2 or Visual Studio 2010 Beta 2. E.g.,
2. Install IronPython 2.6 CTP for .NET 4.0 Beta 2.msi from
3. Follow any of the many dynamic walkthroughs online. would be a good start

Have fun!

Reviews for this release

No reviews yet for this release.