[Python-ideas] async objects

Chris Angelico rosuav at gmail.com
Tue Oct 4 01:26:58 EDT 2016


On Tue, Oct 4, 2016 at 4:25 PM, Rene Nejsum <rene at stranden.com> wrote:
>> On 04 Oct 2016, at 02:09, Stephen J. Turnbull <turnbull.stephen.fw at u.tsukuba.ac.jp> wrote:
>>
>> Rene Nejsum writes:
>>> I believe that you should be able to code concurrent code, without
>>> being to explicit about it, but let the runtime handle low-level
>>> timing, as long as you know your code will execute in the intended
>>> order.
>>
>> Isn't "concurrent code whose order of execution you know" an oxymoron?
>
> You are right, I should have been more specific. What I ment was that I don’t need code filled with async/await, I don’t care where it blocks, as long as it (the specific code block iI am looking at) runs in the order i wrote it :-)
>

Then you want threads. Easy!

ChrisA


More information about the Python-ideas mailing list