Skip to content

2 Open Questions

Eric Snow edited this page Aug 17, 2018 · 13 revisions

Should there be a subinterpreter "Serial Execution Mode"?

The idea is to introduce a mode in which using a subinterpreter is less perilous. This mode could be optional for subinterpreters (at the C level), though it's probably not worth it.

  • disallow threading
  • disallow forking
  • eliminate the GIL within each subinterpreter
  • start the subinterpreter in its own thread (and pin it there)
  • (maybe) add mode management

What is the "main" thread of a subinterpreter?

...

Clone this wiki locally