On Tue, Apr 21, 2020 at 2:18 AM Antoine Pitrou
On Tue, 21 Apr 2020 18:27:41 +1200 Greg Ewing
wrote: On 21/04/20 10:23 am, Eric Snow wrote:
with the current spec channels get automatically closed sooner, effectively as soon as all wrapping objects *that were used* are garbage collected (or released).
Maybe I'm missing something, but just because an object hasn't been used *yet* doesn't mean it isn't going to be used in the future, so isn't this wildly wrong?
That's my concern indeed. An interpreter may be willing to wait for incoming data in the future, without needing it immediately.
(that incoming data may even represent something very trivial, such as a request to terminate itself)
Yeah, I had that same realization yesterday and it didn't change after sleeping on it. I suppose the only question I have left is if there is value to users in knowing which interpreters have *used* a particular channel. -eric