[Python-Dev] [Python-ideas] PEP 3156 - Asynchronous IO Support Rebooted

Dustin J. Mitchell dustin at v.igoro.us
Sat Jan 12 16:03:40 CET 2013


On Wed, Jan 9, 2013 at 12:14 AM, Guido van Rossum <guido at python.org> wrote:
> But which half? A socket is two independent streams, one in each
> direction. Twisted uses half_close() for this concept but unless you
> already know what this is for you are left wondering which half. Which
> is why I like using 'write' in the name.

FWIW, "half-closed" is, IMHO, a well-known term.  It's not just a Twisted thing.

Either name is better than "shutdown"!

Dustin


More information about the Python-Dev mailing list