[issue7264] test_threading_local sometimes hangs when run with -R

Gregory P. Smith report at bugs.python.org
Thu Nov 5 00:19:02 CET 2009


Gregory P. Smith <greg at krypto.org> added the comment:

How about defining this in threading.py:

def _enumerate():
    """Internal use only: enumerate() without the lock."""
    return _active.values() + _limbo.values()

And calling it from _threading_local instead of accessing _active and
_limbo directly.

----------
nosy: +gregory.p.smith

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


More information about the Python-bugs-list mailing list