fixed to_python, validate_python for future deprecation