Error with python being able to overload variables causing recursive