[issue38774] Statements in try block still executes after raised error

2019-11-12 Thread Torbjørn Wikestad
New submission from Torbjørn Wikestad : In a script that runs in a IPython 3.6 console (Spyder IDE, part of a WinPython bundle), a counter increment statement is executed after a function call which raises an ValueError exception in try ... except structure. This does not seem to be the

[issue38774] Statements in try block still executes after raised error

2019-11-12 Thread Torbjørn Wikestad
Torbjørn Wikestad added the comment: The script has been tried and found to work as intended in the Idle IDE, which runs on a standard win32 python shell. So the error is linked only with IPython or Spyder. -- Added file: https://bugs.python.org/file48711/2019-11-12_try-clause,numpy

[issue38774] Statements in try block still executes after raised error

2019-11-12 Thread Torbjørn Wikestad
Torbjørn Wikestad added the comment: I could not reproduce the error when I open the script in Spyder anew. -- resolution: -> works for me stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or