- 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 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
-