pybind11/tests
Yannick Jadoul 0c5cc031ee
feat: deprecate public constructors of module_ class (#2552)
* Deprecated public constructors of module

* Turn documentation comment of module_::add_object into valid doxygen documentation

* Move definition of PYBIND11_DETAIL_MODULE_STATIC_DEF and PYBIND11_DETAIL_MODULE_CREATE macros up

* Move detail::create_top_level_module to module_::create_extension_module, and unify Python 2 and 3 signature again

* Throw error_already_set if module creation fails in module_::create_extension_module

* Mention module_::create_extension_module in deprecation warning message of module_::module_
2020-10-09 10:46:11 -04:00
..
extra_python_package docs: Use README.rst in docs as home page (#2500) 2020-09-17 15:40:09 -04:00
extra_setuptools feat: parallel compiler (#2521) 2020-10-02 10:03:35 -04:00
test_cmake_build refactor: module -> module_ with typedef (#2544) 2020-10-03 13:38:03 -04:00
test_embed refactor: module -> module_ with typedef (#2544) 2020-10-03 13:38:03 -04:00
CMakeLists.txt refactor: import check as a common function (#2526) 2020-10-02 22:34:22 -04:00
conftest.py tests: avoid putting build products into source directory (#2353) 2020-08-19 13:11:57 -04:00
constructor_stats.h refactor: module -> module_ with typedef (#2544) 2020-10-03 13:38:03 -04:00
cross_module_gil_utils.cpp Make sure detail::get_internals acquires the GIL before making Python calls. (#1836) 2019-07-15 16:47:02 +02:00
env.py ci: reduce flakiness a little (#2418) 2020-08-20 11:58:34 -04:00
local_bindings.h style: clang-tidy: llvm-namespace-comment 2020-09-15 09:56:59 -04:00
object.h Improve custom holder support (#607) 2017-01-31 17:05:44 +01:00
pybind11_cross_module_tests.cpp Make TypeErrors more informative when an optional header is missing 2017-09-12 08:06:46 +02:00
pybind11_tests.cpp refactor: module -> module_ with typedef (#2544) 2020-10-03 13:38:03 -04:00
pybind11_tests.h refactor: module -> module_ with typedef (#2544) 2020-10-03 13:38:03 -04:00
pytest.ini feat: setup.py redesign and helpers (#2433) 2020-09-16 17:13:41 -04:00
requirements.txt ci: include Python 3.9 RC1 (#2387) 2020-08-12 14:09:42 -04:00
test_async.cpp refactor: module -> module_ with typedef (#2544) 2020-10-03 13:38:03 -04:00
test_async.py tests: cleanup and ci hardening (#2397) 2020-08-16 16:02:12 -04:00
test_buffers.cpp Fix buffer_info for ctypes buffers (pybind#2502) (#2503) 2020-10-03 23:09:14 +02:00
test_buffers.py Fix buffer_info for ctypes buffers (pybind#2502) (#2503) 2020-10-03 23:09:14 +02:00
test_builtin_casters.cpp cast pointer to std::tuple and std::pair (#2334) 2020-07-28 21:44:19 +02:00
test_builtin_casters.py tests: cleanup and ci hardening (#2397) 2020-08-16 16:02:12 -04:00
test_call_policies.cpp ci: fix clang warnings 2020-07-26 09:25:27 -04:00
test_call_policies.py tests: cleanup and ci hardening (#2397) 2020-08-16 16:02:12 -04:00
test_callbacks.cpp Fix async Python functors invoking from multiple C++ threads (#1587) (#1595) 2019-06-11 23:28:58 +02:00
test_callbacks.py ci: GHA basic format & pre-commit (#2309) 2020-07-20 13:35:21 -04:00
test_chrono.cpp fix: allow assignment of time points of resolutions other than that of a system clock (#2481) 2020-09-13 10:24:00 -04:00
test_chrono.py fix: allow assignment of time points of resolutions other than that of a system clock (#2481) 2020-09-13 10:24:00 -04:00
test_class.cpp Check scope's __dict__ instead of using hasattr when registering classes and exceptions (#2335) 2020-10-09 01:09:56 +02:00
test_class.py Check scope's __dict__ instead of using hasattr when registering classes and exceptions (#2335) 2020-10-09 01:09:56 +02:00
test_constants_and_functions.cpp style: clang-tidy: llvm-namespace-comment 2020-09-15 09:56:59 -04:00
test_constants_and_functions.py fix: support nvcc and test (#2461) 2020-09-10 11:49:26 -04:00
test_copy_move.cpp style: clang-tidy: modernize-use-equals-default 2020-09-15 09:56:59 -04:00
test_copy_move.py ci: GHA basic format & pre-commit (#2309) 2020-07-20 13:35:21 -04:00
test_custom_type_casters.cpp style: clang-tidy: llvm-namespace-comment 2020-09-15 09:56:59 -04:00
test_custom_type_casters.py ci: GHA basic format & pre-commit (#2309) 2020-07-20 13:35:21 -04:00
test_docstring_options.cpp Update all remaining tests to new test styles 2017-08-05 18:46:22 -04:00
test_docstring_options.py ci: GHA basic format & pre-commit (#2309) 2020-07-20 13:35:21 -04:00
test_eigen.cpp refactor: module -> module_ with typedef (#2544) 2020-10-03 13:38:03 -04:00
test_eigen.py tests: cleanup and ci hardening (#2397) 2020-08-16 16:02:12 -04:00
test_enum.cpp Avoid conversion to int_ rhs argument of enum eq/ne (#1912) 2019-09-19 18:23:27 +02:00
test_enum.py Add enum value to enum repr (#2126) 2020-09-20 01:12:19 +02:00
test_eval_call.py ci: GHA basic format & pre-commit (#2309) 2020-07-20 13:35:21 -04:00
test_eval.cpp refactor: module -> module_ with typedef (#2544) 2020-10-03 13:38:03 -04:00
test_eval.py tests: cleanup and ci hardening (#2397) 2020-08-16 16:02:12 -04:00
test_exceptions.cpp refactor: module -> module_ with typedef (#2544) 2020-10-03 13:38:03 -04:00
test_exceptions.py fix: throwing repr caused a segfault (#2389) 2020-08-18 07:14:34 -04:00
test_factory_constructors.cpp refactor: module -> module_ with typedef (#2544) 2020-10-03 13:38:03 -04:00
test_factory_constructors.py fix: support NVIDIA-PGI HPC SDK (#2475) 2020-09-11 22:06:52 -04:00
test_gil_scoped.cpp refactor: module -> module_ with typedef (#2544) 2020-10-03 13:38:03 -04:00
test_gil_scoped.py test: hide segfault (#2559) 2020-10-08 12:25:04 -04:00
test_iostream.cpp refactor: module -> module_ with typedef (#2544) 2020-10-03 13:38:03 -04:00
test_iostream.py ci: GHA basic format & pre-commit (#2309) 2020-07-20 13:35:21 -04:00
test_kwargs_and_defaults.cpp refactor: module -> module_ with typedef (#2544) 2020-10-03 13:38:03 -04:00
test_kwargs_and_defaults.py feat: py::pos_only (#2459) 2020-09-04 20:02:05 -04:00
test_local_bindings.cpp refactor: module -> module_ with typedef (#2544) 2020-10-03 13:38:03 -04:00
test_local_bindings.py Moving tp_class access, and consistent fully-qualified naming for PyPy, to detail::get_tp_name (#2520) 2020-10-01 22:57:25 -04:00
test_methods_and_attributes.cpp feat: py::prepend tag (#1131) 2020-10-05 22:36:33 -04:00
test_methods_and_attributes.py feat: py::prepend tag (#1131) 2020-10-05 22:36:33 -04:00
test_modules.cpp feat: deprecate public constructors of module_ class (#2552) 2020-10-09 10:46:11 -04:00
test_modules.py ci: GHA basic format & pre-commit (#2309) 2020-07-20 13:35:21 -04:00
test_multiple_inheritance.cpp chore: drop support for PyPy < 7.3.1 and clean up old PyPy workarounds (#2456) 2020-10-05 10:43:27 -04:00
test_multiple_inheritance.py tests: cleanup and ci hardening (#2397) 2020-08-16 16:02:12 -04:00
test_numpy_array.cpp refactor: module -> module_ with typedef (#2544) 2020-10-03 13:38:03 -04:00
test_numpy_array.py Add unchecked_reference::operator() and operator[] to overload resolution of unchecked_mutable_reference (#2514) 2020-10-02 19:07:04 +02:00
test_numpy_dtypes.cpp refactor: module -> module_ with typedef (#2544) 2020-10-03 13:38:03 -04:00
test_numpy_dtypes.py test_numpy_dtypes: Add test for py::vectorize() (#2260) 2020-09-17 07:19:33 -04:00
test_numpy_vectorize.cpp refactor: module -> module_ with typedef (#2544) 2020-10-03 13:38:03 -04:00
test_numpy_vectorize.py feat: vectorize functions with void return type (#1969) 2020-10-02 15:30:34 -04:00
test_opaque_types.cpp Allow raw unions without base classes in is_accessible_base_of (#2320) 2020-10-02 09:39:22 -04:00
test_opaque_types.py Allow raw unions without base classes in is_accessible_base_of (#2320) 2020-10-02 09:39:22 -04:00
test_operator_overloading.cpp fix: AppleClang 12 warnings (#2510) 2020-09-19 20:23:47 +02:00
test_operator_overloading.py Set __hash__ to None for types that defines __eq__, but not __hash__ (#2291) 2020-07-27 01:44:25 +02:00
test_pickling.cpp Relax py::pickle() get/set type check 2017-09-06 15:20:52 +02:00
test_pickling.py tests: cleanup and ci hardening (#2397) 2020-08-16 16:02:12 -04:00
test_pytypes.cpp feat: py::prepend tag (#1131) 2020-10-05 22:36:33 -04:00
test_pytypes.py Fail on passing py::object with wrong Python type to py::object subclass using PYBIND11_OBJECT macro (#2349) 2020-10-05 22:48:54 +02:00
test_sequences_and_iterators.cpp style: clang-tidy: modernize-use-auto 2020-09-15 09:56:59 -04:00
test_sequences_and_iterators.py ci: GHA basic format & pre-commit (#2309) 2020-07-20 13:35:21 -04:00
test_smart_ptr.cpp style: clang-tidy: modernize-use-equals-default 2020-09-15 09:56:59 -04:00
test_smart_ptr.py fix: support NVIDIA-PGI HPC SDK (#2475) 2020-09-11 22:06:52 -04:00
test_stl_binders.cpp refactor: module -> module_ with typedef (#2544) 2020-10-03 13:38:03 -04:00
test_stl_binders.py tests: cleanup and ci hardening (#2397) 2020-08-16 16:02:12 -04:00
test_stl.cpp style: clang-tidy: llvm-namespace-comment 2020-09-15 09:56:59 -04:00
test_stl.py ci: GHA basic format & pre-commit (#2309) 2020-07-20 13:35:21 -04:00
test_tagbased_polymorphic.cpp style: clang-tidy: llvm-namespace-comment 2020-09-15 09:56:59 -04:00
test_tagbased_polymorphic.py ci: GHA basic format & pre-commit (#2309) 2020-07-20 13:35:21 -04:00
test_union.cpp Fix assertion failure for unions (#1685) (#1709) 2019-06-11 23:28:58 +02:00
test_union.py ci: GHA basic format & pre-commit (#2309) 2020-07-20 13:35:21 -04:00
test_virtual_functions.cpp refactor: module -> module_ with typedef (#2544) 2020-10-03 13:38:03 -04:00
test_virtual_functions.py fix: support NVIDIA-PGI HPC SDK (#2475) 2020-09-11 22:06:52 -04:00