PEP 492: isn't the "await" redundant?

Chris Angelico rosuav at gmail.com
Fri Sep 9 08:10:33 EDT 2016


On Fri, Sep 9, 2016 at 9:26 PM, Marko Rauhamaa <marko at pacujo.net> wrote:
> Chris Angelico <rosuav at gmail.com>:
>> FWIW I think it's great that they have similar coding styles. We don't
>> have a problem with threading and multiprocessing having very similar
>> APIs, do we? Yet they exist to solve distinctly different problems.
>
> Well, Ext4, BtrFS, XFS and ReiserFS have very similar APIs. In fact,
> they exist to solve the same problems. One day, a file system might
> emerge that supersedes all other file systems.
>
> It's a similar deal between asyncio and threading. The problem space is
> the same: managing concurrency with almost identical programming models.

C, Python, Ruby, and COBOL exist to solve the same problems, and have
very similar APIs - write your code in a text file, then run it
through some parser so it executes. Are we some day going to eliminate
all programming languages bar one? I doubt it. And I don't want to.

ChrisA



More information about the Python-list mailing list