Always better in Python.
Better printout.
Fix build.
Merge branch 'dev' into release/4.1