1. Apr 11, 2023
    • Ralf W. Grosse-Kunstleve's avatar
      Alternative approach to #3807 (#4612) · d930de0b
      Ralf W. Grosse-Kunstleve authored
      * Alternative approach to #3807 that supports an important PyCLIF use case: `Base` not specified in `classh<Derived>` statement, but passing Derived as Base works anyway.
      
      * NOtest_multiple_inheritance_getattr in test_class_sh_void_ptr_capsule.py (quick experiment)
      
      * Revert "NOtest_multiple_inheritance_getattr in test_class_sh_void_ptr_capsule.py (quick experiment)"
      
      This reverts commit e8f0749b895ad941221316a5fa43d873a2b00397.
      
      * Special handling of pybind11 objects to side-step try_as_void_ptr_capsule_get_pointer __getattr__ issues.
      
      * Inspect `internals.registered_types_py` in `type_is_pybind11_class_()`
      
      * Remove debug code in tests subdir.
      
      * Clean up the modified `try_as_void_ptr_capsule_get_pointer()` implementation and new helper functions.
      d930de0b
  2. Apr 09, 2023
  3. Apr 08, 2023
  4. Apr 07, 2023
  5. Apr 03, 2023
  6. Mar 30, 2023
  7. Mar 28, 2023
  8. Mar 27, 2023
  9. Mar 24, 2023
  10. Mar 23, 2023
  11. Mar 17, 2023
  12. Mar 10, 2023
  13. Mar 07, 2023
  14. Mar 01, 2023
  15. Feb 23, 2023
  16. Feb 22, 2023
  17. Feb 21, 2023
  18. Feb 18, 2023
  19. Feb 17, 2023
    • Ralf W. Grosse-Kunstleve's avatar
      Appease new flake8 B028 error: · 44c2d89c
      Ralf W. Grosse-Kunstleve authored
      ```
      flake8...................................................................Failed
      - hook id: flake8
      - exit code: 1
      
      pybind11/setup_helpers.py:177:13: B028 No explicit stacklevel keyword argument found. The warn method from the warnings module uses a stacklevel of 1 by default. This will only show a stack trace for the line on which the warn method is called. It is therefore recommended to use a stacklevel of 2 or greater to provide more information to the user.
                  warnings.warn("You cannot safely change the cxx_level after setting it!")
                  ^
      ```
      44c2d89c