- 19 Sep, 2019 1 commit
-
-
* fix: Avoid conversion to `int_` rhs argument of enum eq/ne * test: compare unscoped enum with strings * suppress comparison to None warning * test unscoped enum arithmetic and comparision with unsupported type
Sergei Izmailov committed
-
- 04 Sep, 2019 1 commit
-
-
Lori A. Burns committed
-
- 27 Aug, 2019 1 commit
-
-
Stephen Larew committed
-
- 23 Aug, 2019 1 commit
-
-
Dmitry committed
-
- 19 Aug, 2019 4 commits
-
-
kingofpayne committed
-
* Make `overload_cast_impl` available in C++11 mode. Narrow the scope of the `#if defined(PYBIND11_CPP14)` block around overload_cast to only cover the parts where C++14 is stricly required. Thus, the implementation in `pybind11::details::overload_cast_impl` is still available in C++11 mode. * PR #1581: Modify test to use overload_cast_impl, update docs and change log
Andre Schmeißer committed -
Vladimír Vondruš committed
-
Samuel Debionne committed
-
- 16 Aug, 2019 3 commits
-
-
Sergei Lebedev committed
-
Dynamically resolving __contains__ on each call is wasteful since set has a public PySet_Contains function.
Sergei Lebedev committed -
The -Wmissing-prototypes Clang warning (or -Wmissing-declarations on GCC) is very useful to avoid accidents where a function definition in a source file doesn't match the corresponding declaration in a header file, as it would warn already during compilation and not much later during link time. Unfortunately this means that exported functions defined only in the source file (usually the ones annotated with `extern "C"`) will cause this warning to be emitted too (on Clang, GCC has a slightly different behavior with -Wmissing-declarations and doesn't warn here). This fixes the warning by providing a declaration right before the definition.
Vladimír Vondruš committed
-
- 15 Aug, 2019 2 commits
-
-
ali-beep committed
-
Clang has a bug [1] in x86 Windows that is exposed by the use of lambdas with "unforwardable" prototypes. The error is "error: cannot compile this forwarded non-trivially copyable parameter yet", and the message was introduced in [2] (used to be an assertion). [1] https://llvm.org/bugs/show_bug.cgi?id=28299 [2] https://github.com/microsoft/checkedc-clang/commit/feb1567e07573100ea14f9aea02f81463e791496
Borja Zarco committed
-
- 13 Aug, 2019 2 commits
-
-
* In internals.h, only look at _DEBUG when compiling with MSVC. (_DEBUG is a MSVC-specific macro.)
Saran Tunyasuvunakool committed -
Christoph Kahl committed
-
- 27 Jul, 2019 1 commit
-
-
PyArray_DescrFromType returns a new reference, not borrowed one
Pauli Virtanen committed
-
- 23 Jul, 2019 2 commits
-
-
Test for dtype checks now succeed without warnings
Eric Cousineau committed -
numpy: Add test for explicit dtype checks. At present, int64 + uint64 do not exactly match dtype(...).num
Eric Cousineau committed
-
- 19 Jul, 2019 1 commit
-
-
* Added ability to convert from Python datetime.date and datetime.time to C++ system_clock::time_point
phil-zxx committed
-
- 18 Jul, 2019 2 commits
-
-
Jeremy Maitin-Shepard committed
-
* Protect std::min/max functions from windows.h min/max Removed check for windows min/max
Nathan committed
-
- 15 Jul, 2019 4 commits
-
-
Wenzel Jakob committed
-
This is only necessary if `get_internals` is called for the first time in a given module when the running thread is in a GIL-released state. Fixes #1364
Saran Tunyasuvunakool committed -
Thomas Peters committed
-
* Test dtype field order in numpy dtype tests When running tests with NumPy 1.14 or later this test exposes the "invalid buffer descriptor" error reported in #1274. * Create dtype_ptr with ordered fields
Igor Socec committed
-
- 10 Jul, 2019 1 commit
-
-
Toru Niina committed
-
- 06 Jul, 2019 2 commits
-
-
Wenzel Jakob committed
-
Wenzel Jakob committed
-
- 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 7 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
-