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@python
messages: 241713
nosy: docs@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue24020>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to