ronaldoussoren / pyobjc

The Python <-> Objective-C Bridge with bindings for macOS frameworks
https://pyobjc.readthedocs.io
545 stars 46 forks source link

Design interfaces needed for multiple sub interpreters using PyObjC #529

Open ronaldoussoren opened 1 year ago

ronaldoussoren commented 1 year ago

When having multiple sub interpreters that use PyObjC sub interpreter A could see Python objects that are created in sub interpreter B. Design a way to deal with this:

ronaldoussoren commented 1 year ago

Ideally this would also have an API that embedders can use (see for example #460). It should be fairly easy to add an ObjC class with a documented interface using class methods that can be used for this. That should isolate embedders from the technical details of this, allowing further evolution of the implementation.

Including documentation and tests of course...