Repository navigation
v0.7.6 -- bunpy run --cpython: CPython sidecar fallback
v0.7.6 -- bunpy run --cpython: CPython sidecar fallback
Released 2026-04-28.
bunpy run --cpython <file.py> executes the script via the system
CPython interpreter. This is the escape hatch for scripts that use
C-extension modules or Python features not yet supported by gocopy.
What shipped
bunpy run --cpython app.py
bunpy run --cpython app.py arg1 arg2
Behaviour
- Searches for
python3thenpythonon PATH. - Checks the Python version — skips Python 2 binaries.
- Execs the script directly:
python3 <file.py> [args...]. - stdin/stdout/stderr are wired through; the subprocess exit code is
propagated.
When to use
- Scripts importing C-extension modules (
numpy,pandas, etc.). - Scripts using
async def/awaitor other features not yet in goipy. - Quick comparison: run the same script under both engines.
Requirements
python3orpython(Python 3.x) must be on PATH.- If not found: exits with
bunpy run --cpython requires Python 3 on PATH.
Notes
--cpythonbypasses goipy entirely; none of thebunpy.*modules are
available unless installed as Python packages separately.- Does not compose with
--watchor--inspectin this version.