The printing in C++ used the ostream operator. The printing in python uses the str member function.
Closes AST-940