[New-bugs-announce] [issue24020] threading.local() must be run at module level (doc improvement)

Ethan Furman report at bugs.python.org
Tue Apr 21 15:42:25 CEST 2015


New submission from Ethan Furman:

In order to work correctly, threading.local() must be run in global scope, yet that tidbit is missing from both the docs and the _threading_local.py file.

Something like:

.. note::
   threading.local() must be run at global scope to function properly.

That would have saved me hours of time.  Thank goodness for SO!  ;)

----------
assignee: docs at python
messages: 241713
nosy: docs at python, ethan.furman
priority: normal
severity: normal
status: open
title: threading.local() must be run at module level (doc improvement)
versions: Python 2.7, Python 3.4, Python 3.5

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24020>
_______________________________________


More information about the New-bugs-announce mailing list