1. Jun 18, 2021
  2. Jun 09, 2021
    • 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
  3. May 28, 2021
  4. May 27, 2021
  5. May 14, 2021
  6. May 06, 2021
  7. May 04, 2021
    • 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
  8. Apr 22, 2021
  9. Apr 20, 2021
    • 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
  10. Apr 16, 2021
  11. Apr 15, 2021
  12. Apr 14, 2021
  13. Apr 10, 2021
  14. Apr 06, 2021
  15. Apr 03, 2021
  16. Apr 02, 2021
  17. Mar 10, 2021
  18. Mar 08, 2021
  19. Mar 06, 2021
  20. Feb 25, 2021
  21. Feb 23, 2021
  22. Feb 21, 2021
  23. Feb 18, 2021
  24. Feb 14, 2021
    • Vikram Pal's avatar
      Add pybind11::bytearray (#2799) · 417067ee
      Vikram Pal authored
      * Add initial implementation
      
      * Add few more methods
      
      * Add tests
      
      * Fix a typo
      
      * Use std::string constructor which takes size
      
      * Fix implicit sign conversion error
      
      * Add size method and test
      
      * Remove implicit conversion
      
      * Fix bytearray constructors and operator std::string()
      
      * Make implicit bytearray constructor explicit
      
      * Rerun tests
      
      * Add null check
      
      * Rerun tests
      
      * Rerun tests - 2
      
      * Remove NULL check
      417067ee
  25. Feb 13, 2021
  26. Feb 10, 2021
  27. Feb 09, 2021