Dictionaries raise KeyError, and not ValueError when invalid keys are passes to del. Reviewed-by: imsnah