Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Code extracted from: https://github.com/pybind/pybind11.git at commit 42d8593ad4225a634b481cd573f7aeb94de72418 (master). Upstream Shortlog ----------------- Aaron Gokaslan (45): cd4b49a2 Update py::kwargs examples to pass by reference (#3038) b4b67f02 Fix typos (#3044) af6218ff fix(clang-tidy): Apply performance fixes from clang-tidy (#3046) e0b5cbd4 chore(clang-tidy): add more modernize clang-tidy checks (#3049) 3b30b0a5 fix(clang-tidy): clang-tidy readability and misc fixes, like adding const (#3052) dac74ebd fix(clang-tidy): performance fixes applied in tests and CI (#3051) b5357d1f fix(clang-tidy): Enable clang-tidy else-after-return and redundant void checks (#3080) 25e470c5 fix(clang-tidy): Add cppcoreguidelines-init-vars,slicing, and throw-by-value-catch-by-reference checks (#3094) c4b0dc7c Add shellcheck style checking (#3114) 9beaa925 maint(clang-tidy): Improve code readability with explicit boolean casts (#3148) 0ac4c8af maint(clang-tidy): Improve code readability with explicit boolean casts (#3148) c0756ccd fix: func_handle for rule of two (#3169) 9f204a18 fix: func_handle for rule of two (#3169) 3893f37b maint(clang-tidy): Bugprone enable checks (#3166) ff590c12 maint(perf): Optimize Numpy constructor to remove copies by value. (#3183) 9df2f1ff maint(precommit): Apply isort (#3195) 617cb653 [Bugfix] Fix errant const methods (#3194) 6cbabc4b maint(clang-tidy): Enable cpp-coreguideline slicing checks (#3210) d71ba0cb (perf): Add a missing noexcept to a pytype constructor (#3236) 4c6bee35 fix: Set __file__ constant when using eval_file (#1300) (#3233) ae07d4c6 maint(Clang-Tidy): readability-const-return (#3254) 9978ed58 Fix capsule bug (#3261) d0f3c51f Enable defining custom __new__ (#3265) 6e6975e2 Fix test case with __new__ (#3285) 0fb981b2 Add blacken-docs and pycln pre-commit hooks (#3292) ad966556 fix: replace free() with std::free() (#3321) f4c81e08 maint: Add additional linter-related pre-commit hooks (#3337) 78ee782b feat: Add C++ binding to throw AttributeError (#3387) ef070f77 Add additional info to TypeError when C++->Python casting fails (#3605) d434b5f3 (chore): Remove deprecated c-headers (#3610) f8d4aa47 Add clang-tidy readability checks for sus args (#3611) d2ec8367 Add support for nested C++11 exceptions (#3608) 3a8d9230 Fix caster optimization regression introduced in #3650 (#3659) 978617f6 fix issue 3668 by removing bool casts in numpy.h (#3669) ce18721d Ensure TypeError use raise_from for C++->Python overload res. (#3671) 1b841883 Minor change to improve readability (#3695) 7f975816 chore(clang-tidy): Enable static downcast and decl naming check (#3709) dc9803ce Add missing clang-tidy fixes (#3715) d6c66d25 chore(clang-tidy): Add clang-tidy rules: prefer-member-initializer and optin.performance.Padding (#3716) 42a8e312 Improve Python 3.11 support (#3694) af08a95b fix: potential memory leak in pypy (#3774) 2dd52544 fix: missing move in eval.h (#3775) 47079b9e (perf): Add missing move in sp matrix caster and microopt char concats (#3823) 146695a9 fix: better exception and error handling for capsules (#3825) 3a183d4b fix: improve str exceptions and consistency with python (#3826) Akira Kawata (1): 417fd120 Fix: fix typo of WITHOUT_SOABI (#2992) Andy Maloney (3): 14b37512 docs: fix example code in Exceptions section (match vs. matches) (#2781) df8494dc fix: a clang warning [-Wshadow-field-in-constructor-modified] (#2780) 40931961 docs: fix spelling in some comments/docs (#2777) Antony Lee (6): d068ab28 docs: pybind11/numpy.h does not require numpy at build time. (#2720) 6b4297fd fix: don't trigger -Wunused-parameter in flagcheck.cpp. (#2735) e8c4f543 fix: prepend Pybind11Extension flags rather than appending them. (#2808) 5bcaaa04 Add a std::filesystem::path <-> os.PathLike caster. (#2730) 1be0a0a6 Add helper to build in-tree extensions. (#2831) b11ff912 fix(setup =_helpers): don't add -g0 CFLAGS sets -g (#3436) Axel Huebl (5): 0b3df7f9 ci: Intel icc/icpc via oneAPI (#2573) c78dfb69 MSVC but not Clang: /MP (#2824) 55f6f6e9 Fix: RTD Docutils Build (#3119) d75b3536 CI: MSVC Debug Build (#3784) a7e7a6e8 Docs: No Strip in Debug (#3779) Bertrand MICHEL (1): 74a767d4 Dtype kind vs char (#2864) Bjorn (1): 32d11c96 fix typo in pickle example (#2669) Bobby Impollonia (1): 75168113 fix(setup_helpers): ensure ThreadPool is closed (#3548) Boris Rasin (2): 01f938e7 fix: add missing std::forward calls (#3443) a224d0cc fix: vs2022 compilation, issue #3477 (#3497) Boris Staletic (4): 06b673a0 Allow NULL value in pybind11_meta_setattro (#2629) 8adef2c7 fix: workaround for #2682 and #2422 by simply clearing the TypeError (#2685) f110889d Use correct duration representation when casting from datetime.timdelta to std::chrono::duration (#2870) 5cd37507 Enable -Wstrict-aliasing warning (#2816) Bruce Merry (4): ee0c5ee4 Add make_value_iterator (#3271) b3573ac9 feat: add `.keys` and `.values` to bind_map (#3310) 47ed124f Fix some formatting in the v2.8.0 changelog (#3339) 8a7c266d Fix make_key_iterator/make_value_iterator for prvalue iterators (#3348) Chad B. Hovey (1): dd2d1272 Correct "which" versus "that" error. (#3430) Changming Sun (1): 210c8c21 fix: a warning found by static code analyzer (#2783) Chris Ohk (1): 1a432b42 docs: Correct minor typos (#3721) Cris Luengo (1): 93e69191 fix: enable py::implicitly_convertible<py::none, ...> for py::class_-wrapped types (#3059) Dan (1): 930bb16c Call PySys_SetArgv when initializing interpreter. (#2341) David Hewitt (2): a0b97596 Allow python builtins to be used as callbacks (#1413) fd71bd48 Allow python builtins to be used as callbacks (#1413) Dmitry Yershov (1): 076c89fc tests: test recursive dispatch using visitor pattern (#3365) Dustin Spicuzza (4): c0fbb02c Extract gil management functions to separate header (#2845) 6d440946 Check dict item accesses where it isn't already checked (#2863) ec81e8e7 Propagate py::multiple_inheritance to all children (#3650) 17792884 Document how to bind templates (#3665) Edward Lockhart (1): 23c3edcf When determining if a shared_ptr already exists, use a test on the we… (#2819) Eric Cousineau (6): 635e3fc9 CONTRIBUTING: Add suggestion about passing pytest flags (#2738) 2110d2d8 enum: add missing Enum.value property (#2739) f676782b env: Add surrogate for pytest.deprecated_call for ptyest<3.9 (#2923) b6ec0e95 functions: Add doc on incorrect argument index (#2979) 6ac8efe5 test_eval: Show example of working closure (#2743) f495dfc4 cast: Qualify symbol usage in PYBIND11_TYPE_CASTER (#3758) Frank (1): f8b8107b fix: make FindPython2 and FindPython3 work (#2662) Geoffrey Gunter (1): 2d6014e4 docs: fix minor typo (#3390) Guillaume Jacquenot (2): e450eb62 Removed duplicated word in docs/advanced/cast/eigen.rst (#3458) 1eb59963 Removed duplicated word in docs/advanced/exceptions.rst (#3476) Henry Fredrick Schreiner (5): 5b43ac42 docs: fix missing line from #2310 dff9b3b4 chore: add pytest-timeout, mypy 732bf88d fix: avoid changing class outside of GIL 4a5b81b1 chore: get back to work 87954e7a fix: corrected dev versioning Henry Schreiner (111): b8dc60ec fix: Python include directory was missing from DIRS (#2636) 6cc233cc ci: label PRs when merged only for now 6d4854a5 ci: correct types statement 3e4d54bc fix: match new extension discovery with changes to classic discovery (#2640) ebd5c5b4 feat: way to only recompile changed files (#2643) f1abf5d9 docs: changelog update (#2652) b7c741b5 docs: back to work after 2.6.1 02746cb6 docs: add a little more information for releases de78bddd docs: better badges (#2656) 17c22b9e docs: mention branch update in checklist (#2670) 499fcd54 ci: drop pypy2 linux, PGI 20.7, add Python 10 dev (#2724) ffb113d1 fix: regression with installed pybind11 overriding local one (#2716) d5af536f ci: update cmake action (#2734) 5bd766bf docs: update changelog and add script to help generate it (#2733) 79b0e2c0 docs: fix pdf build, simpler start page (#2736) b7dfe5cc chore: changelog update (#2750) 5abce7fc ci: use fixed action (#2791) 230fa53f fix: Don't override global settings for VISIBILITY if set (#2793) 0df11d85 docs: update build description slightly (#2794) 87f5aff4 ci: update to setup-cmake v1.6 (#2805) eb83feef style: avoid using unintialized variables (#2806) 130c9954 fix: support basic dual includes (#2804) 2db0264a style: add clang-format file (#2310) 44105ca1 docs: mention that the changelog block in PR is special 08bca374 docs: update changelog, nicer output for script (#2811) 8e5d3d23 docs: prepare for 2.6.2 (#2820) 8de7772c chore: prepare for the 2.6.2 release (#2821) 721834b4 chore: get PyPy 3.7 wheels using NumPy 1.20 (#2837) e0c1dadb chore: add myself to CODEOWNERS (#2940) 114be7f4 docs: remove recommonmark (#2955) 5e4804bb tests: use master commit for pytest on 3.10 (#2967) 54430436 ci: install Boost for boost checks (#2968) 7a64b8ad docs: fix script issues for changelog compilation (#3100) f0a65c89 docs(fix): spelling mistake in recent commit ddf0efb9 chore: add nox support (#3101) 84fdadfb chore: update pre-commit hooks 11e12fe4 chore: move some config to pyproject.toml 0e2e0035 style: add pyupgrade check, 2.7+ 6a644c8f docs: update changelog (#3099) cd061aee style: pre-commit cleanup (#3111) 31843d45 docs: reduce visibility of 3.9.0 warning (#3105) 2415c094 feat(package): support pipx run (#3117) 1b10292c chore: support PDF from nox (#3121) 6642f389 docs: update changelog (#3122) 65e95ea8 chore: bump to 2.7.0 (#3123) 74935f8d chore: post-release (#3128) 7cc0ebb4 fix: the CMake config in Python package had a hard coded path (#3144) c14b1933 chore: increase CMake upper limit (#3124) 5c6bdb72 fix: the CMake config in Python package had a hard coded path (#3144) b1fdbe69 chore: add discussions link (#3159) a2b78a8c chore: changelog update (#3163) 90959848 chore: changelog update (#3163) 078c1167 chore: bump to version 2.7.1 5f34c42d chore: bump to version 2.7.1 82adacb3 fix: include hex version in bump 787d2c88 fix: include hex version in bump c30f57d2 chore: start development for 2.8.0 5f4d7259 fix: version number hex 1fafd1b4 fix: apply simpler expression with fewer workarounds 089328f7 Revert "fix: apply simpler expression with fewer workarounds" fdac5fbf chore: support targeting different Python versions with nox (#3214) db44afa3 tests: fix pytest usage on Python 3.10 (#3221) 04dd3262 docs: update CHANGELOG (#3276) b06a6f4f feat: Slice allowing None with py::object or std::optional (#1101) 2fa3fcfd Revert "Add make_value_iterator (#3271)" 5f46e47d tests: check simple iteration of pairs (#3296) 21282e64 feat: reapply fixed version of #3271 (#3293) 6ad3f874 fix(build): avoid a possible warning about shadowed variables and changing behaviors (#3220) d58699c9 fix(cmake): reduce chance for variable collision (#3302) 6bce3bd7 docs: update CHANGELOG (#3304) a1830d5e docs: mention title conventions in PR template (#3313) d7a7edc1 tests: support Eigen configuration 591db0b9 docs: update CHANGELOG for 2.8 20aae3e6 ci: disable Eigen due to Cert issue on CentOS c9a319c6 chore: version 2.8.0 final 3747dc2c Revert "All `-DDOWNLOAD_EIGEN=OFF` (to work around gitlab eigen outage)." (#3326) ba9f919b chore: get back to work after 2.8.0 931f6644 ci: cancel in-progress on repeated pushes (#3370) f791dc86 fix: deprecate make_simple_namespace, fix Python 3.11 (#3374) 606f81a9 style: drop pycln (#3397) 9379b399 fix: MSVC 2017 C++17 on Python 3 regression (#3407) e7e2c79f fix: improve support for Python 3.11-dev (#3368) 90707b46 fix(build): support conan's multiple includes of all files (#3420) f1594cb9 docs: changelog update for 2.8.1 (#3416) a61e354e docs: touch up manual release suggestion (#3422) aebd21b5 docs: rework CI a bit, more modern skipping (#3424) 270b11d5 Revert "style: drop pycln" (#3466) 72282f75 ci: support development releases of Python (#3419) ff51fcb7 docs: fix broken link (again) 15f8d7c1 fix(build): cleaner CMake printouts & IDE folders (#3479) cd176cee chore: update changelog with recent PRs (#3524) 39fbc799 fix: avoiding usage of _ if already defined (#3423) e50f841d fix: do not use LTS on mips64 and ppc64le (#3557) d4b9f347 docs: update changelog (#3556) cb302305 fix: restore full range of _ functions (#3571) 45f792ef chore: prepare for 2.9 9b4f71d1 docs: remove duplication in changelog for 2.9.0 bf7e5f92 fix(setup): support overriding CMake args (#3577) 21e10945 ci: move centos 8 to stream (#3675) 0f6ad910 docs: update changelog for 2.9.1 (#3670) ffa34686 chore: bump to 2.9.1 36813cfa chore: back to work af056b65 fix: __index__ on Enum should always be present. (#3700) 46dcd9bc fix: minor CMake warning fix for unused variable (#3718) 522c59ce chore: drop Python 3.5 (#3719) a25d40c7 tests: use 'build' in tests instead of running setup.py (#3734) 4b42c371 style: pylint (#3720) 5f9b090a ci: fix PyPy (#3768) 461937d3 ci: test pypy 3.9 (#3789) 7742be02 Revert "ci: test pypy 3.9" (#3828) 42d8593a style: bump black (#3831) Ivor Wanders (1): 21911e12 A way to register additional test targets and support .py only tests. (#3590) JYX (1): 3df0ee6f docs: typo in classes.rst (#2926) Jack S. Hale (1): 4c7697db Add const T to docstring generation. (#3020) James Foster (1): d57c1fab docs: update installing.rst (#2691) Jan Iwaszkiewicz (1): cf006af2 Fix typos and docs style (#3088) Jason Rhinelander (3): e7c9753f feat: allow kw-only args after a py::args (#3402) 673b4be3 Fix py::kw_only when used before the first arg of a method (#3488) b4939fcb Expand std::string_view support to str, bytes, memoryview (#3521) Jean-Baptiste Lespiau (1): af8849f4 docs: list all pybind11 exceptions (#2671) Jeremy Maitin-Shepard (4): 4d5ad03e Avoid use of temporary `bytes` object in string_caster for UTF-8 (#3257) 14976c85 Eliminate duplicate TLS keys for loader_life_support stack (#3275) 2a78abff Ensure PYBIND11_TLS_REPLACE_VALUE evaluates its arguments only once (#3290) 62c4909c Add `custom_type_setup` attribute (#3287) Jerome Robert (4): 1259db6f Fix Pybind11Extension on mingw64 (#2921) 9e8a741b fix: Mingw64 corrected and add a CI job to test it (#3132) c80e0593 fix: Mingw64 corrected and add a CI job to test it (#3132) 56b49c2b ci: fix mingw checks by pinning (#3375) JonTriebenbach (1): 8b1944d3 Remove idioms in code comments (#3809) Jouke Witteveen (1): 031a700d Add make_simple_namespace function and tests (#2840) Karthik Nishanth (1): e791ec4e fix: add null pointer check with std::localtime (#2846) Kumar Aditya (1): 948d09d6 test: Test against Python 3.10 (#2848) Laramie Leavitt (4): 5469c238 Adjusting `type_caster<std::reference_wrapper<T>>` to support const/non-const propagation in `cast_op`. (#2705) 0e599589 Fix thread safety for pybind11 loader_life_support (#3237) b3a43d13 Use rvalue reference for std::variant cast_op<T> (#3811) b22ee64c Add type_caster<std::monostate> (#3818) Liam Keegan (2): 4f29b8a4 ci: extend msys2 mingw CI (#3207) bcb6d63c fix msys ci python issue (#3651) Lishen1 (1): 5d067e87 fix: remove redundant copy operation to fix warning (#3486) Matthias Köppe (1): e0031bfc include/pybind11/numpy.h: gcc 4.8.4 does not have is_trivially_copyable (#3270) Mattia Basaglia (2): 07103d65 Remove extra semicolon (#3666) dc4717ba fix: module extension detection for python 3.10 (#3663) Michael Kuron (1): 48534089 fix: Intel ICC C++17 compatibility (#2729) Michał Górny (2): 1d3b04e8 test: Strip whitespace when comparing numpy dtypes for 1.22 compat (#3682) 96b943be tests: update catch to 2.13.5 to fix glibc 2.34 failures (#3679) NaDDu (1): 750e38dc Update eval.h (#3344) Nick Cullen (2): 59ad1e7d reshape for numpy arrays (#984) 503ff2a6 view for numpy arrays (#987) Nikita Shulga (1): 79cb013f fix: allow users to avoid thread termination in scoped_released (#2657) Nimrod (1): 9ec1128c Fix typo in doc (#3628) Oleksandr Pavlyk (1): 91a6e129 PYBIND11_OBJECT_CVT should use namespace for error_already_set() (#3797) OnlineCop (1): cbae6d55 docs: fix CMake status for DOWNLOAD_EIGEN (#2857) Peter Hawkins (1): 44596bc4 Fix exception handling when pybind11::weakref() fails. (#3739) Philipp Bucher (3): 62976cfc fix: using -Werror-all for Intel (#2948) 71fd5241 docs: fix minor typo (#3311) c9bbf8d2 docs: fix minor typo (#3311) Pieter P (1): 0c93a0f3 Fix Unicode support for ostream redirects (#2982) Qifan Lu (1): d587a2fd fix: do not set docstring for function when empty (#2745) Ralf W. Grosse-Kunstleve (78): cecdfadc minor cleanup: fixing or silencing flake8 errors (#2731) 9b7bfef8 Factoring out find_registered_python_instance() from type_caster_generic::cast. (#2822) 0432ae7c Changing pybind11::str to exclusively hold PyUnicodeObject (#2409) 932769b0 Adding holder_caster `typename SFINAE = void` hooks to help work around the current lack of smart-pointer interoperability (#2833) 0c42250a Splitting out detail/type_caster_base.h from cast.h, with iwyu cleanup. (#2841) e2e819b2 Shuffling code in test_smart_ptr.cpp to separate struct/class definitions from bindings code. Back-porting from smart_holder branch, to minimize diffs and potential for merge conflicts. (#2875) 44678e54 Shuffling code in test_multiple_inheritance.cpp to separate struct/class definitions from bindings code. (#2890) 0e01c243 Generalizing suppression for pypocketfft. (#2896) ad6bf5cd Adding PyGILState_Check() in object_api<>::operator(). (#2919) e25b1505 Adjusting valgrind suppression for pypocketfft to resolve systematic failures that started to appear on 2020-05-27. (#3022) 19d99a87 Working around Centos 8 failure. (#3030) 484b0f04 Updating and slightly enhancing instructions for running clang-tidy. (#3055) fbae8f31 pickle setstate: setattr __dict__ only if not empty (#2972) cad79c11 tests: remove very minor oversight in PR #3059. (#3066) 795e3c4c Removing `AlignConsecutiveAssignments: true`. (#3067) 0ad116d3 Adding codespell to .pre-commit-config.yaml (follow-on to PR #3075). (#3076) 6d1b197b Splitting out pybind11/stl/filesystem.h. (#3077) bac5a0c3 Go all the way fixing clang-tidy issues to avoid the NOLINTNEXTLINE clutter and clang-format issues. This was really meant to be part of PR #3051 but was held back either out of an abundance of caution, or because of confusion caused by stray semicolons. (#3086) 0f4761b4 Rollback of DOWNLOAD_CATCH=OFF change merged via PR #3059. (#3092) 2d468697 NOLINT reduction (#3096) 7472d37a Adding iostream.h thread-safety documentation. (#2995) 9f11951b Fixing spelling errors that went undetected because the pre-commit spell check was added after the CI for PR #2995 last ran. (#3103) 75090647 More precise return_value_policy::automatic documentation. (#2920) aca6c3ba * Removing stray semicolons (discovered by running clang-format v12 followed by tools/check-style.sh). (#3087) 4359e00b Introducing PYBIND11_VERSION_HEX (#3120) 34f587dd Removing all warning pragmas that have not effect. (#3127) ff97f101 Removing MSVC C4996 from pragma block at the top of pybind11.h (#3129) 7904ba1a Adding pragma warning(disable: 4522) for MSVC <= 2017. (#3142) a0f862d4 Removing MSVC C4800 from pragma block at the top of pybind11.h (#3141) 2164c2e0 Removing __INTEL_COMPILER section from pragma block at the top of pybind11.h (#3135) f4721a7b Accommodating environments that define __STDC_WANT_LIB_EXT1__ even if __STDC_LIB_EXT1__ is not defined by the implementation. (#3151) b72ca7d1 Removing MSVC C4100 from pragma block at the top of pybind11.h (#3150) b193d42c Removing MSVC C4996 from pragma block at the top of pybind11.h (#3129) 85b38c69 Adding pragma warning(disable: 4522) for MSVC <= 2017. (#3142) e93d9459 Removing MSVC C4800 from pragma block at the top of pybind11.h (#3141) ed5fb66b Removing __INTEL_COMPILER section from pragma block at the top of pybind11.h (#3135) 05852fb6 Accommodating environments that define __STDC_WANT_LIB_EXT1__ even if __STDC_LIB_EXT1__ is not defined by the implementation. (#3151) b4259729 Limiting pragma for ignoring GCC 7 -Wnoexcept-type to the scope of pybind11.h. (#3161) e2573dc9 Moving pragma for MSVC warning C4505 from pybind11.h to existing list in detail/common.h (#3160) 46c51fc0 Limiting pragma for ignoring GCC 7 -Wnoexcept-type to the scope of pybind11.h. (#3161) b961ac64 Moving pragma for MSVC warning C4505 from pybind11.h to existing list in detail/common.h (#3160) dcbda8d7 Removing MSVC C4127 from pragma block at the top of pybind11.h (#3152) af700733 Removing GCC -Wunused-but-set-parameter from pragma block at the top of pybind11.h (#3164) 61ee923b Consistent step name "Python tests". (#3180) 4c7e509f PYBIND11_NOINLINE-related cleanup. (#3179) 7d3b0571 Improved workaround for Centos 8 failure (follow-on to PR #3030). (#3193) 1bcd94c4 Removing last remnants of pragma block at the top of pybind11.h (#3186) 774b5ff9 Removing obsolete eigen.h warning suppression pragmas. (#3198) 998d45e4 Cleanup of file-scoped and globally-scoped warning suppression pragmas across pybind11 header files. (#3201) c8ce4b8d Clone of @virtuald's PR #2112 with minor enhancements. (#3215) 777352fc Adding `ssize_t_cast` to support passing `size_t` or `ssize_t` values where `ssize_t` is needed. (#3219) a46f6237 Minor tweaks. (#3230) 49173e47 Minor follow-on to PR #1334 (Fix enum value's __int__ returning non-int when underlying type is bool or of char type) (#3232) 6abf2baa CodeHealth: Enabling clang-tidy google-explicit-constructor (#3250) 121b91f9 Fixing NOLINT mishap (#3260) 6c65ab59 Follow-on to PR #3254, to address user code breakages. (#3263) 9f146a56 All `-DDOWNLOAD_EIGEN=OFF` (to work around gitlab eigen outage). 7c580586 Correct options on Eigen::MappedSparseMatrix & adding MSVC C4127 suppression around Eigen includes. (#3352) f7b49961 [skip ci] Tweaks in preparation for the 2.8.1 release. (#3421) a80b2237 chore: get back to work after 2.8.1 9281faf4 Fixing `stict` vs `strict` typo. (#3493) b3d9c354 vi: replacing currently broken ICC Latest C++17 with C++14. (#3551) 1bbaeb34 Adding dedicated test_const_name. (#3578) f5888108 Replacing ICC C++14 with C++17 (#3570) 7e7c5585 Fixing obvious minor typo (missing `D` in `-DOWNLOAD_EIGEN=ON`). 3899dc65 Documenting missing unit test coverage. (#3673) 8581584e Manual fix-ups in preparation for clang-tidy readability-braces-around-statements. ddbc74c6 Adding .clang-tidy readability-braces-around-statements option. b4f5350d chore: use member initializer (#3704) 7769e771 clang-tidy readability-qualified-auto (#3702) abc38690 Manually applying two clang-format changes that need fix-ups for clang-tidy. (#3705) e96221be Final manual curation in preparation for global `clang-format`ing (#3712) ec24786e Fully-automatic clang-format with include reordering (#3713) 6493f496 Python 2 removal part 1: tests (C++ code is intentionally ~untouched) (#3688) 44156477 Adding MSVC 2022 C++20 GitHub Action (#3732) a97e9d8c Dropping MSVC 2015 (#3722) c14170a7 Removing `// clang-format off` - `on` directives from test_pickling.cpp (#3738) 009ffc33 MSVC C++20 test_eigen (#3741) Rasmus Munk Larsen (1): 70a58c57 Replace usage of deprecated Eigen class MappedSparseMatrix. (#3499) Robert Haschke (4): b72cebeb style: clang-tidy: modernize-use-using (#2645) d9fa7056 style: remove redundant instance->owned = true (#2723) c2db53da fix: catch missing self argument in overloads constructor (#2914) c090c8c4 Unify cast_error message thrown by [simple|unpacking]_collector (#3013) Robert Schütz (1): d00fc629 use CMAKE_INSTALL_FULL_INCLUDEDIR (#3005) Ryan Cahoon (1): c2d3e220 fix: the types for return_value_policy_override in optional_caster (#3376) Sebastian Koslowski (1): 94a94872 docs: fix imported target name (#3689) Sergei Izmailov (1): 51948559 Render `py::bool_` and `py::float_` without `_` in docstrings (#3622) Sergiu Deitsch (1): d2b21316 cmake: report version type in the version string (#3472) Shane Loretz (1): 7331d381 Raise codec errors when casting to std::string (#2903) StarQTius (1): 9aa676d3 fix: clear local internals after finalizing interpreter #2101 (#3744) Stefano Rivera (1): 465b2e0b Use sysconfig in Python >= 3.10 (#3764) Steve Siano (1): 6f66e760 docs: add a note about compiling the example (#2737) Tailing Yuan (1): d6474ed7 fix: memory leak in cpp_function (#3228) (#3229) Tamaki Nishino (1): 6709abba Allow function pointer extraction from overloaded functions (#2944) Thomas Ballinger (1): 39a0aac8 docs fix to avoid nonexistent SmartCompile (#3241) Tobias Leibner (1): 7bd4b397 fix: define PYBIND11_CPP14 for recent intel compilers (#2679) Tom de Geus (1): 9c0aa699 Pointing out namespace in docs (#2874) Trigve (1): afdc09de [master] Wrong caching of overrides (#3465) Vikram Pal (1): 417067ee Add pybind11::bytearray (#2799) Weiming Zhao (1): 4f0727f2 Fix the enabling of default extension handling (#2938) Wenzel Jakob (1): 409be833 CMake: react to python version changes Yannick Jadoul (19): 7d6713a4 Use weakref to clean up captured function object in def_buffer (#2634) c58758d0 fix: add reasonable argument names to enum_ methods (#2637) 028812ae docs: add warning about FindPython's Development component when libraries don't exist (e.g. on manylinux) (#2689) 91a69720 docs: Update warning about Python 3.9.0 UB, now that 3.9.1 has been released (#2719) 30eb39ed fix: also throw in the move-constructor added by the PYBIND11_OBJECT macro, after the argument has been moved-out (if necessary) (#2701) 830f8eda tests: update pytest 6.2.1 and fix test_python_alreadyset_in_destructor (#2741) e612043d Fix invalid access when reinterpret_casting a non-pybind11 PyObject* to instance* (found by Valgrind in #2746) (#2755) e57dd471 Fix various minor memory leaks in the tests (found by Valgrind in #2746) (#2758) 98f1bbb8 Ignore deprecation warnings about old-style __init__/__setstate__ constructors in the tests (originally done in #2746) (#2759) 7b7ec664 ci: pin CMake to 3.19.2, fixes issues with 3.19.3 on Linux (aarch64) and macOS (universal) (#2790) f243450e ci: disable builds for 3.10.0a4, and enable a nightly 3.10-dev build (#2792) 1faf4a8a docs: the order of alternatives for variant types matters, and follows the same rules as overload resolution (#2784) 08551463 Plug leaking function_records in cpp_function initialization in case of exceptions (found by Valgrind in #2746) (#2756) 0f8d5f2e Add a Valgrind build on debug Python 3.9 (#2746) 8449a808 fix: only allow integer type_caster to call __int__ method when conversion is allowed; always call __index__ (#2698) 0bb8ca26 Always call PyNumber_Index when casting from Python to a C++ integral type, also pre-3.8 (#2801) 587d5f84 Update breathe to 4.26.1, add make_tuple, make_iterator, and make_key_iterator (#2828) 6cf6bf20 Fix confusing weakref constructor overload (#2832) fe845878 Make sure all warnings in pytest get turned into errors (#2838) Ye Zhihao (1): cb60ed49 Fix enum value's __int__ returning non-int when underlying type is bool or of char type (#1334) Yichen (1): 3ac690b8 Explicitly export exception types. (#2999) albanD (1): 087b07c8 Remove workaround code that is not needed since #1211 (#2683) blacktea (1): 6d5d4e73 Move object in pop method of List. (#3116) crimsoncor (1): 9ea39dc3 Force the builtin module key to be the correct type. (#2814) cyy (1): f067deb5 avoid unnecessary strlen (#3058) dependabot[bot] (14): 42e73807 chore(deps): bump jwlawson/actions-setup-cmake from v1.6 to v1.7 (#2818) c2362393 chore(deps): bump pypa/gh-action-pypi-publish from v1.4.1 to v1.4.2 (#2851) 59f8d7f1 chore(deps): bump jwlawson/actions-setup-cmake from v1.7 to v1.8 (#2865) 16c23fef chore(deps): bump pre-commit/action from v2.0.0 to v2.0.2 (#2935) bca4b36b chore(deps): bump pre-commit/action from v2.0.2 to v2.0.3 (#2964) bc7cf6ef chore(deps): bump jwlawson/actions-setup-cmake from 1.8 to 1.9 (#3000) f61855b9 chore(deps): bump ilammy/msvc-dev-cmd from 1 to 1.8.0 (#3001) 14023c9c chore(deps): bump ilammy/msvc-dev-cmd from 1.8.0 to 1.8.1 (#3021) 9b3b3577 chore(deps): bump ilammy/msvc-dev-cmd from 1.8.1 to 1.9.0 (#3027) d6841f60 chore(deps): bump jwlawson/actions-setup-cmake from 1.9 to 1.10 (#3196) 1dc9a23c chore(deps): bump jwlawson/actions-setup-cmake from 1.10 to 1.11 (#3294) ed09664f chore(deps): bump ilammy/msvc-dev-cmd from 1.9.0 to 1.10.0 (#3338) fb9a222d chore(deps): bump pypa/gh-action-pypi-publish from 1.4.2 to 1.5.0 (#3606) 3a1eddab chore(deps): bump jwlawson/actions-setup-cmake from 1.11 to 1.12 (#3625) heyer2 (1): 76a16007 fix: STATIC and SHARED flags not being detected (#2796) jakobjw (1): 98f9a33c Correct typo in FAQ (#2868) jbarlow83 (2): 79178e71 fix(setup_helpers): try import multiprocessing.synchronize too (#3043) 2b7985e5 Improve documentation of discard_as_unraisable() API (#2697) jesse-sony (1): d65edfb0 Feature/local exception translator (#2650) jonathan-conder-sm (1): 733f8de2 Avoid string copy if possible when passing a Python object to std::ostream (#3042) ka-bo (2): e58c6897 Specified encoding in setup.py calls of open() (#3137) ee3ecb8a Specified encoding in setup.py calls of open() (#3137) kururu002 (1): da15bb20 Cast bytearray to string (#3707) luzpaz (1): 8bee61b6 docs: fix various typos (#3075) mvoelkle-cern (1): e08a5811 Fix compilation with gcc < 5 (#2956) ngc92 (1): 56322daf fixed include for filesystem::path (#3482) nickbridgechess (1): 2fa4747c pythonbuf fix (#2675) pre-commit-ci[bot] (28): 9626483c [pre-commit.ci] pre-commit autoupdate (#3134) 7f76d795 [pre-commit.ci] pre-commit autoupdate (#3143) c973660d [pre-commit.ci] pre-commit autoupdate (#3143) f4f4632e [pre-commit.ci] pre-commit autoupdate (#3167) ada6b791 [pre-commit.ci] pre-commit autoupdate (#3167) 0be2ea06 [pre-commit.ci] pre-commit autoupdate (#3185) b3d18f38 [pre-commit.ci] pre-commit autoupdate (#3213) 76d939de [pre-commit.ci] pre-commit autoupdate (#3231) 3ed31e92 [pre-commit.ci] pre-commit autoupdate (#3266) 077a16e9 [pre-commit.ci] pre-commit autoupdate (#3286) 6be64304 [pre-commit.ci] pre-commit autoupdate (#3312) 97976c16 [pre-commit.ci] pre-commit autoupdate (#3325) 02c05573 [pre-commit.ci] pre-commit autoupdate (#3353) d45a8810 [pre-commit.ci] pre-commit autoupdate (#3409) 6de30d31 [pre-commit.ci] pre-commit autoupdate (#3432) b322018e [pre-commit.ci] pre-commit autoupdate (#3449) 9422d98f [pre-commit.ci] pre-commit autoupdate (#3473) fe65693c [pre-commit.ci] pre-commit autoupdate (#3500) 59aa9986 [pre-commit.ci] pre-commit autoupdate (#3533) d0406c74 [pre-commit.ci] pre-commit autoupdate (#3563) 89769e6e [pre-commit.ci] pre-commit autoupdate (#3574) 2cd32e5d [pre-commit.ci] pre-commit autoupdate (#3589) b66328b0 [pre-commit.ci] pre-commit autoupdate (#3609) 0986af61 [pre-commit.ci] pre-commit autoupdate (#3672) 91f597be [pre-commit.ci] pre-commit autoupdate (#3754) 061c6177 [pre-commit.ci] pre-commit autoupdate (#3765) f8a532a7 [pre-commit.ci] pre-commit autoupdate (#3800) 67089cd3 [pre-commit.ci] pre-commit autoupdate (#3817) xaedes (1): b4e1ab8c Docs: Demonstrate non-enum internal types in example (#3314) yangliz5 (1): dedda228 Fix a typo in class.rst (#3648)
- Loading branch information