[issue45759] non-matching `elif`/`else` statements with uninformative errors

2021-11-09 Thread Alex Waygood
Change by Alex Waygood : -- nosy: +AlexWaygood ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue45759] non-matching `elif`/`else` statements with uninformative errors

2021-11-08 Thread theeshallnotknowethme
theeshallnotknowethme added the comment: I'd like to expand this to more than just `elif`/`else statements inside `if` statement blocks and make an error for other cases as well. I currently have a PR that has a general error to accommodate those cases. -- title: `elif` inside `if` b