[Python-Dev] PEP 492 quibble and request
p.f.moore at gmail.com
Fri May 1 14:14:51 CEST 2015
On 1 May 2015 at 12:54, Steven D'Aprano <steve at pearwood.info> wrote:
> You mean we could write code like this?
> def await(x):
> if condition:
> async def spam():
> await (eggs or cheese)
> def spam():
> await(eggs or cheese)
> I must admit that's kind of cool, but I'm sure I'd regret it.
You could, but there are people with buckets of tar and feathers
waiting for you if you do :-)
More information about the Python-Dev