1. 27 Sep, 2020 1 commit
    • Ralf W. Grosse-Kunstleve's avatar
      static allocation for PyModuleDef, to avoid leak check errors. (#2413) · d159a563
      Ralf W. Grosse-Kunstleve authored
      * Initializing PyModuleDef object with PyModuleDef_HEAD_INIT.
      
      Python 3.8 documentation: m_base - Always initialize this member to PyModuleDef_HEAD_INIT.
      
      Long-standing (since first github commit in 2015), inconsequential bug.
      
      Also removing inconsequential Py_INCREF(def): PyModule_Create() resets the reference count to 1.
      
      * git rebase master
      
      * moving static PyModuleDef declaration to global scope, as requested by @wjakob
      
      * renaming the two new macros, to start with PYBIND11_DETAIL_MODULE
      d159a563
  2. 22 Sep, 2020 2 commits
  3. 21 Sep, 2020 1 commit
  4. 19 Sep, 2020 3 commits
  5. 18 Sep, 2020 3 commits
  6. 17 Sep, 2020 8 commits
  7. 16 Sep, 2020 5 commits
  8. 15 Sep, 2020 12 commits
  9. 14 Sep, 2020 2 commits
  10. 13 Sep, 2020 1 commit
  11. 12 Sep, 2020 1 commit
    • andriish's avatar
      fix: support NVIDIA-PGI HPC SDK (#2475) · 38370a87
      andriish authored
      
      
      * Added guards to the includes
      
      Added new CI config
      
      Added new trigger
      
      Changed CI workflow name
      
      Debug CI
      
      Debug CI
      
      Debug CI
      
      Debug CI
      
      Added flags fro PGI
      
      Disable Eigen
      
      Removed tests that fail
      
      Uncomment lines
      
      * fix: missing include
      
      fix: minor style cleanup
      
      tests: support skipping
      
      ci: remove and tighten a bit
      
      fix: try msvc workaround for pgic
      
      * tests: split up prealoc tests
      
      * fix: PGI compiler fix
      
      * fix: PGI void_t only
      
      * fix: try to appease nvcc
      
      * ci: better ordering for slow tests
      
      * ci: minor improvements to testing
      
      * ci: Add NumPy to testing
      
      * ci: Eigen generates CUDA warnings / PGI errors
      
      * Added CentOS7 back for a moment
      
      * Fix YAML
      
      * ci: runs-on missing
      
      * centos7 is missing pytest
      
      * ci: use C++11 on CentOS 7
      
      * ci: test something else
      
      * Try just adding flags on CentOS 7
      
      * fix: CentOS 7
      
      * refactor: move include to shared location
      
      * Added verbose flag
      
      * Try to use system cmake3 on CI
      
      * Try to use system cmake3 on CI, attempt2
      
      * Try to use system cmake3 on CI, attempt3
      
      * tests: not finding pytest should be a warning, not a fatal error
      
      * tests: cleanup
      
      * Weird issue?
      
      * fix: final polish
      Co-authored-by: default avatarAndrii Verbytskyi <andrii.verbytskyi@mpp.mpg.de>
      Co-authored-by: default avatarHenry Schreiner <henryschreineriii@gmail.com>
      Co-authored-by: default avatarAndrii Verbytskyi <averbyts@cern.ch>
      38370a87
  12. 11 Sep, 2020 1 commit
    • Yannick Jadoul's avatar
      Add check if `str(handle)` correctly converted the object, and throw... · fe9ee86b
      Yannick Jadoul authored
      Add check if `str(handle)` correctly converted the object, and throw py::error_already_set if not (bis) (#2477)
      
      * Add check if `str(handle)` correctly converted the object, and throw py::error_already_set if not
      
      * Fix tests on Python 3
      
      * Apply @rwgk's fixes to cherry-picked commits from #2392
      fe9ee86b