22 Apr
2020
22 Apr
'20
7:19 a.m.
On 22/04/20 3:57 am, Eric Snow wrote:
The main difference is that the PEP also provides an way to explicitly release or close a channel. Providing just "close()" would mean one interpreter could stomp on all other interpreters' use of a channel.
What I'm suggesting is that close() should do what the PEP defines release() as doing, and release() shouldn't exist. I don't see why an interpreter needs the ability to close a channel for any *other* interpreter. There is no such ability for files and pipes. -- Greg