MCPcopy Create free account

hub / github.com/PyO3/pyo3 / functions

Functions4,885 in github.com/PyO3/pyo3

Functioninvalid_attr
()
src/instance.rs:2534
Functioninvalid_attribute
(#[pyo3(get)] _param: String)
tests/ui/invalid_argument_attributes.rs:4
Functioninvalid_error_type
()
src/err/mod.rs:813
Functioninvalid_pyfunction_argument
(arg: AtomicPtr<()>)
tests/ui/invalid_pyfunction_argument.rs:9
Methodinvalid_text_signature
~^ ERROR: expected a string literal or `None`
tests/ui/invalid_pymethods.rs:82
Functioninvoke_wrap_pyfunction
()
src/tests/hygiene/pyfunction.rs:28
Functionio_err
()
tests/test_exceptions.rs:93
Functionio_errors
()
src/err/impls.rs:214
Methodis_callable
(&self)
src/types/any.rs:1070
Methodis_cross_compiling_from_to
Checks if compiling on `host` for `target` required "real" cross compilation. Returns `false` if the target Python interpreter can run on the host.
pyo3-build-config/src/impl_.rs:1743
Functionis_disjoint_base
Whether `T` is laid out differently from its base class, making it a [disjoint base](https://peps.python.org/pep-0800/) at runtime.
src/impl_/introspection.rs:54
Functionis_disjoint_base_matches_runtime_layout
()
src/impl_/introspection.rs:211
Methodis_empty
(&self)
src/types/dict.rs:235
Methodis_empty
(&self)
src/types/frozendict.rs:184
Methodis_empty
(&self)
src/types/bytearray.rs:275
Methodis_empty
Checks if set is empty.
src/types/frozenset.rs:139
Methodis_empty
(&self)
src/types/mappingproxy.rs:86
Methodis_empty
(&self)
src/types/any.rs:1157
Methodis_empty
(&self)
src/types/tuple.rs:275
Methodis_empty
(&self)
src/types/sequence.rs:175
Methodis_empty
Checks if the list is empty.
src/types/list.rs:266
Methodis_empty
(&self)
src/types/mapping.rs:129
Methodis_empty
Checks if set is empty.
src/types/set.rs:109
Functionis_even
(obj: &Bound<'_, PyAny>)
tests/test_class_basics.rs:354
Methodis_exact_instance
(&self, ty: &Bound<'py, PyAny>)
src/types/any.rs:1264
Methodis_exact_instance_of
(&self)
src/types/any.rs:1274
Methodis_exact_type_of
(object: &Bound<'_, PyAny>)
src/type_object.rs:75
Methodis_exact_type_of
(object: &Bound<'_, PyAny>)
src/types/notimplemented.rs:45
Methodis_exact_type_of
(object: &Bound<'_, PyAny>)
src/types/none.rs:45
Methodis_exact_type_of
(object: &Bound<'_, PyAny>)
src/types/ellipsis.rs:45
Methodis_instance_of
(&self)
src/types/any.rs:1269
Methodis_instance_of
(&self, py: Python<'_>)
src/err/mod.rs:441
Methodis_locked
(&self)
src/sync/mutex.rs:188
Methodis_locked
(&self)
src/sync/nonpoison.rs:87
Functionis_matching_endian
(c: u8)
src/buffer.rs:202
Methodis_numeric_type
(t: &syn::Ident)
pyo3-macros-backend/src/pyclass.rs:609
Functionis_subclass_and_is_instance
()
tests/test_inheritance.rs:174
Methodis_subclass_of
Checks whether `self` is a subclass of type `T`. Equivalent to the Python expression `issubclass(self, T)`, if the type `T` is known at compile time.
src/types/typeobject.rs:210
Methodis_truthy
Returns whether the object is considered to be true. This applies truth value testing equivalent to the Python expression `bool(self)`.
src/instance.rs:1865
Methodis_type_of
(object: &Bound<'_, PyAny>)
src/type_object.rs:67
Methodis_type_of
(object: &Bound<'_, PyAny>)
src/types/notimplemented.rs:39
Methodis_type_of
(object: &Bound<'_, PyAny>)
src/types/sequence.rs:38
Methodis_type_of
(object: &Bound<'_, PyAny>)
src/types/none.rs:39
Methodis_type_of
(object: &Bound<'_, PyAny>)
src/types/mapping.rs:40
Methodis_type_of
(object: &Bound<'_, PyAny>)
src/types/ellipsis.rs:39
Methodis_valid_checked
(&self, name: Option<&CStr>)
src/types/capsule.rs:560
Functionissue_219
()
pytests/src/misc.rs:9
Methoditem_name
these are anonymous fields and structs in CPython that we needed to invent names for. Bindgen seems to generate stable names, so we remap the automati
pyo3-ffi-check/definitions/build.rs:14
Functioniter_dict
(b: &mut Bencher<'_>)
pyo3-benches/benches/bench_dict.rs:9
Functioniter_item_refcnt
()
src/types/iterator.rs:217
Functioniter_list
(b: &mut Bencher<'_>)
pyo3-benches/benches/bench_list.rs:9
Functioniter_mappingproxy_nosegv
()
src/types/mappingproxy.rs:555
Functioniter_next_output_type
()
src/impl_/pymethods.rs:738
Functioniter_refcnt
()
src/types/iterator.rs:194
Functioniter_set
(b: &mut Bencher<'_>)
pyo3-benches/benches/bench_set.rs:20
Functioniter_tuple
(b: &mut Bencher<'_>)
pyo3-benches/benches/bench_tuple.rs:8
Functioniterator
()
tests/test_proto_methods.rs:438
Functionkeyword_names
()
tests/test_class_basics.rs:143
Functionkeyword_not_string
()
src/impl_/extract_argument.rs:1153
Functionkeywords
(_kwargs: Option<&Bound<'_, types::PyDict>>)
tests/test_pyfunction.rs:824
Methodlazy
(f: Box<PyErrStateLazyFn>)
src/err/err_state.rs:37
Methodlazy_arguments
(ptype: Py<PyAny>, args: impl PyErrArguments + 'static)
src/err/err_state.rs:41
Methodle
(&self, other: O)
src/types/any.rs:991
Functionlen_overflow
()
tests/test_proto_methods.rs:234
Functionlength_hint_becomes_size_hint_lower_bound
()
src/types/iterator.rs:412
Functionlength_hint_error
()
src/types/iterator.rs:423
Functionlets_go_fast
()
pyo3-ffi/examples/sequential/tests/test.rs:20
Functionlhs_fellback_to_rhs
()
tests/test_arithmetics.rs:496
Methodline_number
(&self)
src/types/frame.rs:93
Functionlist_get_item
(b: &mut Bencher<'_>)
pyo3-benches/benches/bench_list.rs:30
Functionlist_get_item_unchecked
(b: &mut Bencher<'_>)
pyo3-benches/benches/bench_list.rs:69
Functionlist_new
(b: &mut Bencher<'_>)
pyo3-benches/benches/bench_list.rs:23
Functionlist_nth
(b: &mut Bencher<'_>)
pyo3-benches/benches/bench_list.rs:43
Functionlist_nth_back
(b: &mut Bencher<'_>)
pyo3-benches/benches/bench_list.rs:56
Functionlist_via_cast
(b: &mut Bencher<'_>)
pyo3-benches/benches/bench_frompyobject.rs:26
Functionlist_via_extract
(b: &mut Bencher<'_>)
pyo3-benches/benches/bench_frompyobject.rs:34
Functionlocal_binding_named_like_the_root_module_is_kept
()
pyo3-introspection/src/stubs.rs:1399
Methodlock
(&self)
src/platform/sync.rs:105
Methodlocked_for_each
(&self, f: F)
src/types/dict.rs:322
Methodlocked_for_each
Iterates over a list while holding a critical section, calling a closure on each item
src/types/list.rs:431
Methodlt
(&self, other: O)
src/types/any.rs:983
Functionm
(m: &Bound<'_, PyModule>)
tests/test_pyfunction.rs:693
Methodmacro_doc
With mixed doc types.
tests/test_macro_docs.rs:19
Functionmain
()
build.rs:70
Functionmain
()
pyo3-macros-backend/build.rs:4
Functionmain
()
pyo3-ffi-check/build.rs:1
Functionmain
()
pyo3-ffi-check/definitions/build.rs:38
Functionmain
()
pyo3-ffi-check/src/main.rs:14
Functionmain
()
pytests/build.rs:4
Functionmain
()
pyo3-ffi/build.rs:390
Functionmain
()
pyo3-ffi/examples/sequential/build.rs:1
Functionmain
()
pyo3-ffi/examples/string-sum/build.rs:1
Functionmain
()
pyo3-introspection/src/main.rs:8
Functionmain
()
pyo3-benches/build.rs:1
Functionmain
()
tests/test_compile_error.rs:10
Functionmain
()
tests/ui/invalid_async.rs:23
Functionmain
()
tests/ui/invalid_proto_pymethods.rs:73
Functionmain
()
tests/ui/abi3_inheritance.rs:12
Functionmain
()
tests/ui/invalid_pyclass_init.rs:14
Functionmain
()
tests/ui/immutable_type.rs:7
← previousnext →2,801–2,900 of 4,885, ranked by callers