Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pybind/pybind11
/ functions
Functions
3,362 in github.com/pybind/pybind11
⨍
Functions
3,362
◇
Types & classes
1,305
↳
Endpoints
11
Function
test_operator_overloading
()
tests/test_operator_overloading.py:11
Function
test_operators_notimplemented
#393: need to return NotSupported to ensure correct arithmetic operator behavior
tests/test_operator_overloading.py:94
Function
test_optional
()
tests/test_stl.py:137
Function
test_optional_annotations
(doc)
tests/test_pytypes.py:1015
Function
test_optional_object_annotations
(doc)
tests/test_pytypes.py:1045
Function
test_overload_ordering
Check to see if the normal overload order (first defined) and prepend overload order works
tests/test_methods_and_attributes.py:672
Function
test_overload_resolution
(msg)
tests/test_numpy_array.py:351
Function
test_overloaded
()
tests/test_class_sh_disowning.py:66
Function
test_override
(capture, msg)
tests/test_virtual_functions.py:13
Function
test_override_cache
tests/test_virtual_functions.cpp:225
Method
test_override_cache_helper
tests/test_virtual_functions.cpp:214
Method
test_override_cache_helper
tests/test_with_catch/test_interpreter.cpp:59
Function
test_override_ref
#392/397: overriding reference-returning functions
tests/test_virtual_functions.py:300
Function
test_override_static
#511: problem with inheritance + overwritten def_static
tests/test_class.py:306
Function
test_overriding_eq_reset_hash
()
tests/test_operator_overloading.py:142
Function
test_partially_fixed
()
tests/test_eigen_matrix.py:49
Function
test_pass_array_object_return_as_list
(pass_array)
tests/test_numpy_array.py:712
Function
test_pass_array_object_return_sum_str_values_list
(pass_array)
tests/test_numpy_array.py:699
Function
test_pass_array_object_return_sum_str_values_ndarray
(pass_array)
tests/test_numpy_array.py:688
Function
test_pass_bytes_or_unicode_to_string_types
()
tests/test_pytypes.py:706
Function
test_pass_color_fail
()
tests/test_native_enum.py:136
Function
test_pass_color_success
()
tests/test_native_enum.py:131
Function
test_pass_list_pyobject_ptr
()
tests/test_type_caster_pyobject_ptr.py:84
Function
test_pass_pyobject_ptr
()
tests/test_type_caster_pyobject_ptr.py:34
Function
test_pass_readonly_array
()
tests/test_eigen_matrix.py:143
Function
test_pass_released_shared_ptr_as_unique_ptr
()
tests/test_class_sh_trampoline_shared_from_this.py:131
Function
test_pass_shared_ptr_ptr
()
tests/test_class_sh_basic.py:235
Function
test_pass_std_map_int
()
tests/test_stl.py:563
Function
test_pass_std_set_int
()
tests/test_stl.py:502
Function
test_pass_std_vector_int
(fn, offset)
tests/test_stl.py:473
Function
test_pass_std_vector_pair_int
()
tests/test_stl.py:486
Function
test_pass_unique_ptr
()
tests/test_class.py:78
Function
test_pass_unique_ptr_cref
()
tests/test_class_sh_basic.py:152
Function
test_pass_unique_ptr_disowns
(pass_f, rtrn_f, expected)
tests/test_class_sh_basic.py:108
Function
test_passthrough_arguments
(doc)
tests/test_numpy_vectorize.py:210
Function
test_path_typing
(doc)
tests/test_stl.py:308
Function
test_pickle_roundtrip
(enum_type, members)
tests/test_native_enum.py:86
Function
test_pickle_simple_callable
(protocol)
tests/test_pickling.py:19
Function
test_pointee_and_ptr_owner
(give_up_ownership_via)
tests/test_class_sh_unique_ptr_member.py:17
Function
test_pointer_to_member_fn
()
tests/test_buffers.py:148
Function
test_pointers
(msg, backport_typehints)
tests/test_opaque_types.py:30
Function
test_populate_dict_rvalue
()
tests/test_pytypes.py:834
Function
test_populate_obj_str_attrs
()
tests/test_pytypes.py:840
Function
test_positional_only_args
()
tests/test_kwargs_and_defaults.py:306
Function
test_potentially_slicing_weak_ptr_not_convertible_error
()
tests/test_potentially_slicing_weak_ptr.py:162
Function
test_pr3635_diamond_b
()
tests/test_multiple_inheritance.py:367
Function
test_pr3635_diamond_c
()
tests/test_multiple_inheritance.py:374
Function
test_pr3635_diamond_d0
()
tests/test_multiple_inheritance.py:385
Function
test_pr3635_diamond_d1
()
tests/test_multiple_inheritance.py:401
Function
test_pr3635_diamond_e
()
tests/test_multiple_inheritance.py:417
Function
test_pr3635_diamond_f
()
tests/test_multiple_inheritance.py:445
Function
test_pr4220_tripped_over_this
()
tests/test_class.py:543
Function
test_premium_traveler_getattr_actually_exists
()
tests/test_cpp_conduit.py:36
Function
test_print
(capture)
tests/test_pytypes.py:548
Function
test_private_esft_tolerance
()
tests/test_smart_ptr.py:344
Function
test_private_op_new
An object with a private `operator new` cannot be returned by value
tests/test_copy_move.py:115
Function
test_properties
()
tests/test_class_sh_shared_ptr_copy_move.py:37
Function
test_properties
()
tests/test_methods_and_attributes.py:110
Function
test_property_return_value_policies
(access)
tests/test_methods_and_attributes.py:274
Function
test_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
Function
test_property_type_hint
()
tests/test_native_enum.py:160
Function
test_ptr
(field_type, num_default, outer_type, m_attr, r_kind)
tests/test_class_sh_property.py:71
Function
test_ptrdiff_drvd_base0
()
tests/test_class_sh_mi_thunks.py:8
Function
test_pure_cpp_sft_raw_ptr
(make_f)
tests/test_class_sh_trampoline_shared_from_this.py:155
Function
test_py_big5
(action_id, expected_history)
tests/test_class_sh_trampoline_self_life_support.py:33
Function
test_py_cast_color_handle
()
tests/test_native_enum.py:189
Function
test_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
Function
test_py_type_handle_of_atyp
()
tests/test_class_sh_basic.py:207
Function
test_pybind11_isinstance_color
()
tests/test_native_enum.py:121
Function
test_pybind11_str_raw_str
()
tests/test_pytypes.py:490
Function
test_pydoc
Pydoc needs to be able to provide help() for everything inside a pybind11 module
tests/test_modules.py:91
Function
test_pypy_oserror_normalization
()
tests/test_exceptions.py:421
Function
test_python_alreadyset_in_destructor
(monkeypatch, capsys)
tests/test_exceptions.py:107
Function
test_python_builtins
Test if python builtins like sum() can be used as callbacks
tests/test_callbacks.py:159
Function
test_python_call_in_catch
()
tests/test_exceptions.py:90
Function
test_python_drvd2
()
tests/test_class_sh_inheritance.py:53
Function
test_python_inherit_from_mi
Tests extending a Python class from a single inheritor of a MI class
tests/test_multiple_inheritance.py:481
Function
test_python_iterator_in_cpp
()
tests/test_sequences_and_iterators.py:235
Function
test_python_override
()
tests/test_virtual_functions.py:452
Function
test_pythread_state_clear_destructor
()
tests/test_thread.py:75
Function
test_pytorch_like_compilation_unit_get_interface_aliases_member_shared_ptr
()
tests/test_pytorch_shared_ptr_cast_regression.py:16
Function
test_pytorch_like_get_tracing_state_aliases_singleton_shared_ptr
()
tests/test_pytorch_shared_ptr_cast_regression.py:6
Function
test_pytype_rvalue_cast
Make sure that cast from pytype rvalue to other pytype works
tests/test_copy_move.py:134
Function
test_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
Function
test_raise_from
(msg)
tests/test_exceptions.py:33
Function
test_raise_from_already_set
(msg)
tests/test_exceptions.py:40
Function
test_random_access_iterator
tests/test_sequences_and_iterators.cpp:93
Function
test_readonly_buffer
()
tests/test_buffers.py:156
Function
test_readonly_char6_member
()
tests/test_class_sh_property.py:160
Function
test_readonly_const_char_ptr_member
()
tests/test_class_sh_property.py:165
Function
test_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
Function
test_reallocation_b
(capture, msg)
tests/test_factory_constructors.py:383
Function
test_reallocation_c
(capture, msg)
tests/test_factory_constructors.py:400
Function
test_reallocation_d
(capture, msg)
tests/test_factory_constructors.py:415
Function
test_reallocation_e
(capture, msg)
tests/test_factory_constructors.py:431
Function
test_reallocation_f
(capture, msg)
tests/test_factory_constructors.py:447
Function
test_reallocation_g
(capture, msg)
tests/test_factory_constructors.py:464
Function
test_recarray
(simple_dtype, packed_dtype)
tests/test_numpy_dtypes.py:208
Function
test_recursive_casting
Tests that stl casters preserve lvalue/rvalue context for container values
tests/test_stl.py:106
Function
test_recursive_dispatch_issue
#3357: Recursive dispatch fails to find python function override
tests/test_virtual_functions.py:267
← previous
next →
2,801–2,900 of 3,362, ranked by callers