René's URL Explorer Experiment


Title: 初始化、終結化與執行緒 — Python 3.14.0 說明文件

direct link

Domain: python.github.io

readthedocs-addons-api-version1

Links:

https://www.python.org/
目錄https://python.github.io/python-docs-zh-tw/contents.html
初始化、終結化與執行緒https://python.github.io/python-docs-zh-tw/c-api/init.html
Python 初始化之前https://python.github.io/python-docs-zh-tw/c-api/init.html#before-python-initialization
Global configuration variableshttps://python.github.io/python-docs-zh-tw/c-api/init.html#global-configuration-variables
Initializing and finalizing the interpreterhttps://python.github.io/python-docs-zh-tw/c-api/init.html#initializing-and-finalizing-the-interpreter
Process-wide parametershttps://python.github.io/python-docs-zh-tw/c-api/init.html#process-wide-parameters
Thread State and the Global Interpreter Lockhttps://python.github.io/python-docs-zh-tw/c-api/init.html#thread-state-and-the-global-interpreter-lock
Detaching the thread state from extension codehttps://python.github.io/python-docs-zh-tw/c-api/init.html#detaching-the-thread-state-from-extension-code
Non-Python created threadshttps://python.github.io/python-docs-zh-tw/c-api/init.html#non-python-created-threads
Supporting subinterpreters in non-Python threadshttps://python.github.io/python-docs-zh-tw/c-api/init.html#supporting-subinterpreters-in-non-python-threads
Cautions about fork()https://python.github.io/python-docs-zh-tw/c-api/init.html#cautions-about-fork
Cautions regarding runtime finalizationhttps://python.github.io/python-docs-zh-tw/c-api/init.html#cautions-regarding-runtime-finalization
高階 APIhttps://python.github.io/python-docs-zh-tw/c-api/init.html#high-level-api
低階 APIhttps://python.github.io/python-docs-zh-tw/c-api/init.html#low-level-api
Sub-interpreter supporthttps://python.github.io/python-docs-zh-tw/c-api/init.html#sub-interpreter-support
直譯器各別持有的 GILhttps://python.github.io/python-docs-zh-tw/c-api/init.html#a-per-interpreter-gil
Bugs and caveatshttps://python.github.io/python-docs-zh-tw/c-api/init.html#bugs-and-caveats
Asynchronous Notificationshttps://python.github.io/python-docs-zh-tw/c-api/init.html#asynchronous-notifications
Profiling and Tracinghttps://python.github.io/python-docs-zh-tw/c-api/init.html#profiling-and-tracing
Reference tracinghttps://python.github.io/python-docs-zh-tw/c-api/init.html#reference-tracing
Advanced Debugger Supporthttps://python.github.io/python-docs-zh-tw/c-api/init.html#advanced-debugger-support
Thread Local Storage Supporthttps://python.github.io/python-docs-zh-tw/c-api/init.html#thread-local-storage-support
Thread Specific Storage (TSS) APIhttps://python.github.io/python-docs-zh-tw/c-api/init.html#thread-specific-storage-tss-api
Dynamic Allocationhttps://python.github.io/python-docs-zh-tw/c-api/init.html#dynamic-allocation
方法https://python.github.io/python-docs-zh-tw/c-api/init.html#methods
執行緒局部儲存 (Thread Local Storage, TLS) API:https://python.github.io/python-docs-zh-tw/c-api/init.html#thread-local-storage-tls-api
Synchronization Primitiveshttps://python.github.io/python-docs-zh-tw/c-api/init.html#synchronization-primitives
Python Critical Section APIhttps://python.github.io/python-docs-zh-tw/c-api/init.html#python-critical-section-api
DateTime 物件https://python.github.io/python-docs-zh-tw/c-api/datetime.html
Python 初始化設定https://python.github.io/python-docs-zh-tw/c-api/init_config.html
回報錯誤https://python.github.io/python-docs-zh-tw/bugs.html
顯示原始碼 https://github.com/python/cpython/blob/main/Doc/c-api/init.rst?plain=1
索引https://python.github.io/python-docs-zh-tw/genindex.html
模組https://python.github.io/python-docs-zh-tw/py-modindex.html
下一頁https://python.github.io/python-docs-zh-tw/c-api/init_config.html
上一頁https://python.github.io/python-docs-zh-tw/c-api/datetime.html
Pythonhttps://www.python.org/
3.14.0 Documentationhttps://python.github.io/python-docs-zh-tw/index.html
Python/C API 參考手冊https://python.github.io/python-docs-zh-tw/c-api/index.html
初始化、終結化與執行緒https://python.github.io/python-docs-zh-tw/c-api/init.html
https://python.github.io/python-docs-zh-tw/c-api/init.html#initialization-finalization-and-threads
Python 初始化設定https://python.github.io/python-docs-zh-tw/c-api/init_config.html#init-config
https://python.github.io/python-docs-zh-tw/c-api/init.html#before-python-initialization
Py_Initialize()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_Initialize
global configuration variableshttps://python.github.io/python-docs-zh-tw/c-api/init.html#global-conf-vars
Py_Initialize()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_Initialize
Py_InitializeEx()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_InitializeEx
Py_InitializeFromConfig()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_InitializeFromConfig
Py_BytesMain()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_BytesMain
Py_Main()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_Main
Python 初始化設定https://python.github.io/python-docs-zh-tw/c-api/init_config.html#init-config
PyImport_AppendInittab()https://python.github.io/python-docs-zh-tw/c-api/import.html#c.PyImport_AppendInittab
PyImport_ExtendInittab()https://python.github.io/python-docs-zh-tw/c-api/import.html#c.PyImport_ExtendInittab
PyMem_SetAllocator()https://python.github.io/python-docs-zh-tw/c-api/memory.html#c.PyMem_SetAllocator
PyMem_SetupDebugHooks()https://python.github.io/python-docs-zh-tw/c-api/memory.html#c.PyMem_SetupDebugHooks
PyObject_SetArenaAllocator()https://python.github.io/python-docs-zh-tw/c-api/memory.html#c.PyObject_SetArenaAllocator
Py_SetProgramName()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_SetProgramName
Py_SetPythonHome()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_SetPythonHome
PySys_ResetWarnOptions()https://python.github.io/python-docs-zh-tw/c-api/sys.html#c.PySys_ResetWarnOptions
Python 初始化設定https://python.github.io/python-docs-zh-tw/c-api/init_config.html#init-config
Py_IsInitialized()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_IsInitialized
PyMem_GetAllocator()https://python.github.io/python-docs-zh-tw/c-api/memory.html#c.PyMem_GetAllocator
PyObject_GetArenaAllocator()https://python.github.io/python-docs-zh-tw/c-api/memory.html#c.PyObject_GetArenaAllocator
Py_GetBuildInfo()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_GetBuildInfo
Py_GetCompiler()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_GetCompiler
Py_GetCopyright()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_GetCopyright
Py_GetPlatform()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_GetPlatform
Py_GetVersion()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_GetVersion
Py_IsInitialized()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_IsInitialized
Py_DecodeLocale()https://python.github.io/python-docs-zh-tw/c-api/sys.html#c.Py_DecodeLocale
Python 初始化設定https://python.github.io/python-docs-zh-tw/c-api/init_config.html#init-config
PyMem_RawMalloc()https://python.github.io/python-docs-zh-tw/c-api/memory.html#c.PyMem_RawMalloc
PyMem_RawRealloc()https://python.github.io/python-docs-zh-tw/c-api/memory.html#c.PyMem_RawRealloc
PyMem_RawCalloc()https://python.github.io/python-docs-zh-tw/c-api/memory.html#c.PyMem_RawCalloc
PyMem_RawFree()https://python.github.io/python-docs-zh-tw/c-api/memory.html#c.PyMem_RawFree
PyMutex_Lock()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyMutex_Lock
PyMutex_Unlock()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyMutex_Unlock
Py_EncodeLocale()https://python.github.io/python-docs-zh-tw/c-api/sys.html#c.Py_EncodeLocale
Py_GetPath()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_GetPath
Py_GetPrefix()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_GetPrefix
Py_GetExecPrefix()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_GetExecPrefix
Py_GetProgramFullPath()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_GetProgramFullPath
Py_GetPythonHome()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_GetPythonHome
Py_GetProgramName()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_GetProgramName
PyEval_InitThreads()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyEval_InitThreads
Py_RunMain()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_RunMain
https://python.github.io/python-docs-zh-tw/c-api/init.html#global-configuration-variables
command line optionshttps://python.github.io/python-docs-zh-tw/using/cmdline.html#using-on-interface-options
Py_BytesWarningFlaghttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_BytesWarningFlag
Py_BytesWarningFlaghttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_BytesWarningFlag
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_BytesWarningFlag
PyConfig.bytes_warninghttps://python.github.io/python-docs-zh-tw/c-api/init_config.html#c.PyConfig.bytes_warning
Python Initialization Configurationhttps://python.github.io/python-docs-zh-tw/c-api/init_config.html#init-config
byteshttps://python.github.io/python-docs-zh-tw/library/stdtypes.html#bytes
bytearrayhttps://python.github.io/python-docs-zh-tw/library/stdtypes.html#bytearray
strhttps://python.github.io/python-docs-zh-tw/library/stdtypes.html#str
byteshttps://python.github.io/python-docs-zh-tw/library/stdtypes.html#bytes
inthttps://python.github.io/python-docs-zh-tw/library/functions.html#int
-bhttps://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-b
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_DebugFlag
PyConfig.parser_debughttps://python.github.io/python-docs-zh-tw/c-api/init_config.html#c.PyConfig.parser_debug
Python Initialization Configurationhttps://python.github.io/python-docs-zh-tw/c-api/init_config.html#init-config
-dhttps://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-d
PYTHONDEBUGhttps://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONDEBUG
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_DontWriteBytecodeFlag
PyConfig.write_bytecodehttps://python.github.io/python-docs-zh-tw/c-api/init_config.html#c.PyConfig.write_bytecode
Python Initialization Configurationhttps://python.github.io/python-docs-zh-tw/c-api/init_config.html#init-config
-Bhttps://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-B
PYTHONDONTWRITEBYTECODEhttps://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONDONTWRITEBYTECODE
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_FrozenFlag
PyConfig.pathconfig_warningshttps://python.github.io/python-docs-zh-tw/c-api/init_config.html#c.PyConfig.pathconfig_warnings
Python Initialization Configurationhttps://python.github.io/python-docs-zh-tw/c-api/init_config.html#init-config
Py_GetPath()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_GetPath
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_HashRandomizationFlag
PyConfig.hash_seedhttps://python.github.io/python-docs-zh-tw/c-api/init_config.html#c.PyConfig.hash_seed
PyConfig.use_hash_seedhttps://python.github.io/python-docs-zh-tw/c-api/init_config.html#c.PyConfig.use_hash_seed
Python Initialization Configurationhttps://python.github.io/python-docs-zh-tw/c-api/init_config.html#init-config
PYTHONHASHSEEDhttps://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONHASHSEED
PYTHONHASHSEEDhttps://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONHASHSEED
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_IgnoreEnvironmentFlag
PyConfig.use_environmenthttps://python.github.io/python-docs-zh-tw/c-api/init_config.html#c.PyConfig.use_environment
Python Initialization Configurationhttps://python.github.io/python-docs-zh-tw/c-api/init_config.html#init-config
PYTHONPATHhttps://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONPATH
PYTHONHOMEhttps://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONHOME
-Ehttps://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-E
-Ihttps://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-I
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_InspectFlag
PyConfig.inspecthttps://python.github.io/python-docs-zh-tw/c-api/init_config.html#c.PyConfig.inspect
Python Initialization Configurationhttps://python.github.io/python-docs-zh-tw/c-api/init_config.html#init-config
-chttps://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-c
sys.stdinhttps://python.github.io/python-docs-zh-tw/library/sys.html#sys.stdin
-ihttps://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-i
PYTHONINSPECThttps://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONINSPECT
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_InteractiveFlag
PyConfig.interactivehttps://python.github.io/python-docs-zh-tw/c-api/init_config.html#c.PyConfig.interactive
Python Initialization Configurationhttps://python.github.io/python-docs-zh-tw/c-api/init_config.html#init-config
-ihttps://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-i
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_IsolatedFlag
PyConfig.isolatedhttps://python.github.io/python-docs-zh-tw/c-api/init_config.html#c.PyConfig.isolated
Python Initialization Configurationhttps://python.github.io/python-docs-zh-tw/c-api/init_config.html#init-config
sys.pathhttps://python.github.io/python-docs-zh-tw/library/sys.html#sys.path
-ihttps://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-i
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_LegacyWindowsFSEncodingFlag
PyPreConfig.legacy_windows_fs_encodinghttps://python.github.io/python-docs-zh-tw/c-api/init_config.html#c.PyPreConfig.legacy_windows_fs_encoding
Python Initialization Configurationhttps://python.github.io/python-docs-zh-tw/c-api/init_config.html#init-config
filesystem encoding and error handlerhttps://python.github.io/python-docs-zh-tw/glossary.html#term-filesystem-encoding-and-error-handler
PYTHONLEGACYWINDOWSFSENCODINGhttps://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONLEGACYWINDOWSFSENCODING
PEP 529https://peps.python.org/pep-0529/
可用性https://python.github.io/python-docs-zh-tw/library/intro.html#availability
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_LegacyWindowsStdioFlag
PyConfig.legacy_windows_stdiohttps://python.github.io/python-docs-zh-tw/c-api/init_config.html#c.PyConfig.legacy_windows_stdio
Python Initialization Configurationhttps://python.github.io/python-docs-zh-tw/c-api/init_config.html#init-config
io.FileIOhttps://python.github.io/python-docs-zh-tw/library/io.html#io.FileIO
syshttps://python.github.io/python-docs-zh-tw/library/sys.html#module-sys
PYTHONLEGACYWINDOWSSTDIOhttps://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONLEGACYWINDOWSSTDIO
PEP 528https://peps.python.org/pep-0528/
可用性https://python.github.io/python-docs-zh-tw/library/intro.html#availability
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_NoSiteFlag
PyConfig.site_importhttps://python.github.io/python-docs-zh-tw/c-api/init_config.html#c.PyConfig.site_import
Python Initialization Configurationhttps://python.github.io/python-docs-zh-tw/c-api/init_config.html#init-config
sitehttps://python.github.io/python-docs-zh-tw/library/site.html#module-site
sys.pathhttps://python.github.io/python-docs-zh-tw/library/sys.html#sys.path
sitehttps://python.github.io/python-docs-zh-tw/library/site.html#module-site
site.main()https://python.github.io/python-docs-zh-tw/library/site.html#site.main
-Shttps://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-S
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_NoUserSiteDirectory
PyConfig.user_site_directoryhttps://python.github.io/python-docs-zh-tw/c-api/init_config.html#c.PyConfig.user_site_directory
Python Initialization Configurationhttps://python.github.io/python-docs-zh-tw/c-api/init_config.html#init-config
user site-packages directoryhttps://python.github.io/python-docs-zh-tw/library/site.html#site.USER_SITE
sys.pathhttps://python.github.io/python-docs-zh-tw/library/sys.html#sys.path
-shttps://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-s
-Ihttps://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-I
PYTHONNOUSERSITEhttps://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONNOUSERSITE
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_OptimizeFlag
PyConfig.optimization_levelhttps://python.github.io/python-docs-zh-tw/c-api/init_config.html#c.PyConfig.optimization_level
Python Initialization Configurationhttps://python.github.io/python-docs-zh-tw/c-api/init_config.html#init-config
-Ohttps://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-O
PYTHONOPTIMIZEhttps://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONOPTIMIZE
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_QuietFlag
PyConfig.quiethttps://python.github.io/python-docs-zh-tw/c-api/init_config.html#c.PyConfig.quiet
Python Initialization Configurationhttps://python.github.io/python-docs-zh-tw/c-api/init_config.html#init-config
-qhttps://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-q
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_UnbufferedStdioFlag
PyConfig.buffered_stdiohttps://python.github.io/python-docs-zh-tw/c-api/init_config.html#c.PyConfig.buffered_stdio
Python Initialization Configurationhttps://python.github.io/python-docs-zh-tw/c-api/init_config.html#init-config
-uhttps://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-u
PYTHONUNBUFFEREDhttps://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONUNBUFFERED
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_VerboseFlag
PyConfig.verbosehttps://python.github.io/python-docs-zh-tw/c-api/init_config.html#c.PyConfig.verbose
Python Initialization Configurationhttps://python.github.io/python-docs-zh-tw/c-api/init_config.html#init-config
-vhttps://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-v
PYTHONVERBOSEhttps://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONVERBOSE
https://python.github.io/python-docs-zh-tw/c-api/init.html#initializing-and-finalizing-the-interpreter
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_Initialize
穩定 ABI 的一部分https://python.github.io/python-docs-zh-tw/c-api/stable.html#stable
Before Python Initializationhttps://python.github.io/python-docs-zh-tw/c-api/init.html#pre-init-safe
builtinshttps://python.github.io/python-docs-zh-tw/library/builtins.html#module-builtins
__main__https://python.github.io/python-docs-zh-tw/library/__main__.html#module-__main__
syshttps://python.github.io/python-docs-zh-tw/library/sys.html#module-sys
Python Initialization Configurationhttps://python.github.io/python-docs-zh-tw/c-api/init_config.html#init-config
Py_FinalizeEx()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_FinalizeEx
Py_InitializeFromConfig()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_InitializeFromConfig
Python Initialization Configurationhttps://python.github.io/python-docs-zh-tw/c-api/init_config.html#init-config
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_InitializeEx
穩定 ABI 的一部分https://python.github.io/python-docs-zh-tw/c-api/stable.html#stable
Py_Initialize()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_Initialize
Py_InitializeFromConfig()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_InitializeFromConfig
Python Initialization Configurationhttps://python.github.io/python-docs-zh-tw/c-api/init_config.html#init-config
PyStatushttps://python.github.io/python-docs-zh-tw/c-api/init_config.html#c.PyStatus
PyConfighttps://python.github.io/python-docs-zh-tw/c-api/init_config.html#c.PyConfig
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_InitializeFromConfig
Initialization with PyConfighttps://python.github.io/python-docs-zh-tw/c-api/init_config.html#init-from-config
Python 初始化設定https://python.github.io/python-docs-zh-tw/c-api/init_config.html#init-config
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_IsInitialized
穩定 ABI 的一部分https://python.github.io/python-docs-zh-tw/c-api/stable.html#stable
Py_FinalizeEx()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_FinalizeEx
Py_Initialize()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_Initialize
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_IsFinalizing
穩定 ABI 的一部分https://python.github.io/python-docs-zh-tw/c-api/stable.html#stable
shutting downhttps://python.github.io/python-docs-zh-tw/glossary.html#term-interpreter-shutdown
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_FinalizeEx
穩定 ABI 的一部分https://python.github.io/python-docs-zh-tw/c-api/stable.html#stable
Py_Initialize()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_Initialize
Py_NewInterpreter()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_NewInterpreter
Py_Initialize()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_Initialize
Py_Initialize()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_Initialize
Py_Initialize()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_Initialize
Py_RunMain()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_RunMain
Py_Initialize()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_Initialize
__del__()https://python.github.io/python-docs-zh-tw/reference/datamodel.html#object.__del__
Py_Initialize()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_Initialize
Py_FinalizeEx()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_FinalizeEx
Py_FinalizeEx()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_FinalizeEx
atexithttps://python.github.io/python-docs-zh-tw/library/atexit.html#module-atexit
稽核事件https://python.github.io/python-docs-zh-tw/library/sys.html#auditing
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_Finalize
穩定 ABI 的一部分https://python.github.io/python-docs-zh-tw/c-api/stable.html#stable
Py_FinalizeEx()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_FinalizeEx
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_BytesMain
穩定 ABI 的一部分https://python.github.io/python-docs-zh-tw/c-api/stable.html#stable
Py_Main()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_Main
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_Main
穩定 ABI 的一部分https://python.github.io/python-docs-zh-tw/c-api/stable.html#stable
命令列https://python.github.io/python-docs-zh-tw/using/cmdline.html#using-on-cmdline
Py_DecodeLocale()https://python.github.io/python-docs-zh-tw/c-api/sys.html#c.Py_DecodeLocale
Py_RunMain()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_RunMain
runtime configurationhttps://python.github.io/python-docs-zh-tw/c-api/init_config.html#init-config
Py_Initialize()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_Initialize
Py_InitializeEx()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_InitializeEx
Py_InitializeFromConfig()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_InitializeFromConfig
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_RunMain
PyConfig.run_commandhttps://python.github.io/python-docs-zh-tw/c-api/init_config.html#c.PyConfig.run_command
PyConfig.run_filenamehttps://python.github.io/python-docs-zh-tw/c-api/init_config.html#c.PyConfig.run_filename
PyConfig.run_modulehttps://python.github.io/python-docs-zh-tw/c-api/init_config.html#c.PyConfig.run_module
PyConfig.inspecthttps://python.github.io/python-docs-zh-tw/c-api/init_config.html#c.PyConfig.inspect
SystemExithttps://python.github.io/python-docs-zh-tw/library/exceptions.html#SystemExit
PyConfig.inspecthttps://python.github.io/python-docs-zh-tw/c-api/init_config.html#c.PyConfig.inspect
-ihttps://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-i
SystemExithttps://python.github.io/python-docs-zh-tw/library/exceptions.html#SystemExit
Python Configurationhttps://python.github.io/python-docs-zh-tw/c-api/init_config.html#init-python-config
Py_RunMain()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_RunMain
PyInterpreterStatehttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyInterpreterState
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyUnstable_AtExit
不穩定 APIhttps://python.github.io/python-docs-zh-tw/c-api/stable.html#unstable-c-api
atexithttps://python.github.io/python-docs-zh-tw/library/atexit.html#module-atexit
Py_AtExit()https://python.github.io/python-docs-zh-tw/c-api/sys.html#c.Py_AtExit
attached thread statehttps://python.github.io/python-docs-zh-tw/glossary.html#term-attached-thread-state
https://python.github.io/python-docs-zh-tw/c-api/init.html#process-wide-parameters
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_SetProgramName
穩定 ABI 的一部分https://python.github.io/python-docs-zh-tw/c-api/stable.html#stable
PyConfig.program_namehttps://python.github.io/python-docs-zh-tw/c-api/init_config.html#c.PyConfig.program_name
Python Initialization Configurationhttps://python.github.io/python-docs-zh-tw/c-api/init_config.html#init-config
Py_Initialize()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_Initialize
Py_GetPath()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_GetPath
Py_DecodeLocale()https://python.github.io/python-docs-zh-tw/c-api/sys.html#c.Py_DecodeLocale
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_GetProgramName
穩定 ABI 的一部分https://python.github.io/python-docs-zh-tw/c-api/stable.html#stable
PyConfig.program_namehttps://python.github.io/python-docs-zh-tw/c-api/init_config.html#c.PyConfig.program_name
Py_Initialize()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_Initialize
Py_Initialize()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_Initialize
PyConfig_Get("executable")https://python.github.io/python-docs-zh-tw/c-api/init_config.html#c.PyConfig_Get
sys.executablehttps://python.github.io/python-docs-zh-tw/library/sys.html#sys.executable
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_GetPrefix
穩定 ABI 的一部分https://python.github.io/python-docs-zh-tw/c-api/stable.html#stable
PyConfig.program_namehttps://python.github.io/python-docs-zh-tw/c-api/init_config.html#c.PyConfig.program_name
--prefixhttps://python.github.io/python-docs-zh-tw/using/configure.html#cmdoption-prefix
Py_Initialize()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_Initialize
Py_Initialize()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_Initialize
PyConfig_Get("base_prefix")https://python.github.io/python-docs-zh-tw/c-api/init_config.html#c.PyConfig_Get
sys.base_prefixhttps://python.github.io/python-docs-zh-tw/library/sys.html#sys.base_prefix
PyConfig_Get("prefix")https://python.github.io/python-docs-zh-tw/c-api/init_config.html#c.PyConfig_Get
sys.prefixhttps://python.github.io/python-docs-zh-tw/library/sys.html#sys.prefix
virtual environmentshttps://python.github.io/python-docs-zh-tw/library/venv.html#venv-def
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_GetExecPrefix
穩定 ABI 的一部分https://python.github.io/python-docs-zh-tw/c-api/stable.html#stable
PyConfig.program_namehttps://python.github.io/python-docs-zh-tw/c-api/init_config.html#c.PyConfig.program_name
Py_Initialize()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_Initialize
Py_Initialize()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_Initialize
PyConfig_Get("base_exec_prefix")https://python.github.io/python-docs-zh-tw/c-api/init_config.html#c.PyConfig_Get
sys.base_exec_prefixhttps://python.github.io/python-docs-zh-tw/library/sys.html#sys.base_exec_prefix
PyConfig_Get("exec_prefix")https://python.github.io/python-docs-zh-tw/c-api/init_config.html#c.PyConfig_Get
sys.exec_prefixhttps://python.github.io/python-docs-zh-tw/library/sys.html#sys.exec_prefix
virtual environmentshttps://python.github.io/python-docs-zh-tw/library/venv.html#venv-def
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_GetProgramFullPath
穩定 ABI 的一部分https://python.github.io/python-docs-zh-tw/c-api/stable.html#stable
PyConfig.program_namehttps://python.github.io/python-docs-zh-tw/c-api/init_config.html#c.PyConfig.program_name
Py_Initialize()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_Initialize
Py_Initialize()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_Initialize
PyConfig_Get("executable")https://python.github.io/python-docs-zh-tw/c-api/init_config.html#c.PyConfig_Get
sys.executablehttps://python.github.io/python-docs-zh-tw/library/sys.html#sys.executable
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_GetPath
穩定 ABI 的一部分https://python.github.io/python-docs-zh-tw/c-api/stable.html#stable
PyConfig.program_namehttps://python.github.io/python-docs-zh-tw/c-api/init_config.html#c.PyConfig.program_name
sys.pathhttps://python.github.io/python-docs-zh-tw/library/sys.html#sys.path
Py_Initialize()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_Initialize
Py_Initialize()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_Initialize
PyConfig_Get("module_search_paths")https://python.github.io/python-docs-zh-tw/c-api/init_config.html#c.PyConfig_Get
sys.pathhttps://python.github.io/python-docs-zh-tw/library/sys.html#sys.path
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_GetVersion
穩定 ABI 的一部分https://python.github.io/python-docs-zh-tw/c-api/stable.html#stable
sys.versionhttps://python.github.io/python-docs-zh-tw/library/sys.html#sys.version
Py_Versionhttps://python.github.io/python-docs-zh-tw/c-api/apiabiversion.html#c.Py_Version
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_GetPlatform
穩定 ABI 的一部分https://python.github.io/python-docs-zh-tw/c-api/stable.html#stable
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_GetCopyright
穩定 ABI 的一部分https://python.github.io/python-docs-zh-tw/c-api/stable.html#stable
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_GetCompiler
穩定 ABI 的一部分https://python.github.io/python-docs-zh-tw/c-api/stable.html#stable
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_GetBuildInfo
穩定 ABI 的一部分https://python.github.io/python-docs-zh-tw/c-api/stable.html#stable
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PySys_SetArgvEx
穩定 ABI 的一部分https://python.github.io/python-docs-zh-tw/c-api/stable.html#stable
PyConfig.argvhttps://python.github.io/python-docs-zh-tw/c-api/init_config.html#c.PyConfig.argv
PyConfig.parse_argvhttps://python.github.io/python-docs-zh-tw/c-api/init_config.html#c.PyConfig.parse_argv
PyConfig.safe_pathhttps://python.github.io/python-docs-zh-tw/c-api/init_config.html#c.PyConfig.safe_path
Python Initialization Configurationhttps://python.github.io/python-docs-zh-tw/c-api/init_config.html#init-config
sys.argvhttps://python.github.io/python-docs-zh-tw/library/sys.html#sys.argv
sys.argvhttps://python.github.io/python-docs-zh-tw/library/sys.html#sys.argv
Py_FatalError()https://python.github.io/python-docs-zh-tw/c-api/sys.html#c.Py_FatalError
sys.pathhttps://python.github.io/python-docs-zh-tw/library/sys.html#sys.path
sys.pathhttps://python.github.io/python-docs-zh-tw/library/sys.html#sys.path
sys.pathhttps://python.github.io/python-docs-zh-tw/library/sys.html#sys.path
Py_DecodeLocale()https://python.github.io/python-docs-zh-tw/c-api/sys.html#c.Py_DecodeLocale
PyConfig.orig_argvhttps://python.github.io/python-docs-zh-tw/c-api/init_config.html#c.PyConfig.orig_argv
PyConfig.argvhttps://python.github.io/python-docs-zh-tw/c-api/init_config.html#c.PyConfig.argv
Python Initialization Configurationhttps://python.github.io/python-docs-zh-tw/c-api/init_config.html#init-config
sys.pathhttps://python.github.io/python-docs-zh-tw/library/sys.html#sys.path
CVE 2008-5983https://www.cve.org/CVERecord?id=CVE-2008-5983
sys.pathhttps://python.github.io/python-docs-zh-tw/library/sys.html#sys.path
PySys_SetArgv()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PySys_SetArgv
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PySys_SetArgv
穩定 ABI 的一部分https://python.github.io/python-docs-zh-tw/c-api/stable.html#stable
PyConfig.argvhttps://python.github.io/python-docs-zh-tw/c-api/init_config.html#c.PyConfig.argv
PyConfig.parse_argvhttps://python.github.io/python-docs-zh-tw/c-api/init_config.html#c.PyConfig.parse_argv
Python Initialization Configurationhttps://python.github.io/python-docs-zh-tw/c-api/init_config.html#init-config
PySys_SetArgvEx()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PySys_SetArgvEx
-Ihttps://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-I
Py_DecodeLocale()https://python.github.io/python-docs-zh-tw/c-api/sys.html#c.Py_DecodeLocale
PyConfig.orig_argvhttps://python.github.io/python-docs-zh-tw/c-api/init_config.html#c.PyConfig.orig_argv
PyConfig.argvhttps://python.github.io/python-docs-zh-tw/c-api/init_config.html#c.PyConfig.argv
Python Initialization Configurationhttps://python.github.io/python-docs-zh-tw/c-api/init_config.html#init-config
-Ihttps://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-I
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_SetPythonHome
穩定 ABI 的一部分https://python.github.io/python-docs-zh-tw/c-api/stable.html#stable
PyConfig.homehttps://python.github.io/python-docs-zh-tw/c-api/init_config.html#c.PyConfig.home
Python Initialization Configurationhttps://python.github.io/python-docs-zh-tw/c-api/init_config.html#init-config
PYTHONHOMEhttps://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONHOME
Py_DecodeLocale()https://python.github.io/python-docs-zh-tw/c-api/sys.html#c.Py_DecodeLocale
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_GetPythonHome
穩定 ABI 的一部分https://python.github.io/python-docs-zh-tw/c-api/stable.html#stable
PyConfig.homehttps://python.github.io/python-docs-zh-tw/c-api/init_config.html#c.PyConfig.home
PYTHONHOMEhttps://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONHOME
Py_Initialize()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_Initialize
Py_Initialize()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_Initialize
PyConfig_Get("home")https://python.github.io/python-docs-zh-tw/c-api/init_config.html#c.PyConfig_Get
PYTHONHOMEhttps://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONHOME
https://python.github.io/python-docs-zh-tw/c-api/init.html#thread-state-and-the-global-interpreter-lock
free-threadedhttps://python.github.io/python-docs-zh-tw/glossary.html#term-free-threading
CPythonhttps://python.github.io/python-docs-zh-tw/glossary.html#term-CPython
global interpreter lockhttps://python.github.io/python-docs-zh-tw/glossary.html#term-global-interpreter-lock
GILhttps://python.github.io/python-docs-zh-tw/glossary.html#term-GIL
GILhttps://python.github.io/python-docs-zh-tw/glossary.html#term-GIL
sys.setswitchinterval()https://python.github.io/python-docs-zh-tw/library/sys.html#sys.setswitchinterval
PyThreadStatehttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyThreadState
thread statehttps://python.github.io/python-docs-zh-tw/glossary.html#term-thread-state
PyThreadStatehttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyThreadState
attachedhttps://python.github.io/python-docs-zh-tw/glossary.html#term-attached-thread-state
attached thread statehttps://python.github.io/python-docs-zh-tw/glossary.html#term-attached-thread-state
GILhttps://python.github.io/python-docs-zh-tw/glossary.html#term-GIL
free-threadedhttps://python.github.io/python-docs-zh-tw/glossary.html#term-free-threading
GILhttps://python.github.io/python-docs-zh-tw/glossary.html#term-GIL
attachinghttps://python.github.io/python-docs-zh-tw/glossary.html#term-attached-thread-state
GILhttps://python.github.io/python-docs-zh-tw/glossary.html#term-GIL
GILhttps://python.github.io/python-docs-zh-tw/glossary.html#term-GIL
attached thread statehttps://python.github.io/python-docs-zh-tw/glossary.html#term-attached-thread-state
Py_BEGIN_ALLOW_THREADShttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_BEGIN_ALLOW_THREADS
PyThreadState_GetUnchecked()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyThreadState_GetUnchecked
https://python.github.io/python-docs-zh-tw/c-api/init.html#detaching-the-thread-state-from-extension-code
thread statehttps://python.github.io/python-docs-zh-tw/glossary.html#term-thread-state
Py_BEGIN_ALLOW_THREADShttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_BEGIN_ALLOW_THREADS
Py_END_ALLOW_THREADShttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_END_ALLOW_THREADS
attached thread statehttps://python.github.io/python-docs-zh-tw/glossary.html#term-attached-thread-state
GILhttps://python.github.io/python-docs-zh-tw/glossary.html#term-GIL
attached thread statehttps://python.github.io/python-docs-zh-tw/glossary.html#term-attached-thread-state
GILhttps://python.github.io/python-docs-zh-tw/glossary.html#term-GIL
GILhttps://python.github.io/python-docs-zh-tw/glossary.html#term-GIL
attached thread statehttps://python.github.io/python-docs-zh-tw/glossary.html#term-attached-thread-state
Py_END_ALLOW_THREADShttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_END_ALLOW_THREADS
attachedhttps://python.github.io/python-docs-zh-tw/glossary.html#term-attached-thread-state
PyEval_RestoreThread()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyEval_RestoreThread
thread statehttps://python.github.io/python-docs-zh-tw/glossary.html#term-attached-thread-state
thread statehttps://python.github.io/python-docs-zh-tw/glossary.html#term-attached-thread-state
free-threadedhttps://python.github.io/python-docs-zh-tw/glossary.html#term-free-threading
GILhttps://python.github.io/python-docs-zh-tw/glossary.html#term-GIL
thread statehttps://python.github.io/python-docs-zh-tw/glossary.html#term-attached-thread-state
GILhttps://python.github.io/python-docs-zh-tw/glossary.html#term-GIL
thread statehttps://python.github.io/python-docs-zh-tw/glossary.html#term-attached-thread-state
zlibhttps://python.github.io/python-docs-zh-tw/library/zlib.html#module-zlib
hashlibhttps://python.github.io/python-docs-zh-tw/library/hashlib.html#module-hashlib
thread statehttps://python.github.io/python-docs-zh-tw/glossary.html#term-attached-thread-state
https://python.github.io/python-docs-zh-tw/c-api/init.html#non-python-created-threads
threadinghttps://python.github.io/python-docs-zh-tw/library/threading.html#module-threading
GILhttps://python.github.io/python-docs-zh-tw/glossary.html#term-GIL
attached thread statehttps://python.github.io/python-docs-zh-tw/glossary.html#term-attached-thread-state
attached thread statehttps://python.github.io/python-docs-zh-tw/glossary.html#term-attached-thread-state
thread statehttps://python.github.io/python-docs-zh-tw/glossary.html#term-attached-thread-state
PyGILState_Ensure()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyGILState_Ensure
PyGILState_Release()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyGILState_Release
Py_Initialize()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_Initialize
Py_NewInterpreter()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_NewInterpreter
PyGILState_Ensure()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyGILState_Ensure
attachinghttps://python.github.io/python-docs-zh-tw/glossary.html#term-attached-thread-state
thread statehttps://python.github.io/python-docs-zh-tw/glossary.html#term-thread-state
https://python.github.io/python-docs-zh-tw/c-api/init.html#supporting-subinterpreters-in-non-python-threads
PyThreadState_New()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyThreadState_New
thread statehttps://python.github.io/python-docs-zh-tw/glossary.html#term-thread-state
https://python.github.io/python-docs-zh-tw/c-api/init.html#cautions-about-fork
os.fork()https://python.github.io/python-docs-zh-tw/library/os.html#os.fork
Lock 物件https://python.github.io/python-docs-zh-tw/library/threading.html#lock-objects
os.fork()https://python.github.io/python-docs-zh-tw/library/os.html#os.fork
PyOS_AfterFork_Child()https://python.github.io/python-docs-zh-tw/c-api/sys.html#c.PyOS_AfterFork_Child
os.fork()https://python.github.io/python-docs-zh-tw/library/os.html#os.fork
PyThreadStatehttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyThreadState
PyInterpreterStatehttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyInterpreterState
"main" interpreterhttps://python.github.io/python-docs-zh-tw/c-api/init.html#sub-interpreter-support
https://python.github.io/python-docs-zh-tw/c-api/init.html#cautions-regarding-runtime-finalization
interpreter shutdownhttps://python.github.io/python-docs-zh-tw/glossary.html#term-interpreter-shutdown
KeyboardInterrupthttps://python.github.io/python-docs-zh-tw/library/exceptions.html#KeyboardInterrupt
atexithttps://python.github.io/python-docs-zh-tw/library/atexit.html#module-atexit
Py_IsFinalizing()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_IsFinalizing
sys.is_finalizing()https://python.github.io/python-docs-zh-tw/library/sys.html#sys.is_finalizing
GILhttps://python.github.io/python-docs-zh-tw/glossary.html#term-GIL
thread statehttps://python.github.io/python-docs-zh-tw/glossary.html#term-thread-state
thread statehttps://python.github.io/python-docs-zh-tw/glossary.html#term-thread-state
thread statehttps://python.github.io/python-docs-zh-tw/glossary.html#term-thread-state
https://python.github.io/python-docs-zh-tw/c-api/init.html#high-level-api
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyInterpreterState
受限 API 的一部分https://python.github.io/python-docs-zh-tw/c-api/stable.html#stable
PEP 684https://peps.python.org/pep-0684/
per-interpreter GILhttps://python.github.io/python-docs-zh-tw/c-api/init.html#per-interpreter-gil
Py_NewInterpreterFromConfig()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_NewInterpreterFromConfig
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyThreadState
受限 API 的一部分https://python.github.io/python-docs-zh-tw/c-api/stable.html#stable
PyInterpreterStatehttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyInterpreterState
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyThreadState.interp
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyEval_InitThreads
穩定 ABI 的一部分https://python.github.io/python-docs-zh-tw/c-api/stable.html#stable
Py_Initialize()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_Initialize
Py_Initialize()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_Initialize
PyThreadStatehttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyThreadState
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyEval_SaveThread
穩定 ABI 的一部分https://python.github.io/python-docs-zh-tw/c-api/stable.html#stable
attached thread statehttps://python.github.io/python-docs-zh-tw/glossary.html#term-attached-thread-state
thread statehttps://python.github.io/python-docs-zh-tw/glossary.html#term-thread-state
PyThreadStatehttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyThreadState
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyEval_RestoreThread
穩定 ABI 的一部分https://python.github.io/python-docs-zh-tw/c-api/stable.html#stable
attached thread statehttps://python.github.io/python-docs-zh-tw/glossary.html#term-attached-thread-state
thread statehttps://python.github.io/python-docs-zh-tw/glossary.html#term-thread-state
attachedhttps://python.github.io/python-docs-zh-tw/glossary.html#term-attached-thread-state
Cautions regarding runtime finalizationhttps://python.github.io/python-docs-zh-tw/c-api/init.html#cautions-regarding-runtime-finalization
PyThreadStatehttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyThreadState
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyThreadState_Get
穩定 ABI 的一部分https://python.github.io/python-docs-zh-tw/c-api/stable.html#stable
attached thread statehttps://python.github.io/python-docs-zh-tw/glossary.html#term-attached-thread-state
Py_BEGIN_ALLOW_THREADShttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_BEGIN_ALLOW_THREADS
PyThreadState_GetUnchecked()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyThreadState_GetUnchecked
PyThreadStatehttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyThreadState
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyThreadState_GetUnchecked
PyThreadState_Get()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyThreadState_Get
PyThreadStatehttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyThreadState
PyThreadStatehttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyThreadState
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyThreadState_Swap
穩定 ABI 的一部分https://python.github.io/python-docs-zh-tw/c-api/stable.html#stable
attached thread statehttps://python.github.io/python-docs-zh-tw/glossary.html#term-attached-thread-state
thread statehttps://python.github.io/python-docs-zh-tw/glossary.html#term-thread-state
attached thread statehttps://python.github.io/python-docs-zh-tw/glossary.html#term-attached-thread-state
PyEval_ReleaseThread()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyEval_ReleaseThread
PyGILState_Ensure()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyGILState_Ensure
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyGILState_STATE
穩定 ABI 的一部分https://python.github.io/python-docs-zh-tw/c-api/stable.html#stable
PyGILState_Ensure()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyGILState_Ensure
PyGILState_Release()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyGILState_Release
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyGILState_STATE.PyGILState_LOCKED
PyGILState_Ensure()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyGILState_Ensure
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyGILState_STATE.PyGILState_UNLOCKED
PyGILState_Ensure()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyGILState_Ensure
PyGILState_STATEhttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyGILState_STATE
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyGILState_Ensure
穩定 ABI 的一部分https://python.github.io/python-docs-zh-tw/c-api/stable.html#stable
attached thread statehttps://python.github.io/python-docs-zh-tw/glossary.html#term-attached-thread-state
PyGILState_Release()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyGILState_Release
PyGILState_Ensure()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyGILState_Ensure
PyGILState_Release()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyGILState_Release
Py_BEGIN_ALLOW_THREADShttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_BEGIN_ALLOW_THREADS
Py_END_ALLOW_THREADShttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_END_ALLOW_THREADS
attached thread statehttps://python.github.io/python-docs-zh-tw/glossary.html#term-attached-thread-state
PyGILState_Ensure()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyGILState_Ensure
PyGILState_Release()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyGILState_Release
PyGILState_Ensure()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyGILState_Ensure
PyGILState_Release()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyGILState_Release
attached thread statehttps://python.github.io/python-docs-zh-tw/glossary.html#term-attached-thread-state
Cautions regarding runtime finalizationhttps://python.github.io/python-docs-zh-tw/c-api/init.html#cautions-regarding-runtime-finalization
PyGILState_STATEhttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyGILState_STATE
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyGILState_Release
穩定 ABI 的一部分https://python.github.io/python-docs-zh-tw/c-api/stable.html#stable
PyGILState_Ensure()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyGILState_Ensure
PyGILState_Ensure()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyGILState_Ensure
PyGILState_Release()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyGILState_Release
PyThreadStatehttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyThreadState
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyGILState_GetThisThreadState
穩定 ABI 的一部分https://python.github.io/python-docs-zh-tw/c-api/stable.html#stable
attached thread statehttps://python.github.io/python-docs-zh-tw/glossary.html#term-attached-thread-state
thread statehttps://python.github.io/python-docs-zh-tw/glossary.html#term-thread-state
PyThreadState_Get()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyThreadState_Get
PyThreadState_GetUnchecked()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyThreadState_GetUnchecked
PyThreadState_Get()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyThreadState_Get
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyGILState_Check
GILhttps://python.github.io/python-docs-zh-tw/glossary.html#term-GIL
thread statehttps://python.github.io/python-docs-zh-tw/glossary.html#term-attached-thread-state
PyGILState_Ensure()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyGILState_Ensure
GILhttps://python.github.io/python-docs-zh-tw/glossary.html#term-GIL
PyThreadState_GetUnchecked()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyThreadState_GetUnchecked
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_BEGIN_ALLOW_THREADS
穩定 ABI 的一部分https://python.github.io/python-docs-zh-tw/c-api/stable.html#stable
Py_END_ALLOW_THREADShttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_END_ALLOW_THREADS
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_END_ALLOW_THREADS
穩定 ABI 的一部分https://python.github.io/python-docs-zh-tw/c-api/stable.html#stable
Py_BEGIN_ALLOW_THREADShttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_BEGIN_ALLOW_THREADS
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_BLOCK_THREADS
穩定 ABI 的一部分https://python.github.io/python-docs-zh-tw/c-api/stable.html#stable
Py_END_ALLOW_THREADShttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_END_ALLOW_THREADS
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_UNBLOCK_THREADS
穩定 ABI 的一部分https://python.github.io/python-docs-zh-tw/c-api/stable.html#stable
Py_BEGIN_ALLOW_THREADShttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_BEGIN_ALLOW_THREADS
https://python.github.io/python-docs-zh-tw/c-api/init.html#low-level-api
Py_Initialize()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_Initialize
Py_Initialize()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_Initialize
GILhttps://python.github.io/python-docs-zh-tw/glossary.html#term-GIL
attached thread statehttps://python.github.io/python-docs-zh-tw/glossary.html#term-attached-thread-state
PyInterpreterStatehttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyInterpreterState
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyInterpreterState_New
穩定 ABI 的一部分https://python.github.io/python-docs-zh-tw/c-api/stable.html#stable
attached thread statehttps://python.github.io/python-docs-zh-tw/glossary.html#term-attached-thread-state
稽核事件https://python.github.io/python-docs-zh-tw/library/sys.html#auditing
PyInterpreterStatehttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyInterpreterState
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyInterpreterState_Clear
穩定 ABI 的一部分https://python.github.io/python-docs-zh-tw/c-api/stable.html#stable
attached thread statehttps://python.github.io/python-docs-zh-tw/glossary.html#term-attached-thread-state
稽核事件https://python.github.io/python-docs-zh-tw/library/sys.html#auditing
PyInterpreterStatehttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyInterpreterState
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyInterpreterState_Delete
穩定 ABI 的一部分https://python.github.io/python-docs-zh-tw/c-api/stable.html#stable
attached thread statehttps://python.github.io/python-docs-zh-tw/glossary.html#term-attached-thread-state
PyInterpreterState_Clear()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyInterpreterState_Clear
PyThreadStatehttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyThreadState
PyInterpreterStatehttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyInterpreterState
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyThreadState_New
穩定 ABI 的一部分https://python.github.io/python-docs-zh-tw/c-api/stable.html#stable
attached thread statehttps://python.github.io/python-docs-zh-tw/glossary.html#term-attached-thread-state
PyThreadStatehttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyThreadState
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyThreadState_Clear
穩定 ABI 的一部分https://python.github.io/python-docs-zh-tw/c-api/stable.html#stable
thread statehttps://python.github.io/python-docs-zh-tw/glossary.html#term-thread-state
attachedhttps://python.github.io/python-docs-zh-tw/glossary.html#term-attached-thread-state
PyThreadState_Delete()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyThreadState_Delete
PyThreadStatehttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyThreadState
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyThreadState_Delete
穩定 ABI 的一部分https://python.github.io/python-docs-zh-tw/c-api/stable.html#stable
thread statehttps://python.github.io/python-docs-zh-tw/glossary.html#term-thread-state
attachedhttps://python.github.io/python-docs-zh-tw/glossary.html#term-attached-thread-state
PyThreadState_Clear()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyThreadState_Clear
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyThreadState_DeleteCurrent
attached thread statehttps://python.github.io/python-docs-zh-tw/glossary.html#term-attached-thread-state
PyThreadState_Clear()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyThreadState_Clear
thread statehttps://python.github.io/python-docs-zh-tw/glossary.html#term-thread-state
attachedhttps://python.github.io/python-docs-zh-tw/glossary.html#term-attached-thread-state
PyFrameObjecthttps://python.github.io/python-docs-zh-tw/c-api/frame.html#c.PyFrameObject
PyThreadStatehttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyThreadState
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyThreadState_GetFrame
穩定 ABI 的一部分https://python.github.io/python-docs-zh-tw/c-api/stable.html#stable
strong referencehttps://python.github.io/python-docs-zh-tw/glossary.html#term-strong-reference
PyEval_GetFrame()https://python.github.io/python-docs-zh-tw/c-api/reflection.html#c.PyEval_GetFrame
attachedhttps://python.github.io/python-docs-zh-tw/glossary.html#term-attached-thread-state
PyThreadStatehttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyThreadState
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyThreadState_GetID
穩定 ABI 的一部分https://python.github.io/python-docs-zh-tw/c-api/stable.html#stable
thread statehttps://python.github.io/python-docs-zh-tw/glossary.html#term-thread-state
attachedhttps://python.github.io/python-docs-zh-tw/glossary.html#term-attached-thread-state
PyInterpreterStatehttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyInterpreterState
PyThreadStatehttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyThreadState
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyThreadState_GetInterpreter
穩定 ABI 的一部分https://python.github.io/python-docs-zh-tw/c-api/stable.html#stable
attachedhttps://python.github.io/python-docs-zh-tw/glossary.html#term-attached-thread-state
PyThreadStatehttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyThreadState
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyThreadState_EnterTracing
PyThreadState_LeaveTracing()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyThreadState_LeaveTracing
PyThreadStatehttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyThreadState
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyThreadState_LeaveTracing
PyThreadState_EnterTracing()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyThreadState_EnterTracing
PyEval_SetTrace()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyEval_SetTrace
PyEval_SetProfile()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyEval_SetProfile
PyInterpreterStatehttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyInterpreterState
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyInterpreterState_Get
穩定 ABI 的一部分https://python.github.io/python-docs-zh-tw/c-api/stable.html#stable
attached thread statehttps://python.github.io/python-docs-zh-tw/glossary.html#term-attached-thread-state
PyInterpreterStatehttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyInterpreterState
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyInterpreterState_GetID
穩定 ABI 的一部分https://python.github.io/python-docs-zh-tw/c-api/stable.html#stable
attached thread statehttps://python.github.io/python-docs-zh-tw/glossary.html#term-attached-thread-state
PyObjecthttps://python.github.io/python-docs-zh-tw/c-api/structures.html#c.PyObject
PyInterpreterStatehttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyInterpreterState
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyInterpreterState_GetDict
穩定 ABI 的一部分https://python.github.io/python-docs-zh-tw/c-api/stable.html#stable
PyModule_GetState()https://python.github.io/python-docs-zh-tw/c-api/module.html#c.PyModule_GetState
PyObjecthttps://python.github.io/python-docs-zh-tw/c-api/structures.html#c.PyObject
PyThreadStatehttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyThreadState
_PyInterpreterFramehttps://python.github.io/python-docs-zh-tw/c-api/frame.html#c._PyInterpreterFrame
https://python.github.io/python-docs-zh-tw/c-api/init.html#c._PyFrameEvalFunction
_PyFrameEvalFunctionhttps://python.github.io/python-docs-zh-tw/c-api/init.html#c._PyFrameEvalFunction
PyInterpreterStatehttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyInterpreterState
https://python.github.io/python-docs-zh-tw/c-api/init.html#c._PyInterpreterState_GetEvalFrameFunc
PEP 523https://peps.python.org/pep-0523/
PyInterpreterStatehttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyInterpreterState
_PyFrameEvalFunctionhttps://python.github.io/python-docs-zh-tw/c-api/init.html#c._PyFrameEvalFunction
https://python.github.io/python-docs-zh-tw/c-api/init.html#c._PyInterpreterState_SetEvalFrameFunc
PEP 523https://peps.python.org/pep-0523/
PyObjecthttps://python.github.io/python-docs-zh-tw/c-api/structures.html#c.PyObject
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyThreadState_GetDict
穩定 ABI 的一部分https://python.github.io/python-docs-zh-tw/c-api/stable.html#stable
thread statehttps://python.github.io/python-docs-zh-tw/glossary.html#term-thread-state
attachedhttps://python.github.io/python-docs-zh-tw/glossary.html#term-attached-thread-state
PyObjecthttps://python.github.io/python-docs-zh-tw/c-api/structures.html#c.PyObject
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyThreadState_SetAsyncExc
穩定 ABI 的一部分https://python.github.io/python-docs-zh-tw/c-api/stable.html#stable
attached thread statehttps://python.github.io/python-docs-zh-tw/glossary.html#term-attached-thread-state
PyThreadStatehttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyThreadState
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyEval_AcquireThread
穩定 ABI 的一部分https://python.github.io/python-docs-zh-tw/c-api/stable.html#stable
Attachhttps://python.github.io/python-docs-zh-tw/glossary.html#term-attached-thread-state
attachedhttps://python.github.io/python-docs-zh-tw/glossary.html#term-attached-thread-state
attached thread statehttps://python.github.io/python-docs-zh-tw/glossary.html#term-attached-thread-state
Cautions regarding runtime finalizationhttps://python.github.io/python-docs-zh-tw/c-api/init.html#cautions-regarding-runtime-finalization
PyEval_RestoreThread()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyEval_RestoreThread
Py_END_ALLOW_THREADS()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_END_ALLOW_THREADS
PyGILState_Ensure()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyGILState_Ensure
PyEval_RestoreThread()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyEval_RestoreThread
PyThreadStatehttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyThreadState
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyEval_ReleaseThread
穩定 ABI 的一部分https://python.github.io/python-docs-zh-tw/c-api/stable.html#stable
attached thread statehttps://python.github.io/python-docs-zh-tw/glossary.html#term-attached-thread-state
attached thread statehttps://python.github.io/python-docs-zh-tw/glossary.html#term-attached-thread-state
PyEval_SaveThread()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyEval_SaveThread
https://python.github.io/python-docs-zh-tw/c-api/init.html#sub-interpreter-support
PyInterpreterState_Main()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyInterpreterState_Main
PyThreadState_Swap()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyThreadState_Swap
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyInterpreterConfig
Py_NewInterpreterFromConfig()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_NewInterpreterFromConfig
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyInterpreterConfig.use_main_obmalloc
check_multi_interp_extensionshttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyInterpreterConfig.check_multi_interp_extensions
gilhttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyInterpreterConfig.gil
PyInterpreterConfig_OWN_GILhttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyInterpreterConfig_OWN_GIL
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyInterpreterConfig.allow_fork
subprocesshttps://python.github.io/python-docs-zh-tw/library/subprocess.html#module-subprocess
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyInterpreterConfig.allow_exec
os.execv()https://python.github.io/python-docs-zh-tw/library/os.html#os.execv
subprocesshttps://python.github.io/python-docs-zh-tw/library/subprocess.html#module-subprocess
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyInterpreterConfig.allow_threads
threadinghttps://python.github.io/python-docs-zh-tw/library/threading.html#module-threading
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyInterpreterConfig.allow_daemon_threads
threadinghttps://python.github.io/python-docs-zh-tw/library/threading.html#module-threading
allow_threadshttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyInterpreterConfig.allow_threads
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyInterpreterConfig.check_multi_interp_extensions
PEP 489https://peps.python.org/pep-0489/
Py_mod_multiple_interpretershttps://python.github.io/python-docs-zh-tw/c-api/module.html#c.Py_mod_multiple_interpreters
use_main_obmallochttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyInterpreterConfig.use_main_obmalloc
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyInterpreterConfig.gil
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyInterpreterConfig_DEFAULT_GIL
PyInterpreterConfig_SHARED_GILhttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyInterpreterConfig_SHARED_GIL
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyInterpreterConfig_SHARED_GIL
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyInterpreterConfig_OWN_GIL
PyInterpreterConfig_OWN_GILhttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyInterpreterConfig_OWN_GIL
PyInterpreterConfig.use_main_obmallochttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyInterpreterConfig.use_main_obmalloc
PyStatushttps://python.github.io/python-docs-zh-tw/c-api/init_config.html#c.PyStatus
PyThreadStatehttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyThreadState
PyInterpreterConfighttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyInterpreterConfig
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_NewInterpreterFromConfig
builtinshttps://python.github.io/python-docs-zh-tw/library/builtins.html#module-builtins
__main__https://python.github.io/python-docs-zh-tw/library/__main__.html#module-__main__
syshttps://python.github.io/python-docs-zh-tw/library/sys.html#module-sys
thread statehttps://python.github.io/python-docs-zh-tw/glossary.html#term-thread-state
attachedhttps://python.github.io/python-docs-zh-tw/glossary.html#term-attached-thread-state
attached thread statehttps://python.github.io/python-docs-zh-tw/glossary.html#term-attached-thread-state
attached thread statehttps://python.github.io/python-docs-zh-tw/glossary.html#term-attached-thread-state
attachedhttps://python.github.io/python-docs-zh-tw/glossary.html#term-attached-thread-state
GILhttps://python.github.io/python-docs-zh-tw/glossary.html#term-GIL
attached thread statehttps://python.github.io/python-docs-zh-tw/glossary.html#term-attached-thread-state
thread statehttps://python.github.io/python-docs-zh-tw/glossary.html#term-thread-state
attachedhttps://python.github.io/python-docs-zh-tw/glossary.html#term-attached-thread-state
attached thread statehttps://python.github.io/python-docs-zh-tw/glossary.html#term-attached-thread-state
PyInterpreterStatehttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyInterpreterState
PyInterpreterStatehttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyInterpreterState
PyModule_FromDefAndSpec()https://python.github.io/python-docs-zh-tw/c-api/module.html#c.PyModule_FromDefAndSpec
PyModule_Create()https://python.github.io/python-docs-zh-tw/c-api/module.html#c.PyModule_Create
Bugs and caveatshttps://python.github.io/python-docs-zh-tw/c-api/init.html#bugs-and-caveats
Py_FinalizeEx()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_FinalizeEx
Py_Initialize()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_Initialize
PyThreadStatehttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyThreadState
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_NewInterpreter
穩定 ABI 的一部分https://python.github.io/python-docs-zh-tw/c-api/stable.html#stable
Py_NewInterpreterFromConfig()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_NewInterpreterFromConfig
PyThreadStatehttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyThreadState
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_EndInterpreter
穩定 ABI 的一部分https://python.github.io/python-docs-zh-tw/c-api/stable.html#stable
thread statehttps://python.github.io/python-docs-zh-tw/glossary.html#term-thread-state
attachedhttps://python.github.io/python-docs-zh-tw/glossary.html#term-attached-thread-state
attached thread statehttps://python.github.io/python-docs-zh-tw/glossary.html#term-attached-thread-state
Py_FinalizeEx()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_FinalizeEx
https://python.github.io/python-docs-zh-tw/c-api/init.html#a-per-interpreter-gil
Py_NewInterpreterFromConfig()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_NewInterpreterFromConfig
PEP 554https://peps.python.org/pep-0554/
PEP 684https://peps.python.org/pep-0684/
immortalhttps://python.github.io/python-docs-zh-tw/glossary.html#term-immortal
https://python.github.io/python-docs-zh-tw/c-api/init.html#bugs-and-caveats
os.close()https://python.github.io/python-docs-zh-tw/library/os.html#os.close
PyGILState_Ensure()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyGILState_Ensure
PyGILState_Release()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyGILState_Release
ctypeshttps://python.github.io/python-docs-zh-tw/library/ctypes.html#module-ctypes
https://python.github.io/python-docs-zh-tw/c-api/init.html#asynchronous-notifications
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_AddPendingCall
穩定 ABI 的一部分https://python.github.io/python-docs-zh-tw/c-api/stable.html#stable
bytecodehttps://python.github.io/python-docs-zh-tw/glossary.html#term-bytecode
attached thread statehttps://python.github.io/python-docs-zh-tw/glossary.html#term-attached-thread-state
thread statehttps://python.github.io/python-docs-zh-tw/glossary.html#term-attached-thread-state
attached thread statehttps://python.github.io/python-docs-zh-tw/glossary.html#term-attached-thread-state
attached thread statehttps://python.github.io/python-docs-zh-tw/glossary.html#term-attached-thread-state
PyGILState APIhttps://python.github.io/python-docs-zh-tw/c-api/init.html#gilstate
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_MakePendingCalls
穩定 ABI 的一部分https://python.github.io/python-docs-zh-tw/c-api/stable.html#stable
attached thread statehttps://python.github.io/python-docs-zh-tw/glossary.html#term-attached-thread-state
https://python.github.io/python-docs-zh-tw/c-api/init.html#profiling-and-tracing
PyObjecthttps://python.github.io/python-docs-zh-tw/c-api/structures.html#c.PyObject
PyFrameObjecthttps://python.github.io/python-docs-zh-tw/c-api/frame.html#c.PyFrameObject
PyObjecthttps://python.github.io/python-docs-zh-tw/c-api/structures.html#c.PyObject
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_tracefunc
PyEval_SetProfile()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyEval_SetProfile
PyEval_SetTrace()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyEval_SetTrace
PyTrace_CALLhttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyTrace_CALL
PyTrace_EXCEPTIONhttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyTrace_EXCEPTION
PyTrace_LINEhttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyTrace_LINE
PyTrace_RETURNhttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyTrace_RETURN
PyTrace_C_CALLhttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyTrace_C_CALL
PyTrace_C_EXCEPTIONhttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyTrace_C_EXCEPTION
PyTrace_C_RETURNhttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyTrace_C_RETURN
PyTrace_OPCODEhttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyTrace_OPCODE
PyTrace_CALLhttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyTrace_CALL
Py_Nonehttps://python.github.io/python-docs-zh-tw/c-api/none.html#c.Py_None
PyTrace_EXCEPTIONhttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyTrace_EXCEPTION
sys.exc_info()https://python.github.io/python-docs-zh-tw/library/sys.html#sys.exc_info
PyTrace_LINEhttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyTrace_LINE
Py_Nonehttps://python.github.io/python-docs-zh-tw/c-api/none.html#c.Py_None
PyTrace_RETURNhttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyTrace_RETURN
PyTrace_C_CALLhttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyTrace_C_CALL
PyTrace_C_EXCEPTIONhttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyTrace_C_EXCEPTION
PyTrace_C_RETURNhttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyTrace_C_RETURN
PyTrace_OPCODEhttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyTrace_OPCODE
Py_Nonehttps://python.github.io/python-docs-zh-tw/c-api/none.html#c.Py_None
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyTrace_CALL
Py_tracefunchttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_tracefunc
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyTrace_EXCEPTION
Py_tracefunchttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_tracefunc
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyTrace_LINE
Py_tracefunchttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_tracefunc
f_trace_lineshttps://python.github.io/python-docs-zh-tw/reference/datamodel.html#frame.f_trace_lines
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyTrace_RETURN
Py_tracefunchttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_tracefunc
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyTrace_C_CALL
Py_tracefunchttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_tracefunc
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyTrace_C_EXCEPTION
Py_tracefunchttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_tracefunc
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyTrace_C_RETURN
Py_tracefunchttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_tracefunc
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyTrace_OPCODE
Py_tracefunchttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_tracefunc
f_trace_opcodeshttps://python.github.io/python-docs-zh-tw/reference/datamodel.html#frame.f_trace_opcodes
Py_tracefunchttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_tracefunc
PyObjecthttps://python.github.io/python-docs-zh-tw/c-api/structures.html#c.PyObject
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyEval_SetProfile
PyTrace_LINEhttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyTrace_LINE
PyTrace_OPCODEhttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyTrace_OPCODE
PyTrace_EXCEPTIONhttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyTrace_EXCEPTION
sys.setprofile()https://python.github.io/python-docs-zh-tw/library/sys.html#sys.setprofile
attached thread statehttps://python.github.io/python-docs-zh-tw/glossary.html#term-attached-thread-state
Py_tracefunchttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_tracefunc
PyObjecthttps://python.github.io/python-docs-zh-tw/c-api/structures.html#c.PyObject
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyEval_SetProfileAllThreads
PyEval_SetProfile()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyEval_SetProfile
attached thread statehttps://python.github.io/python-docs-zh-tw/glossary.html#term-attached-thread-state
PyEval_SetProfile()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyEval_SetProfile
Py_tracefunchttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_tracefunc
PyObjecthttps://python.github.io/python-docs-zh-tw/c-api/structures.html#c.PyObject
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyEval_SetTrace
PyEval_SetProfile()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyEval_SetProfile
PyEval_SetTrace()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyEval_SetTrace
PyTrace_C_CALLhttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyTrace_C_CALL
PyTrace_C_EXCEPTIONhttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyTrace_C_EXCEPTION
PyTrace_C_RETURNhttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyTrace_C_RETURN
sys.settrace()https://python.github.io/python-docs-zh-tw/library/sys.html#sys.settrace
attached thread statehttps://python.github.io/python-docs-zh-tw/glossary.html#term-attached-thread-state
Py_tracefunchttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_tracefunc
PyObjecthttps://python.github.io/python-docs-zh-tw/c-api/structures.html#c.PyObject
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyEval_SetTraceAllThreads
PyEval_SetTrace()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyEval_SetTrace
attached thread statehttps://python.github.io/python-docs-zh-tw/glossary.html#term-attached-thread-state
PyEval_SetTrace()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyEval_SetTrace
https://python.github.io/python-docs-zh-tw/c-api/init.html#reference-tracing
PyObjecthttps://python.github.io/python-docs-zh-tw/c-api/structures.html#c.PyObject
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyRefTracer
PyRefTracer_SetTracer()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyRefTracer_SetTracer
PyRefTracer_CREATEhttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyRefTracer_CREATE
PyRefTracer_DESTROYhttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyRefTracer_DESTROY
PyRefTracer_SetTracer()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyRefTracer_SetTracer
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyRefTracer_CREATE
PyRefTracerhttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyRefTracer
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyRefTracer_DESTROY
PyRefTracerhttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyRefTracer
PyRefTracerhttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyRefTracer
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyRefTracer_SetTracer
thread statehttps://python.github.io/python-docs-zh-tw/glossary.html#term-thread-state
attached thread statehttps://python.github.io/python-docs-zh-tw/glossary.html#term-attached-thread-state
PyRefTracerhttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyRefTracer
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyRefTracer_GetTracer
PyRefTracer_SetTracer()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyRefTracer_SetTracer
attached thread statehttps://python.github.io/python-docs-zh-tw/glossary.html#term-attached-thread-state
https://python.github.io/python-docs-zh-tw/c-api/init.html#advanced-debugger-support
PyInterpreterStatehttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyInterpreterState
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyInterpreterState_Head
PyInterpreterStatehttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyInterpreterState
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyInterpreterState_Main
PyInterpreterStatehttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyInterpreterState
PyInterpreterStatehttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyInterpreterState
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyInterpreterState_Next
PyThreadStatehttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyThreadState
PyInterpreterStatehttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyInterpreterState
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyInterpreterState_ThreadHead
PyThreadStatehttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyThreadState
PyThreadStatehttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyThreadState
PyThreadStatehttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyThreadState
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyThreadState_Next
PyInterpreterStatehttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyInterpreterState
https://python.github.io/python-docs-zh-tw/c-api/init.html#thread-local-storage-support
threading.localhttps://python.github.io/python-docs-zh-tw/library/threading.html#threading.local
thread statehttps://python.github.io/python-docs-zh-tw/glossary.html#term-thread-state
attachedhttps://python.github.io/python-docs-zh-tw/glossary.html#term-attached-thread-state
PyObjecthttps://python.github.io/python-docs-zh-tw/c-api/structures.html#c.PyObject
https://python.github.io/python-docs-zh-tw/c-api/init.html#thread-specific-storage-tss-api
Py_tss_thttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_tss_t
PEP 539https://peps.python.org/pep-0539/
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_tss_t
Py_LIMITED_APIhttps://python.github.io/python-docs-zh-tw/c-api/stable.html#stable
Py_tss_NEEDS_INIThttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_tss_NEEDS_INIT
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_tss_NEEDS_INIT
Py_tss_thttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_tss_t
Py_LIMITED_APIhttps://python.github.io/python-docs-zh-tw/c-api/stable.html#stable
https://python.github.io/python-docs-zh-tw/c-api/init.html#dynamic-allocation
Py_tss_thttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_tss_t
Py_LIMITED_APIhttps://python.github.io/python-docs-zh-tw/c-api/stable.html#stable
Py_tss_thttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_tss_t
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyThread_tss_alloc
穩定 ABI 的一部分https://python.github.io/python-docs-zh-tw/c-api/stable.html#stable
Py_tss_NEEDS_INIThttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_tss_NEEDS_INIT
Py_tss_thttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_tss_t
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyThread_tss_free
穩定 ABI 的一部分https://python.github.io/python-docs-zh-tw/c-api/stable.html#stable
PyThread_tss_alloc()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyThread_tss_alloc
PyThread_tss_delete()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyThread_tss_delete
https://python.github.io/python-docs-zh-tw/c-api/init.html#methods
PyThread_tss_set()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyThread_tss_set
PyThread_tss_get()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyThread_tss_get
Py_tss_thttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_tss_t
PyThread_tss_create()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyThread_tss_create
Py_tss_thttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_tss_t
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyThread_tss_is_created
穩定 ABI 的一部分https://python.github.io/python-docs-zh-tw/c-api/stable.html#stable
Py_tss_thttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_tss_t
PyThread_tss_create()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyThread_tss_create
Py_tss_thttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_tss_t
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyThread_tss_create
穩定 ABI 的一部分https://python.github.io/python-docs-zh-tw/c-api/stable.html#stable
Py_tss_NEEDS_INIThttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_tss_NEEDS_INIT
Py_tss_thttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_tss_t
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyThread_tss_delete
穩定 ABI 的一部分https://python.github.io/python-docs-zh-tw/c-api/stable.html#stable
PyThread_tss_create()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyThread_tss_create
Py_tss_thttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_tss_t
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyThread_tss_set
穩定 ABI 的一部分https://python.github.io/python-docs-zh-tw/c-api/stable.html#stable
Py_tss_thttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_tss_t
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyThread_tss_get
穩定 ABI 的一部分https://python.github.io/python-docs-zh-tw/c-api/stable.html#stable
https://python.github.io/python-docs-zh-tw/c-api/init.html#thread-local-storage-tls-api
Thread Specific Storage (TSS) APIhttps://python.github.io/python-docs-zh-tw/c-api/init.html#thread-specific-storage-api
PyThread_create_key()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyThread_create_key
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyThread_create_key
穩定 ABI 的一部分https://python.github.io/python-docs-zh-tw/c-api/stable.html#stable
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyThread_delete_key
穩定 ABI 的一部分https://python.github.io/python-docs-zh-tw/c-api/stable.html#stable
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyThread_set_key_value
穩定 ABI 的一部分https://python.github.io/python-docs-zh-tw/c-api/stable.html#stable
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyThread_get_key_value
穩定 ABI 的一部分https://python.github.io/python-docs-zh-tw/c-api/stable.html#stable
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyThread_delete_key_value
穩定 ABI 的一部分https://python.github.io/python-docs-zh-tw/c-api/stable.html#stable
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyThread_ReInitTLS
穩定 ABI 的一部分https://python.github.io/python-docs-zh-tw/c-api/stable.html#stable
https://python.github.io/python-docs-zh-tw/c-api/init.html#synchronization-primitives
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyMutex
PyMutexhttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyMutex
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyMutex_Lock
thread statehttps://python.github.io/python-docs-zh-tw/glossary.html#term-attached-thread-state
PyMutexhttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyMutex
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyMutex_Unlock
PyMutexhttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyMutex
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyMutex_IsLocked
https://python.github.io/python-docs-zh-tw/c-api/init.html#python-critical-section-api
free-threadedhttps://python.github.io/python-docs-zh-tw/glossary.html#term-free-threading
global interpreter lockhttps://python.github.io/python-docs-zh-tw/glossary.html#term-global-interpreter-lock
listhttps://python.github.io/python-docs-zh-tw/library/stdtypes.html#list
dicthttps://python.github.io/python-docs-zh-tw/library/stdtypes.html#dict
PyDict_Next()https://python.github.io/python-docs-zh-tw/c-api/dict.html#c.PyDict_Next
PyMutexhttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyMutex
PyMutexhttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyMutex
PyObjecthttps://python.github.io/python-docs-zh-tw/c-api/structures.html#c.PyObject
PyObjecthttps://python.github.io/python-docs-zh-tw/c-api/structures.html#c.PyObject
Py_BEGIN_CRITICAL_SECTION2https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_BEGIN_CRITICAL_SECTION2
Py_SETREFhttps://python.github.io/python-docs-zh-tw/c-api/refcounting.html#c.Py_SETREF
Py_DECREFhttps://python.github.io/python-docs-zh-tw/c-api/refcounting.html#c.Py_DECREF
PyEval_SaveThread()https://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyEval_SaveThread
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_BEGIN_CRITICAL_SECTION
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_BEGIN_CRITICAL_SECTION_MUTEX
Py_BEGIN_CRITICAL_SECTIONhttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_BEGIN_CRITICAL_SECTION
PyMutexhttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyMutex
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_END_CRITICAL_SECTION
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_BEGIN_CRITICAL_SECTION2
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_BEGIN_CRITICAL_SECTION2_MUTEX
Py_BEGIN_CRITICAL_SECTION2https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_BEGIN_CRITICAL_SECTION2
PyMutexhttps://python.github.io/python-docs-zh-tw/c-api/init.html#c.PyMutex
https://python.github.io/python-docs-zh-tw/c-api/init.html#c.Py_END_CRITICAL_SECTION2
目錄https://python.github.io/python-docs-zh-tw/contents.html
初始化、終結化與執行緒https://python.github.io/python-docs-zh-tw/c-api/init.html
Python 初始化之前https://python.github.io/python-docs-zh-tw/c-api/init.html#before-python-initialization
Global configuration variableshttps://python.github.io/python-docs-zh-tw/c-api/init.html#global-configuration-variables
Initializing and finalizing the interpreterhttps://python.github.io/python-docs-zh-tw/c-api/init.html#initializing-and-finalizing-the-interpreter
Process-wide parametershttps://python.github.io/python-docs-zh-tw/c-api/init.html#process-wide-parameters
Thread State and the Global Interpreter Lockhttps://python.github.io/python-docs-zh-tw/c-api/init.html#thread-state-and-the-global-interpreter-lock
Detaching the thread state from extension codehttps://python.github.io/python-docs-zh-tw/c-api/init.html#detaching-the-thread-state-from-extension-code
Non-Python created threadshttps://python.github.io/python-docs-zh-tw/c-api/init.html#non-python-created-threads
Supporting subinterpreters in non-Python threadshttps://python.github.io/python-docs-zh-tw/c-api/init.html#supporting-subinterpreters-in-non-python-threads
Cautions about fork()https://python.github.io/python-docs-zh-tw/c-api/init.html#cautions-about-fork
Cautions regarding runtime finalizationhttps://python.github.io/python-docs-zh-tw/c-api/init.html#cautions-regarding-runtime-finalization
高階 APIhttps://python.github.io/python-docs-zh-tw/c-api/init.html#high-level-api
低階 APIhttps://python.github.io/python-docs-zh-tw/c-api/init.html#low-level-api
Sub-interpreter supporthttps://python.github.io/python-docs-zh-tw/c-api/init.html#sub-interpreter-support
直譯器各別持有的 GILhttps://python.github.io/python-docs-zh-tw/c-api/init.html#a-per-interpreter-gil
Bugs and caveatshttps://python.github.io/python-docs-zh-tw/c-api/init.html#bugs-and-caveats
Asynchronous Notificationshttps://python.github.io/python-docs-zh-tw/c-api/init.html#asynchronous-notifications
Profiling and Tracinghttps://python.github.io/python-docs-zh-tw/c-api/init.html#profiling-and-tracing
Reference tracinghttps://python.github.io/python-docs-zh-tw/c-api/init.html#reference-tracing
Advanced Debugger Supporthttps://python.github.io/python-docs-zh-tw/c-api/init.html#advanced-debugger-support
Thread Local Storage Supporthttps://python.github.io/python-docs-zh-tw/c-api/init.html#thread-local-storage-support
Thread Specific Storage (TSS) APIhttps://python.github.io/python-docs-zh-tw/c-api/init.html#thread-specific-storage-tss-api
Dynamic Allocationhttps://python.github.io/python-docs-zh-tw/c-api/init.html#dynamic-allocation
方法https://python.github.io/python-docs-zh-tw/c-api/init.html#methods
執行緒局部儲存 (Thread Local Storage, TLS) API:https://python.github.io/python-docs-zh-tw/c-api/init.html#thread-local-storage-tls-api
Synchronization Primitiveshttps://python.github.io/python-docs-zh-tw/c-api/init.html#synchronization-primitives
Python Critical Section APIhttps://python.github.io/python-docs-zh-tw/c-api/init.html#python-critical-section-api
DateTime 物件https://python.github.io/python-docs-zh-tw/c-api/datetime.html
Python 初始化設定https://python.github.io/python-docs-zh-tw/c-api/init_config.html
回報錯誤https://python.github.io/python-docs-zh-tw/bugs.html
顯示原始碼 https://github.com/python/cpython/blob/main/Doc/c-api/init.rst?plain=1
索引https://python.github.io/python-docs-zh-tw/genindex.html
模組https://python.github.io/python-docs-zh-tw/py-modindex.html
下一頁https://python.github.io/python-docs-zh-tw/c-api/init_config.html
上一頁https://python.github.io/python-docs-zh-tw/c-api/datetime.html
Pythonhttps://www.python.org/
3.14.0 Documentationhttps://python.github.io/python-docs-zh-tw/index.html
Python/C API 參考手冊https://python.github.io/python-docs-zh-tw/c-api/index.html
初始化、終結化與執行緒https://python.github.io/python-docs-zh-tw/c-api/init.html
版權所有https://python.github.io/python-docs-zh-tw/copyright.html
歷史與授權條款https://python.github.io/license.html
敬請捐贈。https://www.python.org/psf/donations/
發現 bughttps://python.github.io/bugs.html
Sphinxhttps://www.sphinx-doc.org/

Viewport: width=device-width, initial-scale=1.0


URLs of crawlers that visited me.