On Fri, 17 Apr 2020 13:59:46 -0600
Eric Snow <[email protected]> wrote:
> > For bytes or buffer objects, I understand that you propose to share
> > the exact same PyObject objects between interpreters, at least in the
> > first implementation.
> >
> > It may be better to have one proxy object in each interpreter which
> > would control which interpreters can read and which interpreters can
> > write into the object. It's a similar but more complex issue than
> > singletons.  
> 
> It isn't the same Python object.  It is the buffer that gets shared
> (for objects that support the buffer protocol).

When such a buffer dies, in which interpreter is the original object's
destructor called?

Regards

Antoine.

_______________________________________________
Python-Dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/NAPY6WAIW2YWZROHX3BNOPXW6GGT42U3/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to