def setup_threading():
    if sys.version_info >= (2, 7):
        return
    # XXX: On Python 2.5 GAE's threading.local doesn't work correctly
    #      with subclassing.
    try:
        from django.utils._threading_local import local
        import threading
        threading.local = local
    except __HOLE__:
        pass
dataset/ETHPy150Open django-nonrel/djangoappengine/djangoappengine/boot.py/setup_threading