"docs/vscode:/vscode.git/clone" did not exist on "af8849f47eea35fe16df0c5df64221b33b655968"
- 23 Oct, 2019 1 commit
-
-
Hans Dembinski authored
-
- 20 Sep, 2019 2 commits
-
-
Wenzel Jakob authored
-
Wenzel Jakob authored
-
- 19 Sep, 2019 1 commit
-
-
Sergei Izmailov authored
* 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
-
- 04 Sep, 2019 1 commit
-
-
Lori A. Burns authored
-
- 27 Aug, 2019 1 commit
-
-
Stephen Larew authored
-
- 19 Aug, 2019 2 commits
-
-
kingofpayne authored
-
Andre Schmeißer authored
* 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
-
- 16 Aug, 2019 1 commit
-
-
Sergei Lebedev authored
Dynamically resolving __contains__ on each call is wasteful since set has a public PySet_Contains function.
-
- 15 Aug, 2019 1 commit
-
-
ali-beep authored
-
- 27 Jul, 2019 1 commit
-
-
Pauli Virtanen authored
PyArray_DescrFromType returns a new reference, not borrowed one
-
- 23 Jul, 2019 1 commit
-
-
Eric Cousineau authored
numpy: Add test for explicit dtype checks. At present, int64 + uint64 do not exactly match dtype(...).num
-
- 19 Jul, 2019 1 commit
-
-
phil-zxx authored
* Added ability to convert from Python datetime.date and datetime.time to C++ system_clock::time_point
-
- 18 Jul, 2019 1 commit
-
-
Jeremy Maitin-Shepard authored
-
- 15 Jul, 2019 2 commits
-
-
Saran Tunyasuvunakool authored
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
-
Igor Socec authored
* 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
-
- 06 Jul, 2019 1 commit
-
-
Wenzel Jakob authored
-
- 22 Jun, 2019 1 commit
-
-
Ian Bell authored
-
- 13 Jun, 2019 1 commit
-
-
Alexander Gagarin authored
* 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
-
- 11 Jun, 2019 6 commits
-
-
Wenzel Jakob authored
-
sizmailov authored
-
Chris Rusby authored
-
Roland Dreier authored
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. -
Alexander Gagarin authored
* 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
-
Axel Huebl authored
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.
-
- 10 Jun, 2019 2 commits
-
-
luzpaz authored
-
Blake Thompson authored
* Added __contains__ to stl bindings for maps
-
- 12 May, 2019 1 commit
-
-
Yannick Jadoul authored
* Fixing order of arguments in call to PyErr_GivenExceptionMatches in pybind11::error_already_set.matches * Added tests on error_already_set::matches fix for exception base classes
-
- 06 Apr, 2019 1 commit
-
-
Henry Schreiner authored
* Fix warning that not including a cmake source or build dir will be a fatal error (it is now on newest CMakes) * Fixes appveyor * Travis uses CMake 3.9 for more than a year now * Travis dropped sudo: false in December * Dropping Sphinx 2 - clang7: Suppress self-assign warnings; fix missing virtual dtors - pypy: - Keep old version (newer stuff breaks) - Pin packages to extra index for speed - travis: - Make docker explicit; remove docker if not needed - Make commands more verbose (for debugging / repro) - Make Ubuntu dist explicit per job - Fix Windows - Add names to travis
-
- 04 Feb, 2019 3 commits
-
-
Wenzel Jakob authored
-
Guilhem Saurel authored
-
-
- 03 Jan, 2019 1 commit
-
-
Yannick Jadoul authored
-
- 01 Dec, 2018 1 commit
-
-
Borja Zarco authored
This avoids GIL deadlocking when pybind11 tries to acquire the GIL in a thread that already acquired it using standard Python API (e.g. when running from a Python thread).
-
- 16 Nov, 2018 1 commit
-
-
voxmea authored
* Adds std::deque to the types supported by list_caster in stl.h. * Adds a new test_deque test in test_stl.{py,cpp}. * Updates the documentation to include std::deque as a default supported type.
-
- 11 Nov, 2018 2 commits
-
-
Trevor Laughlin authored
* Check default holder -Recognize "std::unique_ptr<T, D>" as a default holder even if "D" doesn't match between base and derived holders * Add test for unique_ptr<T, D> change
-
Wenzel Jakob authored
Pybind11 provides a cast operator between opaque void* pointers on the C++ side and capsules on the Python side. The py::cast<void *> expression was not aware of this possibility and incorrectly triggered a compile-time assertion ("Unable to cast type to reference: value is local to type caster") that is now fixed.
-
- 09 Nov, 2018 3 commits
-
-
Wenzel Jakob authored
* Support C++17 aligned new statement This patch makes pybind11 aware of nonstandard alignment requirements in bound types and passes on this information to C++17 aligned 'new' operator. Pre-C++17, the behavior is unchanged.
-
Wenzel Jakob authored
-
Wenzel Jakob authored
This PR brings the std::array<> caster in sync with the other STL type casters: to accept an arbitrary sequence as input (rather than a list, which is too restrictive).
-