MCPcopy Create free account

hub / github.com/PyO3/pyo3 / functions

Functions4,885 in github.com/PyO3/pyo3

↓ 1 callersFunctionPyObject_CallMethodNoArgs
( self_: *mut PyObject, name: *mut PyObject, )
pyo3-ffi/src/cpython/abstract_.rs:145
↓ 1 callersFunctionPyObject_DelAttr
(o: *mut PyObject, attr_name: *mut PyObject)
pyo3-ffi/src/abstract_.rs:21
↓ 1 callersFunctionPyObject_GC_Track
(_: *mut c_void)
pyo3-ffi/src/objimpl.rs:111
↓ 1 callersFunctionPyObject_GC_UnTrack
(_: *mut c_void)
pyo3-ffi/src/objimpl.rs:115
↓ 1 callersFunctionPySlice_GetIndicesEx
( slice: *mut PyObject, length: Py_ssize_t, start: *mut Py_ssize_t, stop: *mut Py_ssize_t,
pyo3-ffi/src/sliceobject.rs:76
↓ 1 callersFunctionPySlot_UINT64
(NAME: c_int, VALUE: u64)
pyo3-ffi/src/slots.rs:106
↓ 1 callersFunctionPyTimeZone_FromOffset
(offset: *mut PyObject)
pyo3-ffi/src/datetime.rs:805
↓ 1 callersFunctionPyTimeZone_FromOffsetAndName
( offset: *mut PyObject, name: *mut PyObject, )
pyo3-ffi/src/datetime.rs:809
↓ 1 callersFunctionPyType_Check
(op: *mut PyObject)
pyo3-ffi/src/object.rs:744
↓ 1 callersFunctionPyType_IS_GC
(t: *mut PyTypeObject)
pyo3-ffi/src/objimpl.rs:80
↓ 1 callersFunctionPyUnicodeDecodeError_Create
( encoding: *const c_char, object: *const c_char, length: Py_ssize_t, start: Py_ssize_t, e
pyo3-ffi/src/pyerrors.rs:109
↓ 1 callersFunctionPyUnicode_GET_LENGTH
(op: *mut PyObject)
pyo3-ffi/src/cpython/unicodeobject.rs:586
↓ 1 callersFunctionPyUnicode_IS_ASCII
(op: *mut PyObject)
pyo3-ffi/src/cpython/unicodeobject.rs:485
↓ 1 callersFunctionPyUnicode_IS_READY
(_op: *mut PyObject)
pyo3-ffi/src/cpython/unicodeobject.rs:469
↓ 1 callersFunctionPyUnicode_KIND
(op: *mut PyObject)
pyo3-ffi/src/cpython/unicodeobject.rs:521
↓ 1 callersFunctionPyUnicode_READY
(_op: *mut PyObject)
pyo3-ffi/src/cpython/unicodeobject.rs:607
↓ 1 callersFunctionPyVectorcall_Function
(callable: *mut PyObject)
pyo3-ffi/src/cpython/abstract_.rs:67
↓ 1 callersFunctionPyVectorcall_NARGS
(n: size_t)
pyo3-ffi/src/cpython/abstract_.rs:54
↓ 1 callersFunctionPyWeakref_Check
(op: *mut PyObject)
pyo3-ffi/src/weakrefobject.rs:53
↓ 1 callersFunctionPyWeakref_CheckRef
(op: *mut PyObject)
pyo3-ffi/src/weakrefobject.rs:35
↓ 1 callersFunctionPy_CompileStringFlags
( string: *const c_char, p: *const c_char, s: c_int, f: *mut PyCompilerFlags, )
pyo3-ffi/src/cpython/pythonrun.rs:129
↓ 1 callersFunctionPy_IsNone
(x: *mut PyObject)
pyo3-ffi/src/object.rs:674
↓ 1 callersFunctionPy_NewRef
(obj: *mut PyObject)
pyo3-ffi/src/refcount.rs:377
↓ 1 callersFunctionPy_XINCREF
(op: *mut PyObject)
pyo3-ffi/src/refcount.rs:349
↓ 1 callersFunctionPy_XNewRef
(obj: *mut PyObject)
pyo3-ffi/src/refcount.rs:385
↓ 1 callersFunction_PyFloat_CAST
(op: *mut PyObject)
pyo3-ffi/src/cpython/floatobject.rs:18
↓ 1 callersFunction_PySet_CAST
(so: *mut PyObject)
pyo3-ffi/src/cpython/setobject.rs:33
↓ 1 callersFunction_PyUnicode_COMPACT_DATA
(op: *mut PyObject)
pyo3-ffi/src/cpython/unicodeobject.rs:531
↓ 1 callersFunction_PyUnicode_NONCOMPACT_DATA
(op: *mut PyObject)
pyo3-ffi/src/cpython/unicodeobject.rs:541
↓ 1 callersFunction_Py_SLOT_COMPAT_VALUE
(OLD: c_int, NEW: c_int)
pyo3-ffi/src/slots_generated.rs:4
↓ 1 callersFunction__all__
(py: Python<'_>)
src/types/module.rs:581
↓ 1 callersMethod__anext__
(&mut self, py: Python<'_>)
pytests/src/pyclasses.rs:130
↓ 1 callersMethod__ge__
(self, other: Self)
pytests/tests/test_comparisons.py:158
↓ 1 callersMethod__gt__
(self, other: Self)
pytests/tests/test_comparisons.py:155
↓ 1 callersMethod__le__
(self, other: Self)
pytests/tests/test_comparisons.py:142
↓ 1 callersMethod__lt__
(self, other: Self)
pytests/tests/test_comparisons.py:139
↓ 1 callersMethod__str__
(&self)
tests/test_enum.rs:375
↓ 1 callersFunction_build_netlify_redirects
(preview: bool)
noxfile.py:814
↓ 1 callersFunction_cargo_environment
()
examples/meson-starter/_build_backend.py:122
↓ 1 callersFunction_cfg_attr_is_non_cpython_only
Check if a #[cfg()] attribute targets only non-CPython implementations. Functions behind #[cfg(PyPy)] or #[cfg(GraalPy)] are linked against the
noxfile.py:1612
↓ 1 callersFunction_check_raw_dylib_macro
Check that extern_libpython! macro covers all supported Python DLL names.
noxfile.py:1476
↓ 1 callersFunction_ensure_directory_equals
(expected_dir: Path, actual_dir: Path)
noxfile.py:1821
↓ 1 callersFunction_get_utc
()
pytests/tests/test_datetime.py:9
↓ 1 callersFunction_iter_extern_libpython_blocks
(source: str)
noxfile.py:1587
↓ 1 callersFunction_job_with_config
(implementation, version)
noxfile.py:2039
↓ 1 callersFunction_raw_dylib_x86_private_functions
()
noxfile.py:1558
↓ 1 callersFunction_read_inner_cfgs
Return the bodies of leading `#![cfg(...)]` inner attributes.
noxfile.py:1165
↓ 1 callersFunction_run_cargo_test
( session: nox.Session, *, package: str | None = None, features: str | None = None, env: d
noxfile.py:1989
↓ 1 callersFunction_stage_crates
()
examples/meson-starter/_build_backend.py:43
↓ 1 callersFunction_stub_dunder_all
The `__all__` a stub file declares, or `None` if it declares none.
pytests/tests/test_stubs.py:10
↓ 1 callersFunction_supported_interpreter_versions
( python_impl: Literal["cpython", "pypy", "graalpy"], )
noxfile.py:70
↓ 1 callersFunction_url_and_file_paths
Returns all combinations of url and file paths with and without index.html suffix
noxfile.py:891
↓ 1 callersFunction_url_path_from_file_path
Removes index.html and/or .html suffix to match the page URL on the final netlify site
noxfile.py:881
↓ 1 callersMethodabs
(&self)
src/types/any.rs:967
↓ 1 callersMethodadd_deleter
(&mut self, deleter: &PyDeleterDef)
src/pyclass/create_type_object.rs:610
↓ 1 callersFunctionadd_extension_module_link_args
Adds linker arguments suitable for linking an extension module. This should be called from a build script. The following link flags are added: - mac
pyo3-build-config/src/lib.rs:59
↓ 1 callersMethodadd_getter
(&mut self, getter: &PyGetterDef)
src/pyclass/create_type_object.rs:592
↓ 1 callersFunctionadd_introspection_id_to_type_hint_for_class_subclasses
( class_id: &str, class_name: &str, class_module: &str, chunks_by_parent: &Has
pyo3-introspection/src/introspection.rs:485
↓ 1 callersFunctionadd_introspection_id_to_type_hint_for_module_members
( module_id: &str, module_full_name: &str, module_members: &[String], chunks_b
pyo3-introspection/src/introspection.rs:430
↓ 1 callersMethodadd_kwargs
( &mut self, signature: &mut PythonSignature, kwargs: &SignatureItemKwargs, )
pyo3-macros-backend/src/pyfunction/signature.rs:377
↓ 1 callersFunctionadd_module
(module: Bound<'_, PyModule>)
tests/test_various.rs:140
↓ 1 callersFunctionadd_module_stub_files
( module: &Module, directory: &Path, parents: &[&str], output_files: &mut HashMap<PathBuf, Str
pyo3-introspection/src/stubs.rs:23
↓ 1 callersMethodadd_note
( &self, py: Python<'_>, note: N, )
src/err/mod.rs:638
↓ 1 callersMethodadd_setter
(&mut self, setter: &PySetterDef)
src/pyclass/create_type_object.rs:601
↓ 1 callersFunctionadd_shared_proto_slots
( ty: &syn::Type, proto_impls: &mut Vec<TokenStream>, mut implemented_proto_fragments: HashSet<Str
pyo3-macros-backend/src/pyimpl.rs:315
↓ 1 callersMethodadd_varargs
( &mut self, signature: &mut PythonSignature, varargs: &SignatureItemVarargs, )
pyo3-macros-backend/src/pyfunction/signature.rs:357
↓ 1 callersFunctionadvance_to_next_line
(bytes: &[u8], mut i: usize)
src/impl_/unindent.rs:95
↓ 1 callersFunctionargs_kwargs_py
(*args, **kwargs)
pytests/tests/test_pyfunctions.py:76
↓ 1 callersFunctionargument_introspection_data
( name: &'a str, desc: &'a RegularArg<'_>, is_returning_not_implemented_on_extraction_error: bool,
pyo3-macros-backend/src/introspection.rs:336
↓ 1 callersFunctionargument_stub
(argument: &Argument, imports: &Imports)
pyo3-introspection/src/stubs.rs:374
↓ 1 callersMethodarguments
(self, py: Python<'_>)
src/err/err_state.rs:427
↓ 1 callersMethodarguments
(self, py: Python<'_>)
src/err/mod.rs:65
↓ 1 callersFunctionarguments_introspection_data
( signature: &'a FunctionSignature<'a>, first_argument: Option<&'a str>, is_returning_not_implemen
pyo3-macros-backend/src/introspection.rs:231
↓ 1 callersFunctionarray_try_from_fn
TODO: use `core::array::try_from_fn`, if that stabilises: https://github.com/rust-lang/rust/issues/89379
src/conversions/std/array.rs:93
↓ 1 callersFunctionarray_try_from_fn_erased
( buffer: &mut [MaybeUninit<T>], cb: &mut impl FnMut(usize) -> Result<T, E>, )
src/conversions/std/array.rs:108
↓ 1 callersMethodas_fortran_mut_slice
(&'a self, _py: Python<'a>)
src/buffer.rs:336
↓ 1 callersMethodas_fortran_slice
(&'a self, _py: Python<'a>)
src/buffer.rs:309
↓ 1 callersMethodas_fortran_slice_ptr
Gets the buffer memory as a slice. This function returns null if the buffer is not Fortran-style contiguous
src/buffer.rs:359
↓ 1 callersMethodas_get_set_def
(&self, name: &'static CStr)
src/pyclass/create_type_object.rs:619
↓ 1 callersMethodas_mapping
(&self)
src/types/frozendict.rs:247
↓ 1 callersMethodas_non_null
(&self)
src/instance.rs:1577
↓ 1 callersMethodas_normalized
(&self, py: Python<'_>)
src/err/err_state.rs:76
↓ 1 callersMethodas_py_str
(&self)
src/pybacked.rs:61
↓ 1 callersMethodas_slice_ptr
Gets the buffer memory as a slice. Returns null if the buffer is not C-style contiguous
src/buffer.rs:352
↓ 1 callersMethodas_super
(&self)
src/instance.rs:698
↓ 1 callersMethodas_typed
Non-owning equivalent of [`into_typed()`][Self::into_typed].
src/buffer.rs:565
↓ 1 callersFunctionassert_interned
(py: Python<'py>, keys: Bound<'py, PyList>)
tests/test_intopyobject.rs:305
↓ 1 callersMethodassume
Acquires the `AttachGuard` while assuming that the thread is already attached to the interpreter. # Safety Current thread must already be attached to
src/internal/state.rs:165
↓ 1 callersFunctionattr
()
src/instance.rs:2482
↓ 1 callersFunctionbench_nested_attach
Nested attaches, so that each iteration is a pool drain rather than a `PyGILState_Ensure`.
pyo3-benches/benches/bench_attach_scaling.rs:22
↓ 1 callersFunctionbenchmarks
(c: &mut Criterion)
pyo3-benches/benches/bench_attach_scaling.rs:87
↓ 1 callersFunctionbpo_45315_workaround
(py: Python<'_>, class_name: CString)
src/pyclass/create_type_object.rs:538
↓ 1 callersMethodbuild
Build derivation body for enums.
pyo3-macros-backend/src/frompyobject.rs:62
↓ 1 callersMethodbuild
Build derivation body for a struct.
pyo3-macros-backend/src/intopyobject.rs:216
↓ 1 callersMethodbuild
( mut self, py: Python<'_>, name: &'static str, module_name: Option<&'static s
src/pyclass/create_type_object.rs:396
↓ 1 callersFunctionbuild_derive_from_pyobject
Derive FromPyObject for enums and structs. Max 1 lifetime specifier, will be tied to `FromPyObject`'s specifier At least one field, in case of `#[tra
pyo3-macros-backend/src/frompyobject.rs:510
↓ 1 callersMethodbuild_newtype_struct
( &self, field_ident: Option<&Ident>, from_py_with: &Option<FromPyWithAttribute>,
pyo3-macros-backend/src/frompyobject.rs:305
↓ 1 callersMethodbuild_newtype_struct
(&self, field: &syn::Field, ctx: &Ctx)
pyo3-macros-backend/src/intopyobject.rs:226
↓ 1 callersFunctionbuild_py_class
( class: &mut syn::ItemStruct, mut args: PyClassArgs, methods_type: PyClassMethodsType, )
pyo3-macros-backend/src/pyclass.rs:265
↓ 1 callersFunctionbuild_py_enum
( enum_: &mut syn::ItemEnum, mut args: PyClassArgs, method_type: PyClassMethodsType, )
pyo3-macros-backend/src/pyclass.rs:574
← previousnext →801–900 of 4,885, ranked by callers