1. Aug 26, 2020
  2. Aug 25, 2020
  3. Aug 24, 2020
  4. Aug 23, 2020
    • jbarlow83's avatar
      Improve documentation of Python and C++ exceptions (#2408) · b8863698
      jbarlow83 authored
      The main change is to treat error_already_set as a separate category
      of exception that arises in different circumstances and needs to be
      handled differently. The asymmetry between Python and C++ exceptions
      is further emphasized.
      b8863698
  5. Aug 22, 2020
  6. Aug 21, 2020
  7. Aug 20, 2020
    • Henry Schreiner's avatar
      ci: reduce flakiness a little (#2418) · 110e6c12
      Henry Schreiner authored
      110e6c12
    • Henry Schreiner's avatar
      24dffe46
    • Henry Schreiner's avatar
      tests: avoid putting build products into source directory (#2353) · 04fdc44f
      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
      04fdc44f
    • Henry Schreiner's avatar
      feat: new FindPython support (#2370) · 1729aae9
      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
      1729aae9
  8. Aug 18, 2020
  9. Aug 17, 2020
    • Henry Schreiner's avatar
      docs: contrib/issue templates (#2377) · 64040997
      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
      64040997
    • Henry Schreiner's avatar
      tests: cleanup and ci hardening (#2397) · 4d9024ec
      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
      4d9024ec
    • James R. Barlow's avatar
      Add and document py::error_already_set::discard_as_unraisable() · 3618bea2
      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.
      3618bea2
  10. Aug 16, 2020
  11. Aug 15, 2020
  12. Aug 14, 2020
    • Henry Schreiner's avatar
      fix: add missing signature (#2363) · 2e2de8c8
      Henry Schreiner authored
      * fix: add missing signature
      
      * fix: add to array_t too
      2e2de8c8
    • marc-chiesa's avatar
      Modified Vector STL bind initialization from a buffer type with optimization... · 830adda8
      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
      830adda8
  13. Aug 13, 2020
  14. Aug 12, 2020
  15. Aug 11, 2020
  16. Aug 09, 2020
  17. Aug 06, 2020