latest version
This commit is contained in:
Regular → Executable
Regular → Executable
+8
-3
@@ -1,8 +1,13 @@
|
||||
from __future__ import absolute_import
|
||||
from future.utils import PY3
|
||||
from future.utils import PY3, PY39_PLUS
|
||||
|
||||
if PY3:
|
||||
from _dummy_thread import *
|
||||
|
||||
if PY39_PLUS:
|
||||
# _dummy_thread and dummy_threading modules were both deprecated in
|
||||
# Python 3.7 and removed in Python 3.9
|
||||
from _thread import *
|
||||
elif PY3:
|
||||
from _dummy_thread import *
|
||||
else:
|
||||
__future_module__ = True
|
||||
from dummy_thread import *
|
||||
|
||||
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Executable
+7
@@ -0,0 +1,7 @@
|
||||
from __future__ import absolute_import
|
||||
from future.utils import PY3
|
||||
|
||||
from multiprocessing import *
|
||||
if not PY3:
|
||||
__future_module__ = True
|
||||
from multiprocessing.queues import SimpleQueue
|
||||
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
+9
@@ -1,9 +1,18 @@
|
||||
from __future__ import absolute_import
|
||||
|
||||
import sys
|
||||
|
||||
from future.standard_library import suspend_hooks
|
||||
from future.utils import PY3
|
||||
|
||||
if PY3:
|
||||
from test.support import *
|
||||
if sys.version_info[:2] >= (3, 10):
|
||||
from test.support.os_helper import (
|
||||
EnvironmentVarGuard,
|
||||
TESTFN,
|
||||
)
|
||||
from test.support.warnings_helper import check_warnings
|
||||
else:
|
||||
__future_module__ = True
|
||||
with suspend_hooks():
|
||||
|
||||
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Reference in New Issue
Block a user