python-goto
python-goto copied to clipboard
A function decorator, that rewrites the bytecode, to enable goto in Python
This adds support for goto-ing into blocks! Based on pull requests #21 and #22 While/Try/Except/Finally blocks can be goto-ed into normally. For/With blocks cannot be goto-ed into normally but require...
Based on PR #21, adds python3.8 support (previously part of the 'fix2' PR)
For more info on why Unlicense is bad, see https://softwareengineering.stackexchange.com/a/147120
**main.py:** @with_goto def run(): keyDict = {"key1": "", "key1G": "", "key2": "", "key2G": "", "key3": "", "key3G": "", "key4": "", "key4G": "", "key5": "", "key5G": "", "key6": "", "key6G": "",...
Any chance getting this working on newer Python versions like 3.11?