Python for .NET

Python for .NET is a completely new implementation of Python. Although many facilities could be implemented simply by extending Python (that is, by using the existing CPython implementation and writing an extension module), there were two primary reasons for creating a completely new implementation:

  • Full integration with .NET. The only effective way to have another .NET language derive from a Python implemented class is for Python to use .NET facilities when creating classes.

  • Contractual obligations. The initial port was done under contract to Microsoft, largely to prove to Microsoft that the .NET CLR was indeed capable of supporting a large number of languages.

An alternative strategy that could be employed is discussed later ...

Get Programming in the .NET Environment now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.