|
|
|
|
|
by wallunit
3919 days ago
|
|
Fixed: https://github.com/snoack/python-goto/commit/a46dbe57e9cfa4f... Jumps out of loops and other blocks work now. However, there are some limitations: 1. As I only have 4 bytes left to inject POP_BLOCK instructions, you can't exit more than 4 blocks with a goto. But this is handled and results into a SyntaxError rather than crashing Python. 2. Jumps into loops still doesn't work. However, it's handled now, and causes a SyntaxError as well. 3. When jumping out of a try- or with-block the finalizer is skipped. |
|