py3: use named params for cfg