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.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.