1. 30 Jun, 2021 1 commit
    • Ralf W. Grosse-Kunstleve's avatar
      pickle setstate: setattr __dict__ only if not empty (#2972) · fbae8f31
      Ralf W. Grosse-Kunstleve authored
      * pickle setstate: setattr __dict__ only if not empty, to not force use of py::dynamic_attr() unnecessarily.
      
      * Adding unit test.
      
      * Clang 3.6 & 3.7 compatibility.
      
      * PyPy compatibility.
      
      * Minor iwyu fix, additional comment.
      
      * Addressing reviewer requests.
      
      * Applying clang-tidy suggested fixes.
      
      * Adding check_dynamic_cast_SimpleCppDerived, related to issue #3062.
      fbae8f31
  2. 26 Jun, 2021 1 commit
  3. 22 Jun, 2021 2 commits
  4. 21 Jun, 2021 1 commit
  5. 19 Jun, 2021 4 commits
  6. 18 Jun, 2021 2 commits
  7. 17 Jun, 2021 2 commits
  8. 08 Jun, 2021 1 commit
    • Jack S. Hale's avatar
      Add const T to docstring generation. (#3020) · 4c7697db
      Jack S. Hale authored
      
      
      * Add const T to docstring generation.
      
      * Change order.
      
      * See if existing test triggers for a const type.
      
      * Add tests.
      
      * Fix test.
      
      * Remove experiment.
      
      * Reformat.
      
      * More tests, checks run.
      
      * Adding `test_fmt_desc_` prefix to new test functions.
      
      * Using pytest.mark.parametrize to 1. condense test; 2. exercise all functions even if one fails; 3. be less platform-specific (e.g. C++ float is not necessarily float32).
      Co-authored-by: default avatarRalf W. Grosse-Kunstleve <rwgk@google.com>
      4c7697db
  9. 27 May, 2021 3 commits
  10. 14 May, 2021 2 commits
  11. 06 May, 2021 2 commits
  12. 04 May, 2021 1 commit
    • Pieter P's avatar
      Fix Unicode support for ostream redirects (#2982) · 0c93a0f3
      Pieter P authored
      * Crash when printing Unicode to redirected cout
      Add failing tests
      
      * Fix Unicode crashes redirected cout
      
      * pythonbuf::utf8_remainder check end iterator
      
      * Remove trailing whitespace and formatting iostream
      
      * Avoid buffer overflow if ostream redirect races
      This doesn't solve the actual race, but at least it now has a much lower
      probability of reading past the end of the buffer even when data races
      do occur.
      0c93a0f3
  13. 22 Apr, 2021 1 commit
  14. 21 Apr, 2021 2 commits
  15. 19 Apr, 2021 1 commit
    • mvoelkle-cern's avatar
      Fix compilation with gcc < 5 (#2956) · e08a5811
      mvoelkle-cern authored
      When the user defines _GLIBCXX_USE_CXX11_ABI=0 to force the pre-c++11 ABI, numpy.h assumes that is_trivially_copyable is available.
      It is not necessarily the case. This patch uses clang's feature detection instead.
      The workaround is for certain libstdc++ versions, so the test should target these particular versions.
      e08a5811
  16. 15 Apr, 2021 1 commit
  17. 14 Apr, 2021 1 commit
  18. 13 Apr, 2021 1 commit
  19. 10 Apr, 2021 1 commit
  20. 06 Apr, 2021 2 commits
  21. 03 Apr, 2021 1 commit
  22. 02 Apr, 2021 4 commits
  23. 09 Mar, 2021 1 commit
  24. 08 Mar, 2021 1 commit
  25. 05 Mar, 2021 1 commit