[Python-ideas] solving multi-core Python

Stefan Behnel stefan_ml at behnel.de
Thu Jun 25 21:00:47 CEST 2015

Eric Snow schrieb am 24.06.2015 um 06:15:
> On Sun, Jun 21, 2015 at 4:40 AM, Stefan Behnel wrote:
>> If objects can make it explicit that they support sharing (and preferably
>> are allowed to implement the exact details themselves), I'm sure we'll find
>> ways to share NumPy arrays across subinterpreters. That feature alone tends
>> to be a quick way to make a lot of people happy.
> Are you thinking of something along the lines of a dunder method (e.g.
> __reduce__)?

Sure. Should not be the first problem to tackle here, but dunder methods
would be the obvious way to interact with whatever "share/move/copy between
subinterpreters" protocol there will be.


More information about the Python-ideas mailing list