On Tue, 21 Apr 2020 09:36:22 -0600 Eric Snow <ericsnowcurren...@gmail.com> wrote:
> On Tue, Apr 21, 2020 at 2:18 AM Antoine Pitrou <solip...@pitrou.net> wrote: > > On Tue, 21 Apr 2020 18:27:41 +1200 > > Greg Ewing <greg.ew...@canterbury.ac.nz> 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. I don't think so :-) Regards Antoine. _______________________________________________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/BP2UHLS5MNX6ZZYVHVXNZQ4W62GUW62M/ Code of Conduct: http://python.org/psf/codeofconduct/