pybind11/tests/extra_python_package
Ralf W. Grosse-Kunstleve 129934ad9f
Small cleanup/refactoring in support of PR #5213 (#5251)
* Factor out detail/value_and_holder.h (from detail/type_caster_base.h)

This is in support of PR #5213:

* trampoline_self_life_support.h depends on value_and_holder.h

* type_caster_base.h depends on trampoline_self_life_support.h

* Fix a minor and inconsequential inconsistency in `copyable_holder_caster`: the correct `load_value()` return type is `void` (as defined in `type_caster_generic`)

For easy future reference, this is the long-standing inconsistency:

* dbf848aff7/include/pybind11/detail/type_caster_base.h (L634)

* dbf848aff7/include/pybind11/cast.h (L797)

Noticed in passing while working on PR #5213.

* Add `DANGER ZONE` comment in detail/init.h, similar to a comment added on the smart_holder branch (all the way back in 2021).
2024-08-13 09:22:45 -04:00
..
pytest.ini feat: setup.py redesign and helpers (#2433) 2020-09-16 17:13:41 -04:00
test_files.py Small cleanup/refactoring in support of PR #5213 (#5251) 2024-08-13 09:22:45 -04:00