mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-22 05:05:11 +00:00
0d44d720cb
* Add `test_pass_std_vector_int()`, `test_pass_std_set_int()` in test_stl * Change `list_caster` to also accept generator objects (`PyGen_Check(src.ptr()`). Note for completeness: This is a more conservative change than https://github.com/google/pywrapcc/pull/30042 * Drop in (currently unpublished) PyCLIF code, use in `list_caster`, adjust tests. * Use `PyObjectTypeIsConvertibleToStdSet()` in `set_caster`, adjust tests. * Use `PyObjectTypeIsConvertibleToStdMap()` in `map_caster`, add tests. * Simplify `list_caster` `load()` implementation, push str/bytes check into `PyObjectTypeIsConvertibleToStdVector()`. * clang-tidy cleanup with a few extra `(... != 0)` to be more consistent. * Also use `PyObjectTypeIsConvertibleToStdVector()` in `array_caster`. * Update comment pointing to clif/python/runtime.cc (code is unchanged). * Comprehensive test coverage, enhanced set_caster load implementation. * Resolve clang-tidy eror. * Add a long C++ comment explaining what led to the `PyObjectTypeIsConvertibleTo*()` implementations. * Minor function name change in test. * strcmp -> std::strcmp (thanks @Skylion007 for catching this) * Add `PyCallable_Check(items)` in `PyObjectTypeIsConvertibleToStdMap()` * Resolve clang-tidy error * Use `PyMapping_Items()` instead of `src.attr("items")()`, to be internally consistent with `PyMapping_Check()` * Update link to PyCLIF sources. * Fix typo (thanks @wangxf123456 for catching this) * Add `test_pass_std_vector_int()`, `test_pass_std_set_int()` in test_stl * Change `list_caster` to also accept generator objects (`PyGen_Check(src.ptr()`). Note for completeness: This is a more conservative change than https://github.com/google/pywrapcc/pull/30042 * Drop in (currently unpublished) PyCLIF code, use in `list_caster`, adjust tests. * Use `PyObjectTypeIsConvertibleToStdSet()` in `set_caster`, adjust tests. * Use `PyObjectTypeIsConvertibleToStdMap()` in `map_caster`, add tests. * Simplify `list_caster` `load()` implementation, push str/bytes check into `PyObjectTypeIsConvertibleToStdVector()`. * clang-tidy cleanup with a few extra `(... != 0)` to be more consistent. * Also use `PyObjectTypeIsConvertibleToStdVector()` in `array_caster`. * Update comment pointing to clif/python/runtime.cc (code is unchanged). * Comprehensive test coverage, enhanced set_caster load implementation. * Resolve clang-tidy eror. * Add a long C++ comment explaining what led to the `PyObjectTypeIsConvertibleTo*()` implementations. * Minor function name change in test. * strcmp -> std::strcmp (thanks @Skylion007 for catching this) * Add `PyCallable_Check(items)` in `PyObjectTypeIsConvertibleToStdMap()` * Resolve clang-tidy error * Use `PyMapping_Items()` instead of `src.attr("items")()`, to be internally consistent with `PyMapping_Check()` * Update link to PyCLIF sources. * Fix typo (thanks @wangxf123456 for catching this) * Fix typo discovered by new version of codespell. |
||
---|---|---|
.. | ||
extra_python_package | ||
extra_setuptools | ||
test_cmake_build | ||
test_embed | ||
CMakeLists.txt | ||
conftest.py | ||
constructor_stats.h | ||
cross_module_gil_utils.cpp | ||
cross_module_interleaved_error_already_set.cpp | ||
eigen_tensor_avoid_stl_array.cpp | ||
env.py | ||
local_bindings.h | ||
object.h | ||
pybind11_cross_module_tests.cpp | ||
pybind11_tests.cpp | ||
pybind11_tests.h | ||
pyproject.toml | ||
pytest.ini | ||
requirements.txt | ||
test_async.cpp | ||
test_async.py | ||
test_buffers.cpp | ||
test_buffers.py | ||
test_builtin_casters.cpp | ||
test_builtin_casters.py | ||
test_call_policies.cpp | ||
test_call_policies.py | ||
test_callbacks.cpp | ||
test_callbacks.py | ||
test_chrono.cpp | ||
test_chrono.py | ||
test_class.cpp | ||
test_class.py | ||
test_const_name.cpp | ||
test_const_name.py | ||
test_constants_and_functions.cpp | ||
test_constants_and_functions.py | ||
test_copy_move.cpp | ||
test_copy_move.py | ||
test_custom_type_casters.cpp | ||
test_custom_type_casters.py | ||
test_custom_type_setup.cpp | ||
test_custom_type_setup.py | ||
test_docstring_options.cpp | ||
test_docstring_options.py | ||
test_eigen_matrix.cpp | ||
test_eigen_matrix.py | ||
test_eigen_tensor.cpp | ||
test_eigen_tensor.inl | ||
test_eigen_tensor.py | ||
test_enum.cpp | ||
test_enum.py | ||
test_eval_call.py | ||
test_eval.cpp | ||
test_eval.py | ||
test_exceptions.cpp | ||
test_exceptions.h | ||
test_exceptions.py | ||
test_factory_constructors.cpp | ||
test_factory_constructors.py | ||
test_gil_scoped.cpp | ||
test_gil_scoped.py | ||
test_iostream.cpp | ||
test_iostream.py | ||
test_kwargs_and_defaults.cpp | ||
test_kwargs_and_defaults.py | ||
test_local_bindings.cpp | ||
test_local_bindings.py | ||
test_methods_and_attributes.cpp | ||
test_methods_and_attributes.py | ||
test_modules.cpp | ||
test_modules.py | ||
test_multiple_inheritance.cpp | ||
test_multiple_inheritance.py | ||
test_numpy_array.cpp | ||
test_numpy_array.py | ||
test_numpy_dtypes.cpp | ||
test_numpy_dtypes.py | ||
test_numpy_vectorize.cpp | ||
test_numpy_vectorize.py | ||
test_opaque_types.cpp | ||
test_opaque_types.py | ||
test_operator_overloading.cpp | ||
test_operator_overloading.py | ||
test_pickling.cpp | ||
test_pickling.py | ||
test_python_multiple_inheritance.cpp | ||
test_python_multiple_inheritance.py | ||
test_pytypes.cpp | ||
test_pytypes.py | ||
test_sequences_and_iterators.cpp | ||
test_sequences_and_iterators.py | ||
test_smart_ptr.cpp | ||
test_smart_ptr.py | ||
test_stl_binders.cpp | ||
test_stl_binders.py | ||
test_stl.cpp | ||
test_stl.py | ||
test_tagbased_polymorphic.cpp | ||
test_tagbased_polymorphic.py | ||
test_thread.cpp | ||
test_thread.py | ||
test_type_caster_pyobject_ptr.cpp | ||
test_type_caster_pyobject_ptr.py | ||
test_type_caster_std_function_specializations.cpp | ||
test_type_caster_std_function_specializations.py | ||
test_union.cpp | ||
test_union.py | ||
test_unnamed_namespace_a.cpp | ||
test_unnamed_namespace_a.py | ||
test_unnamed_namespace_b.cpp | ||
test_unnamed_namespace_b.py | ||
test_vector_unique_ptr_member.cpp | ||
test_vector_unique_ptr_member.py | ||
test_virtual_functions.cpp | ||
test_virtual_functions.py | ||
valgrind-numpy-scipy.supp | ||
valgrind-python.supp |