Apr-09-2019, 09:15 PM
In case you want to actually use it, there was an April fool's module written which adds goto support for python:
http://entrian.com/goto/
However, it is NOT fast. The way it works, is it installs an exception handler, and when a syntax error is raised for "goto" (since that's not a real keyword), it redirects the debugger to continue execution at the specified label.
http://entrian.com/goto/
However, it is NOT fast. The way it works, is it installs an exception handler, and when a syntax error is raised for "goto" (since that's not a real keyword), it redirects the debugger to continue execution at the specified label.