There was an equally intriguing Python goto implementation posted last year¹, with some interesting comments²(including some in the gist itself).
This version does seem better, but I'm not really sure that is a good thing.
¹ https://gist.github.com/georgexsh/ede5163a294ced53c3e2369cca...