Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork34.2k
Open
Description
Bug report
Bug description:
It gotValueError in other place when compile without traceback(I think it should beSyntaxError). In IDLE when you run this code it tipsSyntaxError (but incompile andexec it can only be caught withValueError).
Due to that it raised incompile, usingSyntaxError to describe it is better.
CPython versions tested on:
CPython main branch
Operating systems tested on:
No response