updated python warnings