Hacker News new | ask | show | jobs
by joppy 1366 days ago
It's the minimum needed to get something going, and any really sane use of it would be evalling something like

    import worker
    worker.run()
The PEP explicitly mentions this, and that something like subinterpreter.run(func, ...) could be considered in the future: https://peps.python.org/pep-0554/#interpreter-call