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 _______________________________________________ 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/ZVMQFHRJWSE2PMVICB5ZFLY6NVZBQ3ZN/ Code of Conduct: http://python.org/psf/codeofconduct/