def _emulate(func, *args, **kwargs):
 with raise_on_meta_error(funcname(func)):
  return func(*_extract_meta(args, True), **_extract_meta(kwargs, True))

def _emulate ( func , * args , ** kwargs ) : with raise_on_meta_error ( funcname ( func ) ) : return func ( * _extract_meta ( args , True ) , ** _extract_meta ( kwargs , True ) )
apply a function using args / kwargs .