Skip to content
This repository has been archived by the owner on Sep 14, 2018. It is now read-only.

Differences from C Python

Stephen W. Nuchia edited this page May 7, 2016 · 2 revisions

This page documents various differences between IronPython and C Python.

  • IRONPYTHONSTARTUP is used instead of PYTHONSTARTUP

  • In C Python before version 3, strings are ascii and unicode is a special type. From 3 onward strings are unicode and ascii strings use the b'string' form. IronPython is otherwise python 2 but the strings are unicode by default to match the CTS string type and so string literals and string semantics in general is more like python 3 than python 2.

  • Interaction with COM objects is handled by the CLR rather than a python library binding to the native COM dlls.