Xiaofei Wang
7064d43bc9
[smart_holder] Add a new return value policy return_as_bytes ( #3838 )
...
* Add return_as_bytes policy
* Fix format
* Fix test failures
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Fix std::variant
* Resolve comments
* Note this policy experimental
* Add tests for `return_as_bytes` with `def_property`.
* Change comment for the new return_as_bytes enum to note that the policy is not available on master.
* Applying pr3838_sh.patch (exactly as used Google-internally since 2022-03-31).
* Add `case return_as_bytes` to `switch`es in detail/type_caster_base.h and eigen.h
Based on systematic review under https://github.com/pybind/pybind11/pull/3838#issuecomment-1094390333
* Add missing break (clang-tidy).
* More clang-tidy fixes (this time around clang-tidy was run interactively to pre-empt repeat trips through the CI).
* Underscore prefix: _return_as_bytes
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Ralf W. Grosse-Kunstleve <rwgk@google.com >
2022-04-15 10:17:34 -07:00
..
2022-02-16 07:15:34 -08:00
2022-02-11 19:06:16 -05:00
2022-02-18 11:51:56 -08:00
2022-02-11 19:06:16 -05:00
2022-02-23 15:47:03 -08:00
2021-02-23 21:50:42 -08:00
2021-02-23 21:50:42 -08:00
2021-02-23 21:50:42 -08:00
2022-02-14 14:36:08 -08:00
2022-02-10 18:28:08 -08:00
2022-02-10 12:17:07 -08:00
2022-02-10 18:28:08 -08:00
2022-02-10 18:28:08 -08:00
2022-02-10 12:17:07 -08:00
2022-02-10 12:17:07 -08:00
2022-02-10 12:17:07 -08:00
2022-02-10 12:17:07 -08:00
2022-02-14 11:36:22 -08:00
2022-02-11 19:06:16 -05:00
2022-02-15 00:32:58 -05:00
2022-02-10 12:17:07 -08:00
2022-02-10 18:28:08 -08:00
2022-02-10 12:17:07 -08:00
2022-02-10 18:28:08 -08:00
2022-04-15 10:17:34 -07:00
2022-04-15 10:17:34 -07:00
2022-02-10 12:17:07 -08:00
2022-02-10 18:28:08 -08:00
2022-02-10 12:17:07 -08:00
2022-02-11 19:06:16 -05:00
2022-02-10 12:17:07 -08:00
2022-02-11 19:06:16 -05:00
2022-02-14 19:00:40 -08:00
2022-02-14 19:00:40 -08:00
2022-02-14 19:00:40 -08:00
2022-02-14 19:00:40 -08:00
2022-02-14 19:00:40 -08:00
2022-02-14 19:00:40 -08:00
2022-02-14 19:00:40 -08:00
2022-02-14 19:00:40 -08:00
2022-02-14 19:00:40 -08:00
2022-02-14 19:00:40 -08:00
2022-02-14 19:00:40 -08:00
2022-02-14 19:00:40 -08:00
2022-02-14 19:00:40 -08:00
2022-02-14 19:00:40 -08:00
2022-02-14 19:00:40 -08:00
2022-02-14 19:00:40 -08:00
2022-02-14 19:00:40 -08:00
2022-02-14 19:00:40 -08:00
2022-02-14 19:00:40 -08:00
2022-02-14 19:00:40 -08:00
2022-02-14 19:00:40 -08:00
2021-07-02 16:51:24 -07:00
2022-02-14 19:00:40 -08:00
2022-02-14 19:00:40 -08:00
2022-02-14 19:00:40 -08:00
2022-02-14 19:00:40 -08:00
2022-02-14 19:00:40 -08:00
2022-03-18 11:08:20 -07:00
2022-03-18 11:08:20 -07:00
2022-02-14 14:36:08 -08:00
2022-02-10 18:28:08 -08:00
2021-04-19 10:54:37 -07:00
2022-02-14 19:00:40 -08:00
2022-02-14 11:36:22 -08:00
2022-02-10 18:28:08 -08:00
2022-02-14 11:36:22 -08:00
2022-02-10 18:28:08 -08:00
2022-02-10 12:17:07 -08:00
2022-02-10 18:28:08 -08:00
2022-02-25 13:25:23 -08:00
2022-02-25 13:25:23 -08:00
2021-09-24 12:08:22 -07:00
2022-02-10 18:28:08 -08:00
2022-02-10 12:17:07 -08:00
2022-02-10 18:28:08 -08:00
2022-02-14 11:36:22 -08:00
2022-02-11 19:06:16 -05:00
2022-02-10 12:17:07 -08:00
2022-02-10 18:28:08 -08:00
2022-02-10 18:28:08 -08:00
2022-02-10 12:17:07 -08:00
2022-02-10 18:28:08 -08:00
2022-02-10 18:28:08 -08:00
2022-02-10 12:17:07 -08:00
2022-02-11 19:06:16 -05:00
2022-02-14 14:36:08 -08:00
2022-02-14 14:36:08 -08:00
2022-02-10 12:17:07 -08:00
2022-02-10 18:28:08 -08:00
2022-02-14 11:36:22 -08:00
2022-02-10 18:28:08 -08:00
2022-02-10 12:17:07 -08:00
2022-02-10 18:28:08 -08:00
2022-02-10 12:17:07 -08:00
2022-02-10 18:28:08 -08:00
2022-02-14 14:36:08 -08:00
2022-02-14 14:36:08 -08:00
2022-02-10 12:17:07 -08:00
2022-02-10 18:28:08 -08:00
2022-02-14 14:36:08 -08:00
2022-02-10 18:28:08 -08:00
2022-02-10 12:17:07 -08:00
2022-02-11 19:06:16 -05:00
2022-02-10 12:17:07 -08:00
2022-02-11 19:06:16 -05:00
2022-02-10 12:17:07 -08:00
2022-02-10 18:28:08 -08:00
2022-02-10 12:17:07 -08:00
2022-02-11 19:06:16 -05:00
2022-02-10 12:17:07 -08:00
2022-02-10 18:28:08 -08:00
2022-02-15 11:51:17 -08:00
2022-02-10 18:28:08 -08:00
2022-03-18 11:15:52 -07:00
2022-03-18 11:15:52 -07:00
2022-02-11 10:42:48 -05:00
2022-02-11 19:06:16 -05:00
2022-02-14 19:00:40 -08:00
2022-02-14 14:36:08 -08:00
2022-02-10 12:17:07 -08:00
2022-02-10 18:28:08 -08:00
2022-04-15 10:17:34 -07:00
2022-04-15 10:17:34 -07:00
2022-02-10 12:17:07 -08:00
2022-02-10 18:28:08 -08:00
2022-02-10 12:17:07 -08:00
2022-02-10 18:28:08 -08:00
2019-06-11 23:28:58 +02:00
2022-02-10 18:28:08 -08:00
2022-02-14 14:36:08 -08:00
2022-02-11 19:06:16 -05:00
2021-07-04 19:58:35 -04:00
2021-01-31 17:29:09 -05:00