- 22 Jun, 2019 1 commit
-
-
Ian Bell committed
-
- 19 Jun, 2019 1 commit
-
-
Wenzel Jakob committed
-
- 13 Jun, 2019 1 commit
-
-
* Fix casting of time points with non-system-clock duration on Windows Add explicit `time_point_cast` to time point with duration of system clock. Fixes Visual Studio compile error. * Add test case for custom time points casting
Alexander Gagarin committed
-
- 12 Jun, 2019 2 commits
-
-
Wenzel Jakob committed
-
Wenzel Jakob committed
-
- 11 Jun, 2019 25 commits
-
-
Wenzel Jakob committed
-
Wenzel Jakob committed
-
Wenzel Jakob committed
-
sizmailov committed
-
Chris Rusby committed
-
In def_readonly and def_readwrite, there is an assertion that the member comes from the class or a base class: static_assert(std::is_base_of<C, type>::value, "..."); However, if C and type are the same type, is_base_of will still only be true if they are the same _non-union_ type. This means we can't define accessors for the members of a union type because of this assertion. Update the assertion to test std::is_same<C, type>::value || std::is_base_of<C, type>::value which will allow union types, or members of base classes. Also add a basic unit test for accessing unions.Roland Dreier committed -
* Fix async Python functors invoking from multiple C++ threads (#1587) Ensure GIL is held during functor destruction. * Add async Python callbacks test that runs in separate Python thread
Alexander Gagarin committed -
Henry Schreiner committed
-
In some cases the user of pythonbuf needs to allocate the internal buffer to a specific size e.g. for performance or to enable synchronous writes to the buffer. By changing `pythonbuf::d_buffer` to be dynamically allocated we can now enable these use-cases while still providing the default behavior of allocating a 1024 byte internal buffer (through a default parameter).
Omar Awile committed -
fix some uninitialized members in `value_and_holder` for some of the constructurs. Found with coverity in a downstream project.
Axel Huebl committed -
Lori A. Burns committed
-
Jeff VanOss committed
-
I found that the numpy array tests already contained an empty-shaped array test, but none with data in it. Following PEP 3118, scalars have an empty shape and ndim 0. This works already and is now also documented/covered by a test.
Axel Huebl committed -
Dan committed
-
Dan committed
-
Dan committed
-
Dan committed
-
Dan committed
-
Dan committed
-
Dan committed
-
Dan committed
-
On some linuxes, /usr/include belongs to GCC and the standard libraries that work with clang are in /usr/lib/clang/8.0.0 or some variation thereof. This results in errors such as: ``` /../lib64/gcc/x86_64-pc-linux-gnu/8.3.0/../../../../include/c++/8.3.0/bits/cxxabi_init_exception.h:38:10: fatal error: 'stddef.h' file not found ``` during extraction.
Dan committed -
Recent versions of clang.cindex include [code][1] that converts the internal byte strings to python str for you. [1]: https://github.com/llvm-mirror/clang/blob/master/bindings/python/clang/cindex.py#L72
Dan committed -
Yannick Jadoul committed
-
Commit 2b045757 ("Improve documentation related to inheritance. (#1676)") left off a ':' from a hyperlink, which breaks the Travis CI build.
Roland Dreier committed
-
- 10 Jun, 2019 10 commits
-
-
fix missing member initialization in pytypes: read-only dict. Found with coverity in a downstream project.
Axel Huebl committed -
Alternative implementation for #1657: if we know that `obj` is never a `nullptr` [1], we should not `nullptr`-check it *after* already dereferencing it. [1] https://github.com/pybind/pybind11/pull/1657#issuecomment-452090058
Axel Huebl committed -
Jeffrey Quesnelle committed
-
* Adds section to the reference. * Adds section to advanced classes page describing how to use `get_overload`.
Ivor Wanders committed -
Manuel Schneider committed
-
Fix an uninitialized member in `type_record`. Found with coverity in a downstream project.
Axel Huebl committed -
* #1208 Bugfix thread kill wihile running pybind11 module * #1208 Bugfix missing space after catch
Jörg Kreuzberger committed -
* Always capitalize Eigen * Fix spelling
Darius Arnold committed -
luzpaz committed
-
I think this particular method binding should not be done with `PYBIND11_OVERLOAD_PURE` but instead `PYBIND11_OVERLOAD`.
Omar Awile committed
-