Removed `print()` from library code and 3to2 leftovers