代码拉取完成,页面将自动刷新
# uncompyle6 version 3.2.3
# Python bytecode 3.6 (3379)
# Decompiled from: Python 3.6.8 |Anaconda custom (64-bit)| (default, Feb 21 2019, 18:30:04) [MSC v.1916 64 bit (AMD64)]
# Embedded file name: dummy_threading.py
"""Faux ``threading`` version using ``dummy_thread`` instead of ``thread``.
The module ``_dummy_threading`` is added to ``sys.modules`` in order
to not have ``threading`` considered imported. Had ``threading`` been
directly imported it would have made all subsequent imports succeed
regardless of whether ``_thread`` was available which is not desired.
"""
from sys import modules as sys_modules
import _dummy_thread
holding_thread = False
holding_threading = False
holding__threading_local = False
try:
if "_thread" in sys_modules:
held_thread = sys_modules["_thread"]
holding_thread = True
sys_modules["_thread"] = sys_modules["_dummy_thread"]
if "threading" in sys_modules:
held_threading = sys_modules["threading"]
holding_threading = True
del sys_modules["threading"]
if "_threading_local" in sys_modules:
held__threading_local = sys_modules["_threading_local"]
holding__threading_local = True
del sys_modules["_threading_local"]
import threading
sys_modules["_dummy_threading"] = sys_modules["threading"]
del sys_modules["threading"]
sys_modules["_dummy__threading_local"] = sys_modules["_threading_local"]
del sys_modules["_threading_local"]
from _dummy_threading import *
from _dummy_threading import __all__
finally:
if holding_threading:
sys_modules["threading"] = held_threading
del held_threading
del holding_threading
if holding__threading_local:
sys_modules["_threading_local"] = held__threading_local
del held__threading_local
del holding__threading_local
if holding_thread:
sys_modules["_thread"] = held_thread
del held_thread
else:
del sys_modules["_thread"]
del holding_thread
del _dummy_thread
del sys_modules
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。