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
{{ message }}
Repository navigation
Parsing differences in try/except statements with get_model and data_only parameter #4208
The test for the AS token and the variable should not be done by index, because the tokens differs if we are parsing with data_only= False mode.
Also I think the message EXCEPT's AS marker must be second to last. is not really necessary, it should be enough to say that there is no variable or a wrong variable.
Activity
pekkaklarck commentedon Jan 29, 2022
Great catch!
pekkaklarck commentedon Jan 30, 2022
I'll assign this issue to RF 5.0 scope as a task with high priority. Being a task means it won't be included in to release notes unnecessarily.
There's PR #4209 to fix this.
pekkaklarck commentedon Jan 30, 2022
Instead of assigning this issue to RF 5.0 scope I decided to reopen the original TRY/EXCEPT issue. This one can be closed now.
Fix validating EXCEPT AS with `data_only=True` #4208 (#4209)