minor translation changes
python expression check (bool -> int, int and float)