bpo-40679: Fix _PyEval_EvalCode() crash if qualname is NULL (GH-20615)
If name is NULL, name is now set to co->co_name. If qualname is NULL, qualname is now set to name. qualname must not be NULL: it is used to build error messages. Cleanup also the code: declare variables where they are initialized. Rename "name" local variables to "varname" to avoid overriding "name" parameter.
V
Victor Stinner committed
232dda6cbc10860328a83517a6e3ea238ff4147f
Parent: b022e5c
Committed by GitHub <noreply@github.com>
on 6/4/2020, 1:19:02 PM