[FEAT] Support "multi-phase initialization" of modules
Open
@YannickJadoul is already working on this.
Since Oct 4, 2020.
- Dominant language
- C++
- Stars
- 18k
- Forks
- 2.3k
- Avg merge
- 5d 17h
- Merged PRs (30d)
- 10
Description
Apparently, Python >= 3.5 supports "multi-phase initialization", allowing for sub-interpreters to be used: https://docs.python.org/3/c-api/module.html#multi-phase-initialization
Something tells me this might also be relevant to #1558? (@EricCousineau-TRI might be interested?)
Something to try and play around with, if we have time? :-)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.