[Python-Dev] PEP 554 v3 (new interpreters module)

Yury Selivanov yselivanov.ml at gmail.com
Thu Sep 14 01:07:33 EDT 2017


On Wed, Sep 13, 2017 at 11:56 PM, Nick Coghlan <ncoghlan at gmail.com> wrote:
[..]
>>    send(obj):
>>
>>        Send the object to the receiving end of the channel.  Wait until
>>        the object is received.  If the channel does not support the
>>        object then TypeError is raised.  Currently only bytes are
>>        supported.  If the channel has been closed then EOFError is
>>        raised.
>
> I still expect any form of object sharing to hinder your
> per-interpreter GIL efforts, so restricting the initial implementation
> to memoryview-only seems more future-proof to me.

+1.  Working with memoryviews is as convenient as with bytes.

Yury


More information about the Python-Dev mailing list