- 26 Aug, 2020 1 commit
-
-
Yannick Jadoul authored
tests: fix CI by including <algorithm> to stop MSVC from complaining about std::count_if in tests/test_sequences_and_iterators.cpp (#2435)
-
- 25 Aug, 2020 1 commit
-
-
Yannick Jadoul authored
Throw exception on returning a unique_ptr or shared_ptr nullptr (or any other holder type) from py::init, rather than crashing (#2430)
-
- 20 Aug, 2020 1 commit
-
-
Henry Schreiner authored
-
- 19 Aug, 2020 2 commits
-
-
Henry Schreiner authored
* tests: keep source dir clean * ci: make first build inplace * ci: drop dev setting (wasn't doing anything) * tests: warn if source directory is dirty
-
Henry Schreiner authored
* feat: FindPython support * refactor: rename to PYBIND11_FINDPYTHON * docs: Caps fixes * feat: NOPYTHON mode * test: check simple call * docs: add changelog/upgrade guide * feat: Support Python3 and Python2 * refactor: Use targets in tests * fix: support CMake 3.4+ * feat: classic search also finds virtual environments * docs: some updates from @wjakob's review * fix: wrong name for QUIET mode variable, reported by @skoslowski * refactor: cleaner output messaging * fix: support debug Python's in FindPython mode too * fixup! refactor: cleaner output messaging * fix: missing pybind11_FOUND and pybind11_INCLUDE_DIR restored to subdir mode * fix: nicer reporting of Python / PyPy * fix: out-of-order variable fix * docs: minor last-minute cleanup
-
- 18 Aug, 2020 1 commit
-
-
Henry Schreiner authored
* fix: throwing repr caused a segfault * fixup! ci: include Python 3.9 RC1 (#2387)
-
- 17 Aug, 2020 1 commit
-
-
Henry Schreiner authored
* docs: move helpers to .github where allowed * docs: more guidelines in CONTRIBUTING * chore: update issue templates * fix: review from @bstaletic * refactor: a few points from @rwgk * docs: more touchup, review changes
-
- 16 Aug, 2020 3 commits
-
-
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.
-
Henry Schreiner authored
-
- 14 Aug, 2020 2 commits
-
-
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
Fix logic in test_bytes_to_string Co-authored-by:Henry Schreiner <henryschreineriii@gmail.com>
-
- 13 Aug, 2020 1 commit
-
-
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
-
- 12 Aug, 2020 2 commits
-
-
Henry Schreiner authored
-
Henry Schreiner authored
-
- 11 Aug, 2020 1 commit
-
-
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`.
-
- 06 Aug, 2020 2 commits
-
-
Henry Schreiner authored
-
Henry Schreiner authored
-
- 04 Aug, 2020 1 commit
-
-
Yannick Jadoul authored
* Enable py::ellipsis on Python 2 * Enable py::ellipsis tests on Python 2 and mention `Ellipsis` in the docs
-
- 01 Aug, 2020 1 commit
-
-
jbarlow83 authored
Fixes issue #1878
-
- 31 Jul, 2020 3 commits
-
-
Henry Schreiner authored
-
Henry Schreiner authored
-
Henry Schreiner authored
fix: include PYTHON_IS_DEBUG
-
- 28 Jul, 2020 4 commits
-
-
Marcin Wojdyr authored
-
Henry Schreiner authored
-
Henry Schreiner authored
-
Henry Schreiner authored
-
- 26 Jul, 2020 5 commits
-
-
Sergei Izmailov authored
fixes #2191
-
Henry Schreiner authored
-
Henry Schreiner authored
-
Henry Schreiner authored
-
Henry Schreiner authored
-
- 24 Jul, 2020 1 commit
-
-
Boris Staletic authored
If the default argument value is a class, and not an instance of a class, `a.value.attr("__repr__")` raises a `ValueError`. Switching to `repr(a.value)` makes this use case work. Fixes #2028
-
- 23 Jul, 2020 5 commits
-
-
Henry Schreiner authored
Adds requirements file too.
-
Henry Schreiner authored
-
Henry Schreiner authored
-
Henry Schreiner authored
-
Henry Schreiner authored
-
- 22 Jul, 2020 1 commit
-
-
Ralf W. Grosse-Kunstleve authored
Tested with 2.7.18rc1, built with Py_UNICODE_SIZE 4. Change also tested with Python 3.8.
-
- 20 Jul, 2020 1 commit
-
-
Henry Schreiner authored
-