1. 09 Jul, 2021 1 commit
  2. 08 Jul, 2021 1 commit
  3. 06 Jul, 2021 1 commit
  4. 04 Jul, 2021 1 commit
  5. 02 Jul, 2021 1 commit
  6. 30 Jun, 2021 2 commits
  7. 26 Jun, 2021 1 commit
  8. 22 Jun, 2021 1 commit
    • Aaron Gokaslan's avatar
      fix(clang-tidy): performance fixes applied in tests and CI (#3051) · dac74ebd
      Aaron Gokaslan authored
      * Initial fixes
      
      * Whoops
      
      * Finish clang-tidy manual fixes
      
      * Add two missing fixes
      
      * Revert
      
      * Update clang-tidy
      
      * Try to fix unreachable code error
      
      * Move nolint comment
      
      * Apply missing fix
      
      * Don't override clang-tidy config
      
      * Does this fix clang-tidy?
      
      * Make all clang-tidy errors visible
      
      * Add comments about NOLINTs and remove a few
      
      * Fix typo
      dac74ebd
  9. 21 Jun, 2021 1 commit
  10. 19 Jun, 2021 1 commit
  11. 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
  12. 27 May, 2021 2 commits
  13. 06 May, 2021 1 commit
  14. 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
  15. 21 Apr, 2021 1 commit
  16. 14 Apr, 2021 1 commit
  17. 13 Apr, 2021 1 commit
  18. 03 Apr, 2021 1 commit
  19. 02 Apr, 2021 2 commits
  20. 09 Mar, 2021 1 commit
  21. 08 Mar, 2021 1 commit
  22. 05 Mar, 2021 1 commit
  23. 25 Feb, 2021 1 commit
  24. 23 Feb, 2021 3 commits
  25. 14 Feb, 2021 1 commit
    • 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
  26. 12 Feb, 2021 1 commit
  27. 01 Feb, 2021 1 commit
  28. 31 Jan, 2021 2 commits
  29. 29 Jan, 2021 1 commit
  30. 27 Jan, 2021 1 commit
  31. 25 Jan, 2021 1 commit
    • Yannick Jadoul's avatar
      Always call PyNumber_Index when casting from Python to a C++ integral type, also pre-3.8 (#2801) · 0bb8ca26
      Yannick Jadoul authored
      * Always call PyNumber_Index when casting from Python to a C++ integral type, also pre-3.8
      
      * Fixed on PyPy
      
      * Simplify use of PyNumber_Index, following @rwgk's idea, and ignore warnings in >=3.8
      
      * Reproduce mismatch between pre-3.8 and post-3.8 behavior on __index__ throwing TypeError
      
      * Fix tests on 3.6 <= Python < 3.8
      
      * No, I don't have an uninitialized variable
      
      * Fix use of __index__ on Python 2
      
      * Make types in test_int_convert more ~boring~ descriptive
      0bb8ca26
  32. 24 Jan, 2021 1 commit
    • crimsoncor's avatar
      Force the builtin module key to be the correct type. (#2814) · 9ea39dc3
      crimsoncor authored
      
      
      * Force the builtin module key to be the correct type.
      
      Previously it was always going to be a std::string which converted into
      unicode. Python 2 appears to want module keys to be normal str types, so
      this was breaking code that expected plain string types in the
      builtins.keys() data structure
      
      * Add a simple unit test to ensure all built-in keys are str
      
      * Update the unit test so it will also run on pypy
      
      * Run pre-commit.
      Co-authored-by: default avatarJesse Clemens <jesse.clemens@sony.com>
      9ea39dc3
  33. 19 Jan, 2021 2 commits