Re: [Python-Dev] Timeout for PEP 550 / Execution Context discussion

2017年10月15日 20:15:58 -0700

On 16 October 2017 at 11:33, Yury Selivanov <[email protected]> wrote:
> Stage 2. When Python 3.7 is out, we'll see how people use execution
> contexts for async code and collect feedback. If we recognize that
> Python users want execution contexts for generators/asynchronous
> generators, we'll make a new PEP to add support for them in Python
> 3.8. That future discussion will be focused on generators
> specifically, and therefore I expect it to be somewhat more focused.
>
As long as it's made clear that the interaction between context variables
and generators is formally undefined in 3.7, I think that's reasonable -
folks that want to ensure the current behaviour indefinitely should keep
using thread locals rather than switching over to context variables.
Cheers,
Nick.
-- 
Nick Coghlan | [email protected] | Brisbane, Australia
_______________________________________________
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