1. 29 Jul, 2021 1 commit
    • Removing MSVC C4100 from pragma block at the top of pybind11.h (#3150) · b72ca7d1
      * Removing pragma for 4100 (to see what is still broken with the latest code).
      
      * Adding --keep-going
      
      * Revert "Adding --keep-going"
      
      This reverts commit 1c844c6ffd07a6111b644811e7e3b0a50b9d44bb.
      
      * Introducing PYBIND11_WORKAROUND_INCORRECT_MSVC_C4100.
      
      * _MSC_VER <= 1916
      
      * Replacing simple variadic function with variadic template (attempt to resolve MSVC 2017 failures).
      
      * Preserving existing comment (moved from pybind11.h to detail/common.h).
      
      * Adding blank lines for readability.
      Ralf W. Grosse-Kunstleve committed
  2. 28 Jul, 2021 1 commit
  3. 27 Jul, 2021 4 commits
  4. 26 Jul, 2021 4 commits
  5. 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
  6. 20 Jul, 2021 2 commits
  7. 17 Jul, 2021 2 commits
  8. 16 Jul, 2021 2 commits
  9. 15 Jul, 2021 6 commits
  10. 14 Jul, 2021 4 commits
  11. 13 Jul, 2021 7 commits
  12. 12 Jul, 2021 5 commits