Fixed eval in the _to_python method