[Python-Dev] Tricky way of of creating a generator via a comprehension expression
Greg Ewing
greg.ewing at canterbury.ac.nz
Wed Nov 22 17:32:38 EST 2017
Paul Moore wrote:
> At the moment, I know I tend to treat Python semantics as I always
> did, but with an implicit proviso, "unless async is involved, when I
> can't assume any of my intuitions apply". That's *not* a good
> situation to be in.
It's disappointing that PEP 3152 was rejected, because I think
it would have helped people like you by providing a mental
model for async stuff that's much easier to reason about.
--
Greg
More information about the Python-Dev
mailing list