stuartarchibald · GitHub

This works around issues with source that cannot be parsed when
looking for a line containing `def` so as to get the correct line
info for use in DebugInfo emission. It adds tests for this and
also the case where the function source is simply unobtainable.
Fixes numba#7730

@stuartarchibald

Merged

esc

esc previously requested changes Jan 26, 2022

@esc esc self-assigned this

Jan 26, 2022

@esc

esc

esc previously approved these changes Jan 26, 2022

Conflicts:
	numba/tests/test_debuginfo.py

@stuartarchibald

esc

esc approved these changes Jan 26, 2022

@sklam

esc pushed a commit to esc/numba that referenced this pull request

Jan 27, 2022
Fix issues with locating/parsing source during DebugInfo emission.

esc pushed a commit to esc/numba that referenced this pull request

Jan 27, 2022
Fix issues with locating/parsing source during DebugInfo emission.

Read the original on github.com ↗