(interp, request, init=None)
| 352 | |
| 353 | |
| 354 | def _run_output(interp, request, init=None): |
| 355 | script, results = _captured_script(request) |
| 356 | with results: |
| 357 | if init: |
| 358 | interp.prepare_main(init) |
| 359 | interp.exec(script) |
| 360 | return results.stdout() |
| 361 | |
| 362 | |
| 363 | @contextlib.contextmanager |
searching dependent graphs…