Skip to main content

Module pystate

Module pystate 

Source

Re-exportsยง

use crate::moduleobject::PyModuleDef; ๐Ÿ”’
use crate::object::PyObject; ๐Ÿ”’
use crate::pytypedefs::PyInterpreterState; ๐Ÿ”’
use crate::pytypedefs::PyThreadState; ๐Ÿ”’
use core::ffi::c_int; ๐Ÿ”’
use crate::PyFrameObject; ๐Ÿ”’ (Py_3_10 or non-Py_LIMITED_API) and non-PyPy
use core::ffi::c_long; ๐Ÿ”’ Non-PyPy
pub use self::raw::PyGILState_Ensure;Py_3_14 or WebAssembly

Modulesยง

raw ๐Ÿ”’

Enumsยง

PyGILState_STATE

Constantsยง

MAX_CO_EXTRA_USERS

Functionsยง

PyGILState_GetThisThreadStateโš Non-PyPy
PyGILState_Releaseโš 
PyInterpreterState_Clearโš Non-PyPy
PyInterpreterState_Deleteโš Non-PyPy
PyInterpreterState_Getโš Non-PyPy
PyInterpreterState_GetDictโš Non-PyPy
PyInterpreterState_GetIDโš Non-PyPy
PyInterpreterState_Newโš Non-PyPy
PyState_AddModuleโš 
PyState_FindModuleโš 
PyState_RemoveModuleโš 
PyThreadState_Clearโš 
PyThreadState_Deleteโš 
PyThreadState_GETโš 
PyThreadState_Getโš 
PyThreadState_GetDictโš 
PyThreadState_GetFrameโš (Py_3_10 or non-Py_LIMITED_API) and non-PyPy
PyThreadState_GetIDโš (Py_3_10 or non-Py_LIMITED_API) and non-PyPy
PyThreadState_GetInterpreterโš (Py_3_10 or non-Py_LIMITED_API) and non-PyPy
PyThreadState_Newโš 
PyThreadState_SetAsyncExcโš Non-PyPy
PyThreadState_Swapโš 
โš ๏ธ Internal Docs โš ๏ธ Not Public API ๐Ÿ‘‰ Official Docs Here