[Python-Dev] Support for async read/write

"Martin v. Löwis" martin at v.loewis.de
Wed Oct 20 00:44:12 CEST 2010


> So, in conclusion, I disagree that adding wrappers for these would be
> nice. It wouldn't. It would cause some people to think they would be
> useful things to call, and they would always be wrong.

We are all consenting adults. If people want to shoot themselves in
their feet, we let them. For example, we have os.open, even though
there is no garbage collection for file handles, and we have
os._exit, even though it doesn't call finalizers.

People should trust that the APIs we expose go *literally* into the
library, so we can blame any consequences that this has onto the
library (and possibly the kernel, in turn).
People readily accept that explanation.

Regards,
Martin


More information about the Python-Dev mailing list