On 08/17/2017 02:40 AM, Nick Coghlan wrote:
On 17 August 2017 at 04:38, Yury Selivanov wrote:
ck.get_value() attempts to look up the value for that key in the currently active execution context. If it doesn't find one, it then tries each of the execution contexts in the currently active dynamic context. If it *still* doesn't find one, then it will set the default value in the outermost execution context and then return that value.
For what it's worth, I find the term DynamicContext much easier to understand with relation to these concepts. -- ~Ethan~ _______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/