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_mi_base_return
Tests returning an offset (non-first MI) base class pointer to a derived instance
tests/test_multiple_inheritance.py:303
Function
test_mi_dynamic_attributes
Mixing bases with and without dynamic attribute support
tests/test_multiple_inheritance.py:266
Function
test_mi_static_properties
Mixing bases with and without static properties should be possible and the result should be independent of base definition order
tests/test_multiple_inheritance.py:242
Function
test_mi_unaligned_base
Returning an offset (non-first MI) base class pointer should recognize the instance
tests/test_multiple_inheritance.py:274
Function
test_mismatched_holder
()
tests/test_class.py:286
Function
test_missing_header_message
Trying convert `list` to a `std::vector`, or vice versa, without including <pybind11/stl.h> should result in a helpful suggestion in the error mes
tests/test_stl.py:412
Function
test_mixed
()
tests/test_class_sh_disowning.py:31
Function
test_mixed_args_and_kwargs
(msg)
tests/test_kwargs_and_defaults.py:128
Function
test_mixed_local_global
Local types take precedence over globally registered types: a module with a `module_local` type can be registered even if the type is already regi
tests/test_local_bindings.py:165
Function
test_mock_new
(mock_return_value)
tests/test_class.py:257
Function
test_module_attribute_types
()
tests/test_pytypes.py:1168
Function
test_module_handle_type_name
()
tests/test_modules.py:102
Function
test_movable_object
()
tests/test_callbacks.py:151
Function
test_move_and_copy_casts
Cast some values in C++ via custom type casters and count the number of moves/copies.
tests/test_copy_move.py:22
Function
test_move_and_copy_load_optional
Tests move/copy loads of std::optional arguments
tests/test_copy_move.py:84
Function
test_move_and_copy_loads
Call some functions that load arguments via custom type casters and count the number of moves/copies.
tests/test_copy_move.py:50
Function
test_move_fallback
#389: rvp::move should fall-through to copy on non-movable objects
tests/test_copy_move.py:125
Function
test_move_only_holder
()
tests/test_smart_ptr.py:268
Function
test_move_only_holder_caster_shared_ptr_with_smart_holder_support_enabled
()
tests/test_smart_ptr.py:362
Function
test_move_only_holder_with_addressof_operator
()
tests/test_smart_ptr.py:311
Function
test_move_out_container
Properties use the `reference_internal` policy by default. If the underlying function returns an rvalue, the policy is automatically changed to `m
tests/test_stl.py:126
Function
test_move_redirect
(capsys)
tests/test_iostream.py:287
Function
test_move_redirect_null_rdbuf
(capsys)
tests/test_iostream.py:301
Function
test_move_redirect_unflushed
(capsys)
tests/test_iostream.py:294
Function
test_move_support
()
tests/test_virtual_functions.py:200
Function
test_multi_acquire_release_cross_module
()
tests/test_gil_scoped.py:124
Function
test_multi_captured
(capfd)
tests/test_iostream.py:214
Function
test_multiple_inheritance
()
tests/test_factory_constructors.py:337
Function
test_multiple_inheritance_cpp
()
tests/test_multiple_inheritance.py:10
Function
test_multiple_inheritance_mix1
()
tests/test_multiple_inheritance.py:18
Function
test_multiple_inheritance_mix2
()
tests/test_multiple_inheritance.py:37
Function
test_multiple_inheritance_python
()
tests/test_multiple_inheritance.py:57
Function
test_multiple_inheritance_python
()
tests/test_class_sh_disowning_mi.py:149
Function
test_multiple_inheritance_python_many_bases
()
tests/test_multiple_inheritance.py:162
Function
test_multiple_inheritance_virtbase
()
tests/test_multiple_inheritance.py:231
Function
test_multiple_instances_with_same_pointer
()
tests/test_class.py:489
Function
test_multiple_registered_instances_for_same_pointee
()
tests/test_class_sh_trampoline_shared_from_this.py:166
Function
test_multiple_registered_instances_for_same_pointee_leak
()
tests/test_class_sh_trampoline_shared_from_this.py:185
Function
test_multiple_registered_instances_for_same_pointee_recursive
()
tests/test_class_sh_trampoline_shared_from_this.py:198
Function
test_mutate_data
(arr)
tests/test_numpy_array.py:181
Function
test_mutate_readonly
(arr)
tests/test_numpy_array.py:169
Function
test_mutator_descriptors
()
tests/test_eigen_matrix.py:87
Function
test_named_arguments
()
tests/test_eigen_matrix.py:732
Function
test_named_arguments
()
tests/test_kwargs_and_defaults.py:90
Function
test_nano_timepoint
()
tests/test_chrono.py:194
Function
test_native_enum_data_missing_finalize_error_message
()
tests/test_native_enum.py:232
Function
test_native_enum_double_finalize
()
tests/test_native_enum.py:248
Function
test_native_enum_malformed_utf8
(func)
tests/test_native_enum.py:240
Function
test_native_enum_missing_finalize_failure
()
tests/test_native_enum.py:318
Function
test_native_enum_name_clash
()
tests/test_native_enum.py:275
Function
test_native_enum_value_after_finalize
()
tests/test_native_enum.py:257
Function
test_native_enum_value_name_clash
()
tests/test_native_enum.py:286
Function
test_negate
(doc: SanitizedString)
tests/test_docs_advanced_cast_custom.py:23
Function
test_negative_stride_from_python
Eigen doesn't support (as of yet) negative strides. When a function takes an Eigen matrix by copy or const reference, we can pass a numpy array th
tests/test_eigen_matrix.py:175
Function
test_nested
#328: first member in a class can't be used in operators
tests/test_operator_overloading.py:104
Function
test_nested_acquire
()
tests/test_gil_scoped.py:115
Function
test_nested_modules
()
tests/test_modules.py:13
Function
test_nested_throws
Tests nested (e.g. C++ -> Python -> C++) exception handling
tests/test_exceptions.py:206
Function
test_never_annotation
(doc, backport_typehints)
tests/test_pytypes.py:1039
Function
test_new_style_pickle_getstate_pos_only
()
tests/test_pickling.py:135
Function
test_no_mixed_overloads
()
tests/test_methods_and_attributes.py:242
Function
test_no_placement_new
Prior to 2.2, `py::init<...>` relied on the type supporting placement new; this tests a class without placement new support.
tests/test_factory_constructors.py:311
Function
test_no_return_annotation
(doc)
tests/test_pytypes.py:1035
Function
test_noconvert_args
(msg)
tests/test_custom_type_casters.py:9
Function
test_nocopy_wrapper
()
tests/test_eigen_matrix.py:614
Function
test_noexcept_base
Test issue #2234: binding noexcept methods inherited from an unregistered base class. In C++17 noexcept is part of the function type, so &Derived
tests/test_methods_and_attributes.py:537
Function
test_noexcept_def_buffer
Test issue #2234: def_buffer with noexcept member function pointers. Covers both new def_buffer specialisations: - def_buffer(Return (Class
tests/test_buffers.py:404
Function
test_noexcept_lambda
()
tests/test_constants_and_functions.py:57
Function
test_noexcept_method_vectorization
Test issue #2234: vectorize must handle noexcept member function pointers. Covers both new vectorize specialisations: - vectorize(Return (C
tests/test_numpy_vectorize.py:284
Function
test_noexcept_overload_cast
Test issue #2234: overload_cast must handle noexcept member and free function pointers. In C++17 noexcept is part of the function type, so overlo
tests/test_methods_and_attributes.py:603
Function
test_noexcept_ref_qualified_method_vectorization
Test issue #2234 follow-up: vectorize with noexcept lvalue-ref-qualified member pointers. Covers: - vectorize(Return (Class::*)(Args...) &
tests/test_numpy_vectorize.py:270
Function
test_noexcept_ref_qualified_overload_cast
Test issue #2234 follow-up: overload_cast with noexcept ref-qualified member pointers. Covers: - overload_cast_impl::operator()(Return (Cla
tests/test_methods_and_attributes.py:645
Function
test_noexcept_rvalue_ref_qualified_methods
Test noexcept rvalue-ref-qualified methods from an unregistered base. Covers: - Return (Class::*)(Args...) && noexcept (take_noexcept
tests/test_methods_and_attributes.py:589
Function
test_non_converting_constructors
()
tests/test_pytypes.py:473
Function
test_non_final_final
()
tests/test_class.py:473
Function
test_non_smart_holder_member_type_with_smart_holder_owner
()
tests/test_class_sh_property.py:181
Function
test_non_smart_holder_member_type_with_smart_holder_owner_aliases_member
()
tests/test_class_sh_property.py:202
Function
test_non_smart_holder_member_type_with_smart_holder_owner_aliases_member_multiple_reads
()
tests/test_class_sh_property.py:209
Function
test_noncopyable_containers
()
tests/test_stl_binders.py:211
Function
test_none
(doc)
tests/test_pytypes.py:106
Function
test_none_deferred
None passed as various argument types should defer to other overloads
tests/test_builtin_casters.py:435
Function
test_nonlocal_failure
Tests that attempting to register a non-local type in multiple modules fails
tests/test_local_bindings.py:85
Function
test_nonref_iterators
()
tests/test_sequences_and_iterators.py:49
Function
test_nonunit_stride_from_python
()
tests/test_eigen_matrix.py:152
Function
test_nonunit_stride_to_python
()
tests/test_eigen_matrix.py:230
Function
test_not_captured
(capfd)
tests/test_iostream.py:176
Function
test_null_rdbuf_restored
()
tests/test_iostream.py:308
Function
test_nullptr_combinations
()
tests/test_scoped_critical_section.py:8
Function
test_number_protocol
()
tests/test_pytypes.py:589
Function
test_numpy_bool
()
tests/test_builtin_casters.py:583
Function
test_numpy_int_convert
()
tests/test_builtin_casters.py:363
Function
test_numpy_ref_mutators
Tests numpy mutating Eigen matrices (for returned Eigen::Ref<...>s)
tests/test_eigen_matrix.py:518
Function
test_numpy_scalars
(npy_scalar_type, expected_value)
tests/test_numpy_scalars.py:31
Function
test_numpy_view
(capture)
tests/test_numpy_array.py:285
Function
test_obj_cast_color_ptr
()
tests/test_native_enum.py:183
Function
test_obj_cast_unscoped_enum_ptr
()
tests/test_enum.py:341
Function
test_obj_class_name
()
tests/test_pytypes.py:14
Function
test_obj_class_name
()
tests/test_class.py:29
Function
test_one_nullptr
tests/test_scoped_critical_section.cpp:16
Function
test_operator_new_delete
Tests that class-specific operator new/delete functions are invoked
tests/test_class.py:325
← previous
next →
2,701–2,800 of 3,362, ranked by callers