Comment by edflsafoiewq
10 hours ago
Does Python actually do that? If the f call throws, you can still observe the (unchanged) binding of acc in reduce.
10 hours ago
Does Python actually do that? If the f call throws, you can still observe the (unchanged) binding of acc in reduce.
Fair, I suppose there's no end to the level of insanity that a programmer can do in a dynamic language. I'd think it could perhaps still look to see there's no catch, but maybe eval makes even that impossible.