X7ROOT File Manager
Current Path:
/opt/hc_python/lib/python3.12/site-packages/greenlet
opt
/
hc_python
/
lib
/
python3.12
/
site-packages
/
greenlet
/
??
..
??
CObjects.cpp
(3.43 KB)
??
PyGreenlet.cpp
(23.63 KB)
??
PyGreenlet.hpp
(1.43 KB)
??
PyGreenletUnswitchable.cpp
(4.27 KB)
??
PyModule.cpp
(8.39 KB)
??
TBrokenGreenlet.cpp
(1021 B)
??
TExceptionState.cpp
(1.33 KB)
??
TGreenlet.cpp
(25.13 KB)
??
TGreenlet.hpp
(27.85 KB)
??
TGreenletGlobals.cpp
(3.19 KB)
??
TMainGreenlet.cpp
(3.2 KB)
??
TPythonState.cpp
(15.6 KB)
??
TStackState.cpp
(7.21 KB)
??
TThreadState.hpp
(18.68 KB)
??
TThreadStateCreator.hpp
(2.55 KB)
??
TThreadStateDestroy.cpp
(7.98 KB)
??
TUserGreenlet.cpp
(23 KB)
??
__init__.py
(1.68 KB)
??
__pycache__
??
_greenlet.cpython-312-x86_64-linux-gnu.so
(1.38 MB)
??
greenlet.cpp
(10.74 KB)
??
greenlet.h
(4.64 KB)
??
greenlet_allocator.hpp
(2.55 KB)
??
greenlet_compiler_compat.hpp
(4.24 KB)
??
greenlet_cpython_compat.hpp
(4.05 KB)
??
greenlet_exceptions.hpp
(4.4 KB)
??
greenlet_internal.hpp
(2.65 KB)
??
greenlet_msvc_compat.hpp
(2.91 KB)
??
greenlet_refs.hpp
(33.63 KB)
??
greenlet_slp_switch.hpp
(3.12 KB)
??
greenlet_thread_support.hpp
(867 B)
??
platform
??
slp_platformselect.h
(3.87 KB)
??
tests
Editing: __init__.py
# -*- coding: utf-8 -*- """ The root of the greenlet package. """ from __future__ import absolute_import from __future__ import division from __future__ import print_function __all__ = [ '__version__', '_C_API', 'GreenletExit', 'error', 'getcurrent', 'greenlet', 'gettrace', 'settrace', ] # pylint:disable=no-name-in-module ### # Metadata ### __version__ = '3.2.4' from ._greenlet import _C_API # pylint:disable=no-name-in-module ### # Exceptions ### from ._greenlet import GreenletExit from ._greenlet import error ### # greenlets ### from ._greenlet import getcurrent from ._greenlet import greenlet ### # tracing ### try: from ._greenlet import gettrace from ._greenlet import settrace except ImportError: # Tracing wasn't supported. # XXX: The option to disable it was removed in 1.0, # so this branch should be dead code. pass ### # Constants # These constants aren't documented and aren't recommended. # In 1.0, USE_GC and USE_TRACING are always true, and USE_CONTEXT_VARS # is the same as ``sys.version_info[:2] >= 3.7`` ### from ._greenlet import GREENLET_USE_CONTEXT_VARS # pylint:disable=unused-import from ._greenlet import GREENLET_USE_GC # pylint:disable=unused-import from ._greenlet import GREENLET_USE_TRACING # pylint:disable=unused-import # Controlling the use of the gc module. Provisional API for this greenlet # implementation in 2.0. from ._greenlet import CLOCKS_PER_SEC # pylint:disable=unused-import from ._greenlet import enable_optional_cleanup # pylint:disable=unused-import from ._greenlet import get_clocks_used_doing_optional_cleanup # pylint:disable=unused-import # Other APIS in the _greenlet module are for test support.
Upload File
Create Folder