pyscripter / python4delphi

Free components that wrap up Python into Delphi and Lazarus (FPC)
MIT License
895 stars 307 forks source link

Add support for Py_NewInterpreterFromConfig #441

Closed pyscripter closed 8 months ago

pyscripter commented 8 months ago

Py_NewInterpreterFromConfig introduced in python 12 allows the creation of sub interpreters with their own GIL. Thus it allows threads to run in parallel.

TPythonThread should be extended to support this.