Message315792
The `contextvars` documentation, at https://docs.python.org/3.7/library/contextvars.html starts with the following:
"This module provides APIs to manage, store, and access non-local state."
I assume that must be a documentation bug, right. The module isn't for managing non-local state, it's for managing state that *is* local.
I'd assume it ought to read...
"This module provides APIs to manage, store, and access context-local state."
(ie. for managing state that is transparently either thread-local or task-local depending on the current execution context.) |
|
| Date |
User |
Action |
Args |
| 2018-04-26 12:47:52 | tomchristie | set | recipients:
+ tomchristie, asvetlov, docs@python, yselivanov |
| 2018-04-26 12:47:52 | tomchristie | set | messageid: <[email protected]> |
| 2018-04-26 12:47:52 | tomchristie | link | issue33366 messages |
| 2018-04-26 12:47:52 | tomchristie | create | |
|