1. 23 Oct, 2021 1 commit
  2. 08 Oct, 2021 1 commit
  3. 24 Aug, 2021 1 commit
  4. 21 Jul, 2021 1 commit
    • jesse-sony's avatar
      Feature/local exception translator (#2650) · d65edfb0
      jesse-sony authored
      * 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
      d65edfb0
  5. 27 May, 2021 1 commit
  6. 14 Jan, 2021 1 commit
  7. 19 Nov, 2020 1 commit
  8. 03 Oct, 2020 1 commit
  9. 15 Sep, 2020 1 commit
  10. 06 Sep, 2020 1 commit
  11. 22 Aug, 2020 1 commit
    • jbarlow83's avatar
      Improve documentation of Python and C++ exceptions (#2408) · b8863698
      jbarlow83 authored
      The main change is to treat error_already_set as a separate category
      of exception that arises in different circumstances and needs to be
      handled differently. The asymmetry between Python and C++ exceptions
      is further emphasized.
      b8863698
  12. 20 Aug, 2020 1 commit
  13. 16 Aug, 2020 1 commit
  14. 14 Nov, 2019 1 commit
  15. 11 Jun, 2019 1 commit
  16. 09 Apr, 2018 1 commit
  17. 11 Jan, 2018 1 commit
  18. 20 Oct, 2016 1 commit