PEP-0550 V5 (#385)
Changes: * Coroutines have no logical context by default (a revert to the V3 semantics). * All APIs have been placed to the ``contextvars`` module, and the factory functions were changed to class constructors (``ContextVar``, ``ExecutionContext``, and ``LogicalContext``). * ContextVar.lookup() got renamed back to ContextVar.get() and gained the `topmost` and `default` keyword arguments; * Added ContextVar.delete(). * Fixed ContextVar.get() cache bug (thanks Nathaniel!). * Added a few more design considerations points. * Various minor edits and enchancements.
This commit is contained in:
parent
3a2bf11650
commit
9931bb814d
1033
pep-0550.rst
1033
pep-0550.rst
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue