[Python-ideas] concurrency-local namespaces

Eric Snow ericsnowcurrently at gmail.com
Wed Apr 22 02:07:38 CEST 2015


On Tue, Apr 21, 2015 at 5:59 PM, Guido van Rossum <guido at python.org> wrote:
> There was some discussion of this in
> https://github.com/python/asyncio/issues/165 back in the days. IIRC the
> conclusion was that you could roll this yourself using the
> Tasks.current_task() class method.

Perfect.  Thanks.  I may still look into writing a "context-local"
namespace type based on the one in Lib/_threading_local.py.

-eric


More information about the Python-ideas mailing list