python warnings module examples