Even if the C language allows assignments in if, I avoid them, because
I regularly have to debug my own code in gdb ;-)
Now the question is which Python are allowed for babies. I recall that
a colleague was surprised and confused by context managers. Does it
mean that try/finally should be preferred?