bpo-43933: Force RETURN_VALUE bytecodes to have line numbers by markshannon · Pull Request #26054 · python/cpython
Minimal fix to ensure that all returns have line numbers.
Skipping NEWS as I think PEP 626 is covered well enough already.
I expect this to be a temporary fix for 3.11, as we will implement a proper fix for line number propagation.