1. 22 Jun, 2021 1 commit
  2. 21 Jun, 2021 1 commit
  3. 19 Jun, 2021 4 commits
  4. 18 Jun, 2021 2 commits
  5. 17 Jun, 2021 2 commits
  6. 08 Jun, 2021 1 commit
    • Add const T to docstring generation. (#3020) · 4c7697db
      * 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: Ralf W. Grosse-Kunstleve <rwgk@google.com>
      Jack S. Hale committed
  7. 27 May, 2021 3 commits
  8. 14 May, 2021 2 commits
  9. 06 May, 2021 2 commits
  10. 04 May, 2021 1 commit
    • Fix Unicode support for ostream redirects (#2982) · 0c93a0f3
      * 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.
      Pieter P committed
  11. 22 Apr, 2021 1 commit
  12. 21 Apr, 2021 2 commits
  13. 19 Apr, 2021 1 commit
    • Fix compilation with gcc < 5 (#2956) · e08a5811
      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.
      mvoelkle-cern committed
  14. 15 Apr, 2021 1 commit
  15. 14 Apr, 2021 1 commit
    • fix: using -Werror-all for Intel (#2948) · 62976cfc
      * correcting Werror for Intel
      
      * adding ward for Intel
      
      * adding wards for intel
      
      * another ward for Intel
      
      * missed one intel ward
      
      * exact match for intel compiler
      
      * removing inline limits
      
      * disable warnings about inline limits
      
      * formatter suggestion
      
      * more indent
      
      * hopefully make formatter happy
      
      * addressed review
      
      * fix &&
      
      * Update tests/CMakeLists.txt
      
      Co-authored-by: Henry Schreiner <HenrySchreinerIII@gmail.com>
      
      Co-authored-by: Henry Schreiner <HenrySchreinerIII@gmail.com>
      Philipp Bucher committed
  16. 13 Apr, 2021 1 commit
  17. 10 Apr, 2021 1 commit
  18. 06 Apr, 2021 2 commits
  19. 03 Apr, 2021 1 commit
  20. 02 Apr, 2021 4 commits
  21. 09 Mar, 2021 1 commit
  22. 08 Mar, 2021 1 commit
  23. 05 Mar, 2021 1 commit
  24. 25 Feb, 2021 2 commits
  25. 23 Feb, 2021 1 commit
    • Dtype kind vs char (#2864) · 74a767d4
      * [dtype]: add type() method to access type attribute of PyArray_Descr (eq. to dtype.char in Python)
      
      * [dtype] change type() name method to char_() to be compliant with Python numpy interface
      
      * [dtype] fix by pre-commit
      
      * [dtype] Change comments and solutions format for test
      
      * Clarify documentation and move note about dtype.char vs PyArray_Descr::type to a plain, non-doxygen comment
      
      * Fix and extend tests
      
      * Fix the supposedly fixed tests
      
      * Fix the fixed tests again
      
      Co-authored-by: Bertrand MICHEL <bertrand.michel@onera.fr>
      Co-authored-by: Yannick Jadoul <yannick.jadoul@belgacom.net>
      Bertrand MICHEL committed