snoack/python-goto
Discontinued function decorator that rewrites Python bytecode to enable goto statements observed · 2026-08-28
Health v2 · maintenance only
10/100
- Activity 94
- Release rhythm 35
- Longevity 100
Flags: no_releases archived
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4002
- days_rel: n/a
- days_push: 36
- n_releases_24m: 0
Adoption not part of the score
1308 stars · 83 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Python function decorator that rewrites CPython bytecode to enable goto and label statements in Python functions. It is discontinued and only compatible with Python 2.6 through 3.7.
Use cases
- add goto statements to python code
- rewrite python bytecode to implement labels and jumps
- use goto in python 3.7 or earlier
- experiment with control flow in python
- study how bytecode rewriting works
When to choose
- you are maintaining legacy code on Python 2.6-3.7 that already uses it
- you want to study bytecode rewriting techniques for historical or educational purposes
When to avoid
- you are on any modern Python release (3.8+), where it is incompatible
- you need a supported, maintained dependency
- you want structured control flow rather than goto
Facets
library · maturity abandoned
parser developer-tools programming-languages developer-tools python cross-platform goto-statement bytecode-rewriting function-decorator discontinued cpython-internals
1 source
- readme: https://github.com/snoack/python-goto · fetched 2026-08-28 · 200b27f039f0
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| snoack/python-goto | main | 10 |
For agents
markdown · JSON · MCP: product_card(name="snoack/python-goto")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem