MCPcopy Create free account

hub / github.com/pybind/pybind11 / functions

Functions3,362 in github.com/pybind/pybind11

Functiontest_operator_overloading
()
tests/test_operator_overloading.py:11
Functiontest_operators_notimplemented
#393: need to return NotSupported to ensure correct arithmetic operator behavior
tests/test_operator_overloading.py:94
Functiontest_optional
()
tests/test_stl.py:137
Functiontest_optional_annotations
(doc)
tests/test_pytypes.py:1015
Functiontest_optional_object_annotations
(doc)
tests/test_pytypes.py:1045
Functiontest_overload_ordering
Check to see if the normal overload order (first defined) and prepend overload order works
tests/test_methods_and_attributes.py:672
Functiontest_overload_resolution
(msg)
tests/test_numpy_array.py:351
Functiontest_overloaded
()
tests/test_class_sh_disowning.py:66
Functiontest_override
(capture, msg)
tests/test_virtual_functions.py:13
Functiontest_override_cache
tests/test_virtual_functions.cpp:225
Methodtest_override_cache_helper
tests/test_virtual_functions.cpp:214
Methodtest_override_cache_helper
tests/test_with_catch/test_interpreter.cpp:59
Functiontest_override_ref
#392/397: overriding reference-returning functions
tests/test_virtual_functions.py:300
Functiontest_override_static
#511: problem with inheritance + overwritten def_static
tests/test_class.py:306
Functiontest_overriding_eq_reset_hash
()
tests/test_operator_overloading.py:142
Functiontest_partially_fixed
()
tests/test_eigen_matrix.py:49
Functiontest_pass_array_object_return_as_list
(pass_array)
tests/test_numpy_array.py:712
Functiontest_pass_array_object_return_sum_str_values_list
(pass_array)
tests/test_numpy_array.py:699
Functiontest_pass_array_object_return_sum_str_values_ndarray
(pass_array)
tests/test_numpy_array.py:688
Functiontest_pass_bytes_or_unicode_to_string_types
()
tests/test_pytypes.py:706
Functiontest_pass_color_fail
()
tests/test_native_enum.py:136
Functiontest_pass_color_success
()
tests/test_native_enum.py:131
Functiontest_pass_list_pyobject_ptr
()
tests/test_type_caster_pyobject_ptr.py:84
Functiontest_pass_pyobject_ptr
()
tests/test_type_caster_pyobject_ptr.py:34
Functiontest_pass_readonly_array
()
tests/test_eigen_matrix.py:143
Functiontest_pass_released_shared_ptr_as_unique_ptr
()
tests/test_class_sh_trampoline_shared_from_this.py:131
Functiontest_pass_shared_ptr_ptr
()
tests/test_class_sh_basic.py:235
Functiontest_pass_std_map_int
()
tests/test_stl.py:563
Functiontest_pass_std_set_int
()
tests/test_stl.py:502
Functiontest_pass_std_vector_int
(fn, offset)
tests/test_stl.py:473
Functiontest_pass_std_vector_pair_int
()
tests/test_stl.py:486
Functiontest_pass_unique_ptr
()
tests/test_class.py:78
Functiontest_pass_unique_ptr_cref
()
tests/test_class_sh_basic.py:152
Functiontest_pass_unique_ptr_disowns
(pass_f, rtrn_f, expected)
tests/test_class_sh_basic.py:108
Functiontest_passthrough_arguments
(doc)
tests/test_numpy_vectorize.py:210
Functiontest_path_typing
(doc)
tests/test_stl.py:308
Functiontest_pickle_roundtrip
(enum_type, members)
tests/test_native_enum.py:86
Functiontest_pickle_simple_callable
(protocol)
tests/test_pickling.py:19
Functiontest_pointee_and_ptr_owner
(give_up_ownership_via)
tests/test_class_sh_unique_ptr_member.py:17
Functiontest_pointer_to_member_fn
()
tests/test_buffers.py:148
Functiontest_pointers
(msg, backport_typehints)
tests/test_opaque_types.py:30
Functiontest_populate_dict_rvalue
()
tests/test_pytypes.py:834
Functiontest_populate_obj_str_attrs
()
tests/test_pytypes.py:840
Functiontest_positional_only_args
()
tests/test_kwargs_and_defaults.py:306
Functiontest_potentially_slicing_weak_ptr_not_convertible_error
()
tests/test_potentially_slicing_weak_ptr.py:162
Functiontest_pr3635_diamond_b
()
tests/test_multiple_inheritance.py:367
Functiontest_pr3635_diamond_c
()
tests/test_multiple_inheritance.py:374
Functiontest_pr3635_diamond_d0
()
tests/test_multiple_inheritance.py:385
Functiontest_pr3635_diamond_d1
()
tests/test_multiple_inheritance.py:401
Functiontest_pr3635_diamond_e
()
tests/test_multiple_inheritance.py:417
Functiontest_pr3635_diamond_f
()
tests/test_multiple_inheritance.py:445
Functiontest_pr4220_tripped_over_this
()
tests/test_class.py:543
Functiontest_premium_traveler_getattr_actually_exists
()
tests/test_cpp_conduit.py:36
Functiontest_print
(capture)
tests/test_pytypes.py:548
Functiontest_private_esft_tolerance
()
tests/test_smart_ptr.py:344
Functiontest_private_op_new
An object with a private `operator new` cannot be returned by value
tests/test_copy_move.py:115
Functiontest_properties
()
tests/test_class_sh_shared_ptr_copy_move.py:37
Functiontest_properties
()
tests/test_methods_and_attributes.py:110
Functiontest_property_return_value_policies
(access)
tests/test_methods_and_attributes.py:274
Functiontest_property_rvalue_policy
When returning an rvalue, the return value policy is automatically changed from `reference(_internal)` to `move`. The following would not work oth
tests/test_methods_and_attributes.py:294
Functiontest_property_type_hint
()
tests/test_native_enum.py:160
Functiontest_ptr
(field_type, num_default, outer_type, m_attr, r_kind)
tests/test_class_sh_property.py:71
Functiontest_ptrdiff_drvd_base0
()
tests/test_class_sh_mi_thunks.py:8
Functiontest_pure_cpp_sft_raw_ptr
(make_f)
tests/test_class_sh_trampoline_shared_from_this.py:155
Functiontest_py_big5
(action_id, expected_history)
tests/test_class_sh_trampoline_self_life_support.py:33
Functiontest_py_cast_color_handle
()
tests/test_native_enum.py:189
Functiontest_py_cast_useable_on_shutdown
Test that py::cast works during interpreter shutdown. See PR #5972 and https://github.com/pybind/pybind11/pull/5958#discussion_r2717645230.
tests/test_custom_type_setup.py:55
Functiontest_py_type_handle_of_atyp
()
tests/test_class_sh_basic.py:207
Functiontest_pybind11_isinstance_color
()
tests/test_native_enum.py:121
Functiontest_pybind11_str_raw_str
()
tests/test_pytypes.py:490
Functiontest_pydoc
Pydoc needs to be able to provide help() for everything inside a pybind11 module
tests/test_modules.py:91
Functiontest_pypy_oserror_normalization
()
tests/test_exceptions.py:421
Functiontest_python_alreadyset_in_destructor
(monkeypatch, capsys)
tests/test_exceptions.py:107
Functiontest_python_builtins
Test if python builtins like sum() can be used as callbacks
tests/test_callbacks.py:159
Functiontest_python_call_in_catch
()
tests/test_exceptions.py:90
Functiontest_python_drvd2
()
tests/test_class_sh_inheritance.py:53
Functiontest_python_inherit_from_mi
Tests extending a Python class from a single inheritor of a MI class
tests/test_multiple_inheritance.py:481
Functiontest_python_iterator_in_cpp
()
tests/test_sequences_and_iterators.py:235
Functiontest_python_override
()
tests/test_virtual_functions.py:452
Functiontest_pythread_state_clear_destructor
()
tests/test_thread.py:75
Functiontest_pytorch_like_compilation_unit_get_interface_aliases_member_shared_ptr
()
tests/test_pytorch_shared_ptr_cast_regression.py:16
Functiontest_pytorch_like_get_tracing_state_aliases_singleton_shared_ptr
()
tests/test_pytorch_shared_ptr_cast_regression.py:6
Functiontest_pytype_rvalue_cast
Make sure that cast from pytype rvalue to other pytype works
tests/test_copy_move.py:134
Functiontest_qualname
Tests that a properly qualified name is set in __qualname__ and that generated docstrings properly use it and the module name
tests/test_class.py:157
Functiontest_raise_from
(msg)
tests/test_exceptions.py:33
Functiontest_raise_from_already_set
(msg)
tests/test_exceptions.py:40
Functiontest_random_access_iterator
tests/test_sequences_and_iterators.cpp:93
Functiontest_readonly_buffer
()
tests/test_buffers.py:156
Functiontest_readonly_char6_member
()
tests/test_class_sh_property.py:160
Functiontest_readonly_const_char_ptr_member
()
tests/test_class_sh_property.py:165
Functiontest_reallocation_a
When the constructor is overloaded, previous overloads can require a preallocated value. This test makes sure that such preallocated values only h
tests/test_factory_constructors.py:360
Functiontest_reallocation_b
(capture, msg)
tests/test_factory_constructors.py:383
Functiontest_reallocation_c
(capture, msg)
tests/test_factory_constructors.py:400
Functiontest_reallocation_d
(capture, msg)
tests/test_factory_constructors.py:415
Functiontest_reallocation_e
(capture, msg)
tests/test_factory_constructors.py:431
Functiontest_reallocation_f
(capture, msg)
tests/test_factory_constructors.py:447
Functiontest_reallocation_g
(capture, msg)
tests/test_factory_constructors.py:464
Functiontest_recarray
(simple_dtype, packed_dtype)
tests/test_numpy_dtypes.py:208
Functiontest_recursive_casting
Tests that stl casters preserve lvalue/rvalue context for container values
tests/test_stl.py:106
Functiontest_recursive_dispatch_issue
#3357: Recursive dispatch fails to find python function override
tests/test_virtual_functions.py:267
← previousnext →2,801–2,900 of 3,362, ranked by callers