Message359307
Right, IDLE doesn't call exec/compile until _after_ the code is submitted, while the regular prompt calls it first and passes stdin as the source file (which then does a buffered read).
The loop occurs because the next action after an invalid input is to read another input, which is correct, it just doesn't (and cannot) detect the case where an error is raised _before_ the user presses Enter. |
|
Date |
User |
Action |
Args |
2020-01-04 19:40:23 | steve.dower | set | recipients:
+ steve.dower, terry.reedy, christian.heimes, Dutcho |
2020-01-04 19:40:23 | steve.dower | set | messageid: <1578166823.19.0.00736649483174.issue39182@roundup.psfhosted.org> |
2020-01-04 19:40:23 | steve.dower | link | issue39182 messages |
2020-01-04 19:40:22 | steve.dower | create | |
|