From the linked Activestate page:
This is the recipe for you if you are sick of the slow speed of the existing goto module http://entrian.com/goto/. The goto in this recipe is about 60x faster
Re:Goto decorator for python
by rcthompson on Sunday March 11, 2012 @07:27PM
(#3691616)
How would you support a generator that reads lines from a file, or something else that depends on some volatile external state?
Jokes aside, Kay Schluehr did a package called generator_tools: http://www.fiber-space.de/generator_tools/doc/generator_tool...
I used it to do iterators serialisation in Python, which is quite an ambitious task (BTW, it should be supported by the language really).