Am 05.03.23 um 15:35 schrieb aapost:
I have run in to this a few times and finally reproduced it. Whether it
is as expected I am not sure since it is slightly on the user, but I can
think of scenarios where this would be undesirable behavior.. This
occurs on 3.11.1 and 3.11.2 using debian 12 te
Ok; thanks for the underscore and clarification. Just need to adjust my
thinking a bit.
--
https://mail.python.org/mailman/listinfo/python-list
Ok; this is a bit esoteric.
So finally is executed regardless of whether an exception occurs, so states the
docs.
But, I thought, if I from my function first, that should take
precedence.
au contraire
Turns out that if you do this:
try:
failingthing()
except FailException:
return 0
fina