- Aug 17, 2020
-
-
Henry Schreiner authored
* tests: refactor and cleanup * refactor: more consistent * tests: vendor six * tests: more xfails, nicer system * tests: simplify to info * tests: suggestions from @YannickJadoul and @bstaletic * tests: restore some pypy tests that now pass * tests: rename info to env * tests: strict False/True * tests: drop explicit strict=True again * tests: reduce minimum PyTest to 3.1
-
James R. Barlow authored
To deal with exceptions that hit destructors or other noexcept functions. Includes fixes to support Python 2.7 and extends documentation on error handling. @virtuald and @YannickJadoul both contributed to this PR.
-
- Aug 16, 2020
-
-
Henry Schreiner authored
-
- Aug 15, 2020
-
-
Ralf W. Grosse-Kunstleve authored
Important gain: uniformity & therefore easier cleanup when we drop PY2 support. Very slight loss: it was nice to have `str is bytes` as a reminder in this specific context.
-
Eric Cousineau authored
-
Eric Cousineau authored
Fix logic in test_bytes_to_string Co-authored-by:Henry Schreiner <henryschreineriii@gmail.com>
-
Henry Schreiner authored
-
Michael Goulding authored
* Fix warning C26817: Potentially expensive copy of variable 'vh' in range-for loop. Consider making it a const reference (es.71). * Replace another instance of `for (auto vh : values_and_holders(...))` with `auto vh &` (found by @bstaletic) Co-authored-by:
Michael Goulding <Michael.Goulding@microsoft.com> Co-authored-by:
Yannick Jadoul <yannick.jadoul@belgacom.net>
-
- Aug 14, 2020
-
-
Henry Schreiner authored
* fix: add missing signature * fix: add to array_t too
-
marc-chiesa authored
Modified Vector STL bind initialization from a buffer type with optimization for simple arrays (#2298) * Modified Vector STL bind initialization from a buffer type with optimization for simple arrays * Add subtests to demonstrate processing Python buffer protocol objects with step > 1 * Fixed memoryview step test to only run on Python 3+ * Modified Vector constructor from buffer to return by value for readability
-
- Aug 13, 2020
-
-
Henry Schreiner authored
-
- Aug 12, 2020
-
-
Henry Schreiner authored
-
- Aug 11, 2020
-
-
Ralf W. Grosse-Kunstleve authored
These tests will also alert us to any behavior changes across Python and PyPy versions. Hardening tests in preparation for changing `pybind11::str` to only hold `PyUnicodeObject` (NOT also `bytes`). Note that this test exposes that `pybind11::str` can also hold `bytes`.
-
Dustin Spicuzza authored
-
- Aug 09, 2020
-
-
Henry Schreiner authored
-
- Aug 06, 2020
-
-
Henry Schreiner authored
-
Henry Schreiner authored
-
Henry Schreiner authored
-
Henry Schreiner authored
-
Henry Schreiner authored
-
- Aug 04, 2020
-
-
Yannick Jadoul authored
* Enable py::ellipsis on Python 2 * Enable py::ellipsis tests on Python 2 and mention `Ellipsis` in the docs
-
- Aug 02, 2020
-
-
Henry Schreiner authored
Added a check on CMake 3.12+ to make sure the file listing is up to date. And caught a missing file with it!
-
- Aug 01, 2020
-
-
jbarlow83 authored
Fixes issue #1878
-
- Jul 31, 2020
-
-
Henry Schreiner authored
-
acxz authored
* add uninstall target for cmake * only add target when built as master project Co-authored-by:
Henry Schreiner <HenrySchreinerIII@gmail.com> Co-authored-by:
Henry Schreiner <HenrySchreinerIII@gmail.com>
-
Henry Schreiner authored
-
Henry Schreiner authored
-
Henry Schreiner authored
-
Henry Schreiner authored
-
Henry Schreiner authored
-
Henry Schreiner authored
fix: include PYTHON_IS_DEBUG
-
- Jul 29, 2020
-
-
Henry Schreiner authored
-
Marcin Wojdyr authored
-
- Jul 28, 2020
-
-
Henry Schreiner authored
-
Henry Schreiner authored
-
Henry Schreiner authored
-
Henry Schreiner authored
-
Henry Schreiner authored
-
Henry Schreiner authored
-
Henry Schreiner authored
-