variables to their current values.

    A dict is returned, with the keys the local variable names and values the
    bound values.r