
Sept. 14, 2017
5:07 a.m.
On Wed, Sep 13, 2017 at 11:56 PM, Nick Coghlan <ncoghlan@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