pybind11/include/pybind11
Pieter P 0c93a0f3fc
Fix Unicode support for ostream redirects (#2982)
* Crash when printing Unicode to redirected cout
Add failing tests

* Fix Unicode crashes redirected cout

* pythonbuf::utf8_remainder check end iterator

* Remove trailing whitespace and formatting iostream

* Avoid buffer overflow if ostream redirect races
This doesn't solve the actual race, but at least it now has a much lower
probability of reading past the end of the buffer even when data races
do occur.
2021-05-03 22:04:38 -07:00
..
detail Splitting out detail/type_caster_base.h from cast.h, with iwyu cleanup. (#2841) 2021-02-22 18:38:18 -08:00
attr.h fix: a warning found by static code analyzer (#2783) 2021-01-13 23:14:06 -05:00
buffer_info.h Fix buffer_info for ctypes buffers (pybind#2502) (#2503) 2020-10-03 23:09:14 +02:00
cast.h Adding PyGILState_Check() in object_api<>::operator(). (#2919) 2021-04-02 18:17:12 -07:00
chrono.h Use correct duration representation when casting from datetime.timdelta to std::chrono::duration (#2870) 2021-03-07 23:42:01 -08:00
common.h Add a dummy common.h header with a deprecation warning 2017-09-06 15:22:26 +02:00
complex.h Change NAMESPACE_* macros into PYBIND11_NAMESPACE_* (#2283) 2020-07-08 18:14:41 -04:00
eigen.h style: clang-tidy: modernize-use-using (#2645) 2020-11-09 10:10:19 -08:00
embed.h Shorten PYBIND11_EMBEDDED_MODULE macro implementation by using PYBIND11_CATCH_INIT_EXCEPTIONS (#2579) 2020-10-12 23:10:18 +02:00
eval.h Add __builtins__ to globals argument of py::exec and py::eval if not present (#2616) 2020-10-27 19:58:27 +01:00
functional.h Allow function pointer extraction from overloaded functions (#2944) 2021-04-13 16:53:56 -07:00
gil.h Extract gil management functions to separate header (#2845) 2021-02-22 19:15:40 -08:00
iostream.h Fix Unicode support for ostream redirects (#2982) 2021-05-03 22:04:38 -07:00
numpy.h Fix compilation with gcc < 5 (#2956) 2021-04-19 13:53:57 -04:00
operators.h Change NAMESPACE_* macros into PYBIND11_NAMESPACE_* (#2283) 2020-07-08 18:14:41 -04:00
options.h Change NAMESPACE_* macros into PYBIND11_NAMESPACE_* (#2283) 2020-07-08 18:14:41 -04:00
pybind11.h fix: using -Werror-all for Intel (#2948) 2021-04-14 14:01:27 -04:00
pytypes.h Add pybind11::bytearray (#2799) 2021-02-14 15:51:13 +01:00
stl_bind.h fix: Intel ICC C++17 compatibility (#2729) 2021-01-17 19:53:07 -05:00
stl.h Changing pybind11::str to exclusively hold PyUnicodeObject (#2409) 2021-01-29 09:41:42 -08:00