You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee='https://github.com/nascheme'closed_at=<Date2009-09-04.07:56:42.449>created_at=<Date2009-01-26.03:25:43.435>labels= ['type-bug', 'library']
title='compiler.parse raises SyntaxErrors without line number information'updated_at=<Date2009-09-04.07:56:42.447>user='https://bugs.python.org/exarkun'
On the other hand, the built in compiler produces exceptions which do
have this information in these cases.
The absence of the information makes the job of tools trying to operate
on Python source code more difficult (naively written, they'll simply
fail when they encounter one of these less informative exceptions).
It seems a patch would be an enormous undertaking, as the data structure
returned by the parser does not include this information, and the parser
is written in C.
I'll just hack around this somehow. Don't expect a patch from me.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: