Serhiy Storchaka added the comment:

Why not just

    try:
        from _thread import _local as local
    except ImportError:
        from _threading_local import local

?

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue15767>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to