Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add a note about sending channels over channels.
  • Loading branch information
ericsnowcurrently committed Sep 14, 2017
commit 84e0b94625aafab270b8b5b61b7d0202f5267a23
9 changes: 9 additions & 0 deletions pep-0554.rst
Original file line number Diff line number Diff line change
Expand Up @@ -682,6 +682,15 @@ of the channel. The ``close()`` method could work if it had a ``force``
option to force the channel closed. Regardless, these semantics are
relatively specialized and can wait.

Sending channels over channels
------------------------------

Some advanced usage of subinterpreters could take advantage of the
ability to send channels over channels, in addiction to bytes and None.
Given that channels will already be multi-interpreter safe, supporting
then in ``RecvChannel.recv()`` wouldn't be a big change. However, this
can wait until the basic functionality has been ironed out.


References
==========
Expand Down