1. 27 Jul, 2021 1 commit
    • Allow python builtins to be used as callbacks (#1413) · a0b97596
      * Allow python builtins to be used as callbacks
      
      * Try to fix pypy segfault
      
      * Add expected fail for PyPy
      
      * Fix typo
      
      * [pre-commit.ci] auto fixes from pre-commit.com hooks
      
      for more information, see https://pre-commit.ci
      
      * Add more info to xfail
      
      * Add env
      
      * Try returning false
      
      * Try removing the move for pypy
      
      * Fix bugs
      
      * Try removing move
      
      * Just keep ignoring for PyPy
      
      * Add back xfail
      
      * Fix ctors
      
      * Revert change of std::move
      
      * Change to skip
      
      * Fix bug and edit comments
      
      * Remove clang-tidy bugprone fix skip bug
      
      Co-authored-by: Aaron Gokaslan <skylion.aaron@gmail.com>
      Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
      David Hewitt committed
  2. 26 Jul, 2021 4 commits
  3. 21 Jul, 2021 2 commits
    • Specified encoding in setup.py calls of open() (#3137) · e58c6897
      * Specified encoding in setup.py calls of open()
      
      * Fix for Python2
      
      Co-authored-by: Karsten Bock <karsten.bock@dlr.de>
      ka-bo committed
    • Feature/local exception translator (#2650) · d65edfb0
      * Create a module_internals struct
      
      Since we now have two things that are going to be module local, it felt
      correct to add a struct to manage them.
      
      * Add local exception translators
      
      These are added via the  register_local_exception_translator function
      and are then applied before the global translators
      
      * Add unit tests to show the local exception translator works
      
      * Fix a bug in the unit test with the string value of KeyError
      
      * Fix a formatting issue
      
      * Rename registered_local_types_cpp()
      
      Rename it to get_registered_local_types_cpp() to disambiguate from the
      new member of module_internals
      
      * Add additional comments to new local exception code path
      
      * Add a register_local_exception function
      
      * Add additional unit tests for register_local_exception
      
      * Use get_local_internals like get_internals
      
      * Update documentation for new local exception feature
      
      * Add back a missing space
      
      * Clean-up some issues in the docs
      
      * Remove the code duplication when translating exceptions
      
      Separated out the exception processing into a standalone function in the
      details namespace.
      
      Clean-up some comments as per PR notes as well
      
      * Remove the code duplication in register_exception
      
      * Cleanup some formatting things caught by clang-format
      
      * Remove the templates from exception translators
      
      But I added a using declaration to alias the type.
      
      * Remove the extra local from local_internals variable names
      
      * Add an extra explanatory comment to local_internals
      
      * Fix a typo in the code
      jesse-sony committed
  4. 20 Jul, 2021 2 commits
  5. 17 Jul, 2021 2 commits
  6. 16 Jul, 2021 2 commits
  7. 15 Jul, 2021 6 commits
  8. 14 Jul, 2021 4 commits
  9. 13 Jul, 2021 7 commits
  10. 12 Jul, 2021 7 commits
  11. 11 Jul, 2021 1 commit
  12. 10 Jul, 2021 1 commit
  13. 09 Jul, 2021 1 commit