flaking python