Versions in this module Expand all Collapse all v0 v0.3.0 Jul 22, 2026 v0.2.0 Jul 11, 2026 v0.1.0 Jun 23, 2026 Changes in this version + func ExtractStdlib() (string, error) + func Init() error + func PyAsyncExcAddr(h uint64) (uint32, error) + func PyClose(h uint64) error + func PyEval(h uint64, src string) (string, error) + func PyEvalBreakerAddr(h uint64) (uint32, error) + func PyKeyboardInterruptObj(h uint64) (uint32, error) + func PyNew(stdlibDir string) (uint64, error) + type CallbackHandler interface + HandleCallback func(methodID int32, req []byte) ([]byte, error) + type Config struct + Dial func(network, ip string, port int) bool + Env []string + Exec func(path string, argv []string) bool + FS FS + FSAccess func(path string, write bool) bool + MaxMemoryBytes int + MemoryReserveBytes int + NetAccess func(op string) bool + PreopenDir string + Resolve func(host string) bool + Stderr io.Writer + Stdin io.Reader + StdlibDir string + Stdout io.Writer + type EvalResult struct + Error string + Ok bool + Repr string + Stderr string + Stdout string + type FS = base.FS + type File = base.File + type Interpreter struct + func NewInterpreter(cfg Config) (inst *Interpreter, err error) + func (i *Interpreter) Close() error + func (i *Interpreter) Eval(src string) (EvalResult, error) + func (i *Interpreter) Interrupt() error + func (i *Interpreter) PrepareInterrupt() (*Interrupter, error) + type Interrupter struct + func (ip *Interrupter) Fire() + type MemFS = base.MemFS + func NewMemFS() *MemFS + func NewStdlibMemFS() (*MemFS, error) + type Module struct