MCPcopy Create free account

hub / github.com/dgrunwald/rust-cpython / functions

Functions924 in github.com/dgrunwald/rust-cpython

FunctionPySet_Check
(ob: *mut PyObject)
python3-sys/src/setobject.rs:42
FunctionPySet_CheckExact
(ob: *mut PyObject)
python3-sys/src/setobject.rs:37
FunctionPySlice_Check
(op: *mut PyObject)
python27-sys/src/sliceobject.rs:37
FunctionPySlice_Check
(op: *mut PyObject)
python3-sys/src/sliceobject.rs:23
FunctionPyString_Check
(op: *mut PyObject)
python27-sys/src/stringobject.rs:28
FunctionPyString_CheckExact
(op: *mut PyObject)
python27-sys/src/stringobject.rs:33
FunctionPyString_GET_SIZE
(op: *mut PyObject)
python27-sys/src/stringobject.rs:39
FunctionPyThreadState_GET
()
python3-sys/src/pystate.rs:77
FunctionPyTraceBack_Check
(op: *mut PyObject)
python27-sys/src/traceback.rs:31
FunctionPyTraceBack_Check
(op: *mut PyObject)
python3-sys/src/traceback.rs:14
FunctionPyTuple_Check
(op: *mut PyObject)
python27-sys/src/tupleobject.rs:25
FunctionPyTuple_Check
(op: *mut PyObject)
python3-sys/src/tupleobject.rs:20
FunctionPyTuple_CheckExact
(op: *mut PyObject)
python27-sys/src/tupleobject.rs:30
FunctionPyTuple_CheckExact
(op: *mut PyObject)
python3-sys/src/tupleobject.rs:25
FunctionPyTuple_SET_ITEM
(op: *mut PyObject, i: Py_ssize_t, v: *mut PyObject)
python27-sys/src/tupleobject.rs:51
FunctionPyTuple_SET_ITEM
(op: *mut PyObject, i: Py_ssize_t, v: *mut PyObject)
python3-sys/src/tupleobject.rs:65
FunctionPyType_CheckExact
(op: *mut PyObject)
python27-sys/src/object.rs:610
FunctionPyType_CheckExact
(op: *mut PyObject)
python3-sys/src/object.rs:735
FunctionPyType_SUPPORTS_WEAKREFS
(t: *mut PyTypeObject)
python27-sys/src/objimpl.rs:67
FunctionPyType_SUPPORTS_WEAKREFS
(t: *mut PyTypeObject)
python3-sys/src/objimpl.rs:123
FunctionPyUnicode_AS_DATA
(o: *mut PyObject)
python27-sys/src/unicodeobject.rs:65
FunctionPyUnicode_AsUTF8String
(u: *mut PyObject)
python27-sys/src/unicodeobject.rs:659
FunctionPyUnicode_Check
(op: *mut PyObject)
python27-sys/src/lib.rs:210
FunctionPyUnicode_Check
(op: *mut PyObject)
python27-sys/src/unicodeobject.rs:39
FunctionPyUnicode_Check
(op: *mut PyObject)
python3-sys/src/unicodeobject.rs:23
FunctionPyUnicode_CheckExact
(op: *mut PyObject)
python27-sys/src/lib.rs:216
FunctionPyUnicode_CheckExact
(op: *mut PyObject)
python27-sys/src/unicodeobject.rs:44
FunctionPyUnicode_CheckExact
(op: *mut PyObject)
python3-sys/src/unicodeobject.rs:28
FunctionPyUnicode_GET_DATA_SIZE
(o: *mut PyObject)
python27-sys/src/unicodeobject.rs:55
FunctionPyWeakref_Check
(op: *mut PyObject)
python27-sys/src/weakrefobject.rs:46
FunctionPyWeakref_Check
(op: *mut PyObject)
python3-sys/src/weakrefobject.rs:34
FunctionPyWeakref_CheckRefExact
(op: *mut PyObject)
python27-sys/src/weakrefobject.rs:35
FunctionPyWeakref_CheckRefExact
(op: *mut PyObject)
python3-sys/src/weakrefobject.rs:23
FunctionPyWeakref_GET_OBJECT
(_ref: *mut PyObject)
python27-sys/src/weakrefobject.rs:61
FunctionPy_CLEAR
(op: &mut *mut PyObject)
python27-sys/src/object.rs:816
FunctionPy_CLEAR
(op: &mut *mut PyObject)
python3-sys/src/object.rs:917
FunctionPy_CompileString
(string: *const c_char, p: *const c_char, s: c_int)
python3-sys/src/pythonrun.rs:204
FunctionPy_CompileStringFlags
( string: *const c_char, p: *const c_char, s: c_int, f: *mut PyCompilerFlags, )
python3-sys/src/pythonrun.rs:209
FunctionPy_Ellipsis
()
python27-sys/src/sliceobject.rs:12
FunctionPy_Ellipsis
()
python3-sys/src/sliceobject.rs:12
FunctionPy_False
()
python27-sys/src/boolobject.rs:23
FunctionPy_InitModule3
( name: *const c_char, methods: *mut PyMethodDef, doc: *const c_char, )
python27-sys/src/modsupport.rs:136
FunctionPy_IsFalse
(obj: *mut PyObject)
python3-sys/src/boolobject.rs:30
FunctionPy_IsNone
(x: *mut PyObject)
python3-sys/src/object.rs:959
FunctionPy_IsTrue
(obj: *mut PyObject)
python3-sys/src/boolobject.rs:35
FunctionPy_NotImplemented
()
python27-sys/src/object.rs:853
FunctionPy_TRASHCAN
(op: *mut PyObject, body: F)
python27-sys/src/object.rs:874
FunctionPy_True
()
python27-sys/src/boolobject.rs:28
FunctionPy_XDECREF
(op: *mut PyObject)
python27-sys/src/object.rs:832
FunctionPy_XDECREF
(op: *mut PyObject)
python3-sys/src/object.rs:933
FunctionPy_XINCREF
(op: *mut PyObject)
python27-sys/src/object.rs:825
FunctionPy_XINCREF
(op: *mut PyObject)
python3-sys/src/object.rs:926
Method__init__
(self, name, allow_ref=True)
src/py_class/py_class_impl.py:662
Methodabsolute
(&self, py: Python)
src/objectprotocol/number.rs:152
Methodacquire
Acquires the global interpreter lock, which allows access to the Python runtime. If the Python runtime is not already initialized, this function will
src/pythonrun.rs:115
Methodacquire_gil
()
src/python.rs:229
Methodadd
Adds a member to the module. This is a convenience function which can be used from the module's initialization function.
src/objects/module.rs:142
Methodadd_class
Adds a new extension type to the module. This is a convenience function that initializes the `py_class!()`, sets `new_type.__module__` to this module
src/objects/module.rs:154
Functionaddition
()
src/objectprotocol/number.rs:270
Methodalloc
(py: Python, ty: &PyType, _init_val: ())
src/py_class/mod.rs:140
Methodas_basestring
(&self)
src/objects/string.rs:380
Methodas_fortran_mut_slice
Gets the buffer memory as a slice. This function succeeds if: the buffer is not read-only the buffer format is compatible with `T` alignment and size
src/buffer.rs:404
Methodas_fortran_slice
Gets the buffer memory as a slice. This function succeeds if: the buffer format is compatible with `T` alignment and size of buffer elements is match
src/buffer.rs:374
Methodas_mut_slice
Gets the buffer memory as a slice. This function succeeds if: the buffer is not read-only the buffer format is compatible with `T` alignment and size
src/buffer.rs:347
Methodas_object
(&self)
src/objects/object.rs:72
Methodas_slice
Gets the buffer memory as a slice. This function succeeds if: the buffer format is compatible with `T` alignment and size of buffer elements is match
src/buffer.rs:320
Methodassume_gil_acquired
()
src/python.rs:220
Functionbinary_arithmetic
()
tests/test_class.rs:866
Methodbitwise_and
(&self, py: Python, other: impl ToPyObject)
src/objectprotocol/number.rs:191
Methodbitwise_invert
(&self, py: Python)
src/objectprotocol/number.rs:162
Methodbitwise_or
(&self, py: Python, other: impl ToPyObject)
src/objectprotocol/number.rs:210
Methodbitwise_xor
(&self, py: Python, other: impl ToPyObject)
src/objectprotocol/number.rs:201
Methodborrow_from_owned_ptr_slice
(ptr: &[*mut ffi::PyObject])
src/objects/object.rs:191
Methodborrow_from_ptr
(ptr: &*mut ffi::PyObject)
src/objects/object.rs:183
Methodbuf_ptr
(&self)
src/buffer.rs:182
Functionbuild_tp_name
(module_name: Option<&str>, type_name: &str)
src/py_class/slots.rs:109
Methodcall
(&self, py: Python, args: A, kwargs: Option<&PyDict>)
src/objects/typeobject.rs:68
Methodcall
Calls a function in the module. This is equivalent to the Python expression: `getattr(module, name)(*args, **kwargs)` `args` should be a value that,
src/objects/module.rs:126
Functioncallable
()
tests/test_class.rs:599
Methodcast_as
( &'s self, py: Python<'p>, )
src/objects/object.rs:243
Methodcheck
()
src/pythonrun.rs:136
Functionclass_method
()
tests/test_class.rs:261
Functionclass_method_with_args
()
tests/test_class.rs:289
Functionclass_with_visibility
()
tests/test_class.rs:1329
Methodclear
(&self, _py: Python)
src/objects/dict.rs:48
Methodclone
(&self)
python27-sys/src/methodobject.rs:49
Methodclone
(&self)
python27-sys/src/import.rs:14
Methodclone
(&self)
python27-sys/src/descrobject.rs:24
Methodclone
(&self)
python27-sys/src/pystate.rs:57
Methodclone
(&self)
python27-sys/src/object.rs:203
Methodclone
(&self)
python3-sys/src/pyhash.rs:15
Methodclone
(&self)
python3-sys/src/methodobject.rs:75
Methodclone
(&self)
python3-sys/src/moduleobject.rs:53
Methodclone
(&self)
python3-sys/src/objimpl.rs:62
Methodclone
(&self)
python3-sys/src/structseq.rs:20
Methodclone
(&self)
python3-sys/src/descrobject.rs:30
Methodclone
(&self)
python3-sys/src/pybuffer.rs:23
Methodclone
(&self)
python3-sys/src/object.rs:195
Methodcollect_items
(py: Python, items: &[PyObject])
src/serde/ser.rs:85
Methodcompare
Compares two Python objects. On Python 2, this is equivalent to the Python expression 'cmp(self, other)'. On Python 3, this is equivalent to: ```ign
src/objectprotocol.rs:100
← previousnext →401–500 of 924, ranked by callers