- 21 Oct, 2020 3 commits
-
-
Wenzel Jakob committed
-
Wenzel Jakob committed
-
This line had two bugs: 1. It declares `py::detail::class_` as `friend`. 2. After fixing that, we would have to change it to `template <typename, typename...>` The first one was introduced ~5 years ago, when a large refactoring was made, probably as an intermediate step during refactoring. The second was made when `generic_type` was made to be agnostic with respect to the order of `py::class_` template parameters. We're removing the declaration altogether, because it was never relied on. This is what makes me think that it was an intermediate step in refactoring that shouldn't have ended up in commit history.
Boris Staletic committed
-
- 20 Oct, 2020 3 commits
-
-
* demo kwarg with none(false) * Reorder and extend tests for arg::none(false) in test_methods_and_attributes.py::test_accepts_none * Fix arg::none() for keyword arguments * Add changelog note * Fix names of no_none_kw test functions Co-authored-by: Yannick Jadoul <yannick.jadoul@belgacom.net>
Mana Borwornpadungkitti committed -
Wenzel Jakob committed
-
Wenzel Jakob committed
-
- 19 Oct, 2020 2 commits
-
-
Henry Schreiner committed
-
* tests/CMakeLists: Robustify against add'l versions of Boost * refactor: simpler impl Co-authored-by: Henry Schreiner <henryschreineriii@gmail.com>
Eric Cousineau committed
-
- 18 Oct, 2020 3 commits
-
-
* fix: chapters in PDF again * fix: sections in README
Henry Schreiner committed -
Dariusz Suchojad committed
-
* docs: fix PDF build by adding unicode mappings * fix: better PDF * fix: html build issue
Henry Schreiner committed
-
- 16 Oct, 2020 4 commits
-
-
Henry Schreiner committed
-
Henry Schreiner committed
-
* Demonstrate test_factory_constructors.py failure without functional changes from #2335 * Revert "Demonstrate test_factory_constructors.py failure without functional changes from #2335" This reverts commit ca33a8021fc2a3617c3356b188796528f4594419. * Fix test crash where registered Python type gets garbage collected * Clean up some more internal structures when class objects go out of scope * Reduce length of std::erase_if-in-C++20 comment * Clean up code for cleaning up type internals * Move cleaning up of type info in internals to tp_dealloc on pybind11_metaclass
Yannick Jadoul committed -
* style: use Black everywhere * style: minor touchup from review
Henry Schreiner committed
-
- 15 Oct, 2020 9 commits
-
-
Henry Schreiner committed
-
Henry Schreiner committed
-
Henry Schreiner committed
-
Henry Schreiner committed
-
Henry Schreiner committed
-
Henry Schreiner committed
-
Henry Schreiner committed
-
Henry Schreiner committed
-
Henry Schreiner committed
-
- 14 Oct, 2020 5 commits
-
-
Henry Schreiner committed
-
* Check if valgrind-detected after-freeing access of PyMethodDef causes macOS Python 3.9 segfaults * fix: only apply leak on 3.9.0 * fix: faster check * fix: better naming thanks to @bstaletic Co-authored-by: Henry Schreiner <henryschreineriii@gmail.com>
Yannick Jadoul committed -
* feat: basic typing support * docs: mention syncing as suggested by @rwgk * docs: update changelog * docs: copy of warning in limitations
Henry Schreiner committed -
* fix: ipo should be off for debug or relwithdebinfo Closes #2587 * docs: slightly more detailed about IPO * Update pybind11Common.cmake
Henry Schreiner committed -
Valentin Boettcher committed
-
- 13 Oct, 2020 8 commits
-
-
Henry Schreiner committed
-
Fix minor bug in `_add_lflags` that allows a flag to be added more than once.
Jay Soffian committed -
* docs: some final 2.6.0 updates * docs: better warning text
Henry Schreiner committed -
Henry Schreiner committed
-
Closes #2571; this is defined to share, and unlike DATADIR, is not sometimes overwritten incorrectly for storing CMake files.
Henry Schreiner committed -
Henry Schreiner committed
-
* Throw error_already_set in py::len on failing PyObject_Length * Fix tests to mach error message on PyPy
Yannick Jadoul committed -
Henry Schreiner committed
-
- 12 Oct, 2020 3 commits
-
-
Shorten PYBIND11_EMBEDDED_MODULE macro implementation by using PYBIND11_CATCH_INIT_EXCEPTIONS (#2579)
Yannick Jadoul committed -
Henry Schreiner committed
-
* fix: Intel 18+ fully supported * fix: Intel compiler workaround no longer needed Followup on #94 now that Intel 18+ is required.
Henry Schreiner committed
-