SilentGhost added the comment:
This seem to be the exactly documented behaviour. From
https://docs.python.org/3.8/reference/compound_stmts.html#the-try-statement
If finally is present, it specifies a ‘cleanup’ handler. The try clause is
executed, including any except and else clauses. If an e
New submission from DMITRY KOSHELEV :
Hello dear developer!
I was playing with try/else/finally block and have found a bug:
Inside of "else" or/and "except" I can do this
1 + print('Why do you print me?') + 1
this would print "Why do you print me?",
in case if I have "finally" block with a