Hi!
On Tue, Sep 05, 2017 at 12:50:35AM +0300, Koos Zevenhoven <[email protected]>
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/ [email protected]
Programmers don't die, they just GOSUB without RETURN.
_______________________________________________
Python-ideas mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/