PEP 567 Backport

WWW: https://github.com/MagicStack/contextvars
