Commit 62e790d
committed
Squashed 'pybind11/' changes from 441e777..d3c999c
d3c999c fix: rename `pybind11::module` to `pybind11::module_` (#2489)
e37921d refactor: drop mkdoc and update changelog (#2491)
fd61f50 feat: setup.py redesign and helpers (#2433)
41aa926 refactor: replace .get_type with type::handle_of (#2492)
a4cee36 Add vcpkg installation instructions (#1936)
dabbbf3 fix: use OVERRIDE instead of OVERLOAD (#2490)
16f199f Change base parameter type in register_exception and exception constructor from PyObject* to handle (#2467)
e7bafc8 style: clang-tidy: default checks and fix bug in iostream deconstruction
4d78640 style: clang-tidy: modernize-use-emplace
ce88e94 style: clang-tidy: modernize-use-auto
b491b46 style: clang-tidy: modernize-use-equals-default
b342c37 style: clang-tidy: modernize-use-using
96e6a8d style: clang-tidy: readability-container-size-empty
5dfbe6f style: clang-tidy: modernize-use-override
8dc31c7 style: clang-tidy: llvm-namespace-comment
d65e34d Resolve empty statement warning when using PYBIND11_OVERLOAD_PURE_NAME and PYBIND11_OVERLOAD_PURE (#2325)
9df1383 Stop py::array_t arguments from accepting arrays that do not match the C- or F-contiguity flags (#2484)
f12ec00 feat: py::type::of<T>() and py::type::of(h) (#2364)
32bb907 Avoid C-style casts for pointers in docs (#2487)
cc982ac fix: allow assignment of time points of resolutions other than that of a system clock (#2481)
38370a8 fix: support NVIDIA-PGI HPC SDK (#2475)
fe9ee86 Add check if `str(handle)` correctly converted the object, and throw py::error_already_set if not (bis) (#2477)
b47efd3 Use defined for some preprocessor variables that might be undefined (#2476)
621906b fix: support nvcc and test (#2461)
fbc7563 Add py::object casting example to embedding docs (#2466)
37f845a ci: disallow some common capitalization mistakes (#2472)
064a03a main CMakeLists.txt file: be less noisy
36c666f pybind11_add_module(): OPT_SIZE target
3bd0d7a Add note about specifying custom base class for Exceptions. (#2465)
ce1a07e fix: use classic extension handling unless otherwise requested (#2462)
0dbda6e feat: py::pos_only (#2459)
44fa79c pytypes: Add Gotchas section about default-constructed wrapper types and py::none() (#2362)
72b06b8 ci: Eigen moved
4c36fb7 [DOC] avoid C++ types in docstrings (#2441)
3a89bff ci: harden chrono test, mark another macos 4.9 dev failure (#2448)
fb0a3a0 Fix broken README link (#2449)
3c061f2 Fixing `pybind11::bytes()` ambiguous conversion issue.
6a19278 Fix bug roundtripping datetime.time objects after midnight in eastern hemisphere timezones (#2417) (#2438)
1abc4a9 fix: doc typo, drop second use of 'without' (#2439)
9b8cb02 fix: respect PYTHON_VERSION if set in classic mode (#2414)
03b3d59 tests: fix CI by including <algorithm> to stop MSVC from complaining about std::count_if in tests/test_sequences_and_iterators.cpp (#2435)
a2bb297 Throw exception on returning a unique_ptr or shared_ptr nullptr (or any other holder type) from py::init, rather than crashing (#2430)
5b59b7b ci: gha annotations (#2427)
43f390a Add note that VS2017 requires /permissive- to build in C++17 mode (#2431)
b3d8fec Adapt code example in advanced/classes.rst to new handling of forgetting to call the superclass __init__ (#2429)
4493751 Fix new-style __init__ usage in numpy docs (#2426)
b886369 Improve documentation of Python and C++ exceptions (#2408)
c58f7b7 fix: reduce target collision in add_submodule mode (#2423)
56df3c4 fix: a couple more places where pybind11 is missing 11 (#2421)
d4d7ef5 Update pybind11Tools.cmake (#2419)
f31df73 docs: move CONTRIBUTING (#2402)
2fa1843 docs: pin versions for readthedocs
a6887b6 docs: update changelog and versionadded
110e6c1 ci: reduce flakiness a little (#2418)
24dffe4 fix: PYBIND11_MASTER_PROJECT always ON (#2412)
04fdc44 tests: avoid putting build products into source directory (#2353)
1729aae feat: new FindPython support (#2370)
69821d9 Disable testing when using BUILD_TESTING (#1682)
cf0a645 fix: throwing repr caused a segfault (#2389)
7dd2bdb docs: fix typo (#2405)
6404099 docs: contrib/issue templates (#2377)
4d9024e tests: cleanup and ci hardening (#2397)
3618bea Add and document py::error_already_set::discard_as_unraisable()
a876aac tests: loosen test, not valid on some systems (#2399)
cd85699 Using recently added `pytest.PY2` instead of `str is bytes`. (#2396)
5a3ff72 ci: Remove "Setup Boost (macOS)" step (#2395)
ebdd0d3 tests: Consolidate version (2 vs. 3) and platform (CPython vs. PyPy) checks (#2376)
cba4a98 ci: include Boost (#2393)
fb042d6 Fix warning C26817 on copying in `for (auto vh : value_and_holder(...))` (#2382)
2e2de8c fix: add missing signature (#2363)
830adda Modified Vector STL bind initialization from a buffer type with optimization for simple arrays (#2298)
1534e17 ci: include Python 3.9 RC1 (#2387)
f7abac6 fix: boost's include dir was listed first (#2384)
1732046 Adding tests specifically to exercise pybind11::str::raw_str. (#2366)
6f3470f Add robotpy-build to list of tools (#2359)
0af7fe6 fix: typo in pybind11_add_module (#2374)
227170d fix: better handling of PYBIND11_CPP_STANDARD
c664d55 ci: better output / more config
ed6de12 format: include .in files
da803eb fix: duplicate target names removed
df11597 chore: cleanup
3e448c0 Enable py::ellipsis on Python 2 (#2360)
1caf1d0 fix: check list validity and add missing file (#2352)
4d90f1a Add error_scope to py::class_::dealloc() to protect destructor calls (#2342)
b804724 fix: uninstall cleanup (#2346)
6f6e939 feat: add uninstall target for CMake (#2265)
94db5c5 format: apply cmake-format
e2a9689 format: add cmake-format to pre-commit
1651c32 update: address review points
f64d5aa fix: typo for warning on C++17, support Win + 2.7
1b92cd1 fix: address review points from @YannickJadoul
6ec1775 feat: drop CMake 3.6 and below, modernize CMake
1491c94 ci: cmake Configure test (#2327)
8e40e38 cast pointer to std::tuple and std::pair (#2334)
c51b3f4 ci: change caching
a632486 ci: Windows 2016 test
88b3e5c ci: nicer naming scheme
ff39ad3 ci: include scipy for tests
249a13b ci: move docs check to GHA
e450ea0 ci: add docker build to GHA
2fbbd51 ci: add gcc
2ee1bcd ci: add GHA badge
1b880df ci: download EIGEN
9521bc5 ci: drop parts from Travis
7806905 ci: trim down Appveyor
7b067cc Set __hash__ to None for types that defines __eq__, but not __hash__ (#2291)
aab7013 ci: cache, build wheels on macOS PyPy3
5927c58 chore: update Catch
4470671 fix: too many braces on clang 3.6
1f53c37 fix: C++17 mode on Clang may error
e428a7f ci: fix clang warnings
6a80171 ci: Add clang builds & C++17
7e0a4fb Fix for #2168 (#2299)
2819ce6 Avoid attr("__repr__") in initialize_generic (#2317)
6f3e5e3 ci: keep travis from running twice
5c936d4 refactor: issue fixed upstream
8b0ccf7 style: adding pre-commit check-style.sh
b16347e ci: enable GHA testing
73dc978 style: avoid adding virtual environment directories
a59c6de test: allow MSVC/Xcode to run the embed test
49007b7 test: fix warning/error on Python 2 in 14/17 mode
3d20b73 test: pass through C++ std for cmake test
ef057f1 test: support pypy2 7.3
134a2ec Add `.git` suffix to URL because only GitHub itself works without it. (#2319)
git-subtree-dir: pybind11
git-subtree-split: d3c999c774d15602eabe4141c2b29788d72dfcf31 parent 0c6fe6d commit 62e790d
File tree
145 files changed
+6247
-2413
lines changed- .github
- ISSUE_TEMPLATE
- workflows
- docs
- advanced
- cast
- pycpp
- include/pybind11
- detail
- pybind11
- tests
- extra_python_package
- extra_setuptools
- test_cmake_build
- installed_embed
- installed_function
- installed_target
- subdirectory_embed
- subdirectory_function
- subdirectory_target
- test_embed
- tools
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
145 files changed
+6247
-2413
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | 3 | | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
10 | | - | |
11 | 9 | | |
12 | 10 | | |
13 | 11 | | |
14 | 12 | | |
15 | | - | |
16 | 13 | | |
17 | 14 | | |
18 | | - | |
19 | 15 | | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | 16 | | |
33 | 17 | | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
55 | 23 | | |
56 | | - | |
57 | | - | |
58 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
59 | 27 | | |
60 | 28 | | |
61 | | - | |
| 29 | + | |
62 | 30 | | |
63 | 31 | | |
64 | 32 | | |
65 | 33 | | |
66 | 34 | | |
67 | 35 | | |
68 | 36 | | |
69 | | - | |
70 | 37 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
0 commit comments