- cross-posted to:
- python@programming.dev
- cross-posted to:
- python@programming.dev
You must log in or register to comment.
Or a better idea: don’t use goto. In any language. Especially not one that needs line numbers to work and not labels, as soon as someone edits the file utter chaos will ensue. This has all the normal downsides of gotos with labels, but with far more downsides.
It also only works for the main module and only until you hit the recursion limit.