PY-17052: support keywords arguments for any callable, not only functions