gh-106922: Support multi-line error locations in traceback by williamwen42 · Pull Request #109589 · python/cpython
@williamwen42 We have refactored the whole traceback machinery so CPython uses mainly the traceback module (in Python) and falls back to the C implementation but we ripped out all the error locations in the C implementation so is easier to maintain. This means that we can remove the C parts of this PRs. You may have some conflicts on the Python part yet, but they shouldn't be too big.
I know you probably spent a lot of time doing the C part, but this change was involving a lot of C code that we woudn't be able to merge because the complexity outweighs what we are gaining from it, but given that now is only on the Python side, then we can consider it.