Reported locations currently depend on __file__, __line__ on related objects.
These are only defined for certain types of objects though. Plain objects like integers, strings and so forth won't have these. It would be nice if the AST was used to get more accurate file/line info in those cases.
Reported locations currently depend on __file__, __line__ on related objects.
These are only defined for certain types of objects though. Plain objects like integers, strings and so forth won't have these. It would be nice if the AST was used to get more accurate file/line info in those cases.