Hi!

On Tue, Sep 05, 2017 at 12:50:35AM +0300, Koos Zevenhoven <k7ho...@gmail.com> 
wrote:
>     cvar = contextvars.Var(default="the default value",
>                            description="example context variable")

   Why ``description`` and not ``doc``?

>     with cvar.assign(new_value):

   Why ``assign`` and not ``set``?

> Each thread of the Python interpreter keeps its on stack of

   "its own", I think.

> ``contextvars.Assignment`` objects, each having a pointer to the previous
> (outer) assignment like in a linked list.

Oleg.
-- 
     Oleg Broytman            http://phdru.name/            p...@phdru.name
           Programmers don't die, they just GOSUB without RETURN.
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to