kobin
kobin copied to clipboard
Use Context Variables(PEP 567) as a threading.local replacement
Summary
Replace threading.local with Context Variables that will be added from Python 3.7.
https://www.python.org/dev/peps/pep-0567/