Files
pybind11/tests
Vasily Litvinovandpre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> 9e6a67d572 Properly translate C++ exception to Python exception when creating Python buffer from wrapped object (#5324)
* Add test for throwing def_buffer case

* Translate C++ -> Python exceptions in buffer creation

This required a little refactoring to extract exception translation to a separate method

* Fix code formatting

* Fix "unused parameter" warning

* Refactor per review

* style: pre-commit fixes

* Address review comments

* Address review comments

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-09-13 18:46:20 -04:00
..
2024-06-22 00:55:00 -04:00
2024-05-24 12:26:40 -04:00
2024-08-13 09:22:45 -04:00
2022-02-14 11:36:22 -08:00
2022-02-14 11:36:22 -08:00
2024-08-13 09:22:45 -04:00
2024-08-13 09:22:45 -04:00