Re: [Python-Dev] PEP 550 v4

2017年8月28日 09:19:43 -0700

On Mon, Aug 28, 2017 at 11:53 AM, Ivan Levkivskyi <[email protected]> wrote:
> A question appeared here about a simple mental model for PEP 550.
> It looks much clearer now, than in the first version, but I still would like
> to clarify: can one say that PEP 550 just provides more fine-grained version
> of threading.local(), that works not only per thread, but even per coroutine
> within the same thread?
Simple model:
1. Values in the EC propagate down the call stack for both synchronous
and asynchronous code.
2. For regular functions/code EC works the same way as threading.local().
Yury
_______________________________________________
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to