Added to_python() method to get a simple list from the Expression, Constraint, etc.