- 20 Jul, 2020 1 commit
-
-
Henry Schreiner committed
-
- 15 Jul, 2020 1 commit
-
-
* Fix undefined memoryview format * Add missing <algorithm> header * Add workaround for py27 array compatibility * Workaround py27 memoryview behavior * Fix memoryview constructor from buffer_info * Workaround PyMemoryView_FromMemory availability in py27 * Fix up memoryview tests * Update memoryview test from buffer to check signedness * Use static factory method to create memoryview * Remove ndim arg from memoryview::frombuffer and add tests * Allow ndim=0 memoryview and documentation fixup * Use void* to align to frombuffer method signature * Add const variants of frombuffer and frommemory * Add memory view section in doc * Fix docs * Add test for null buffer * Workaround py27 nullptr behavior in test * Rename frombuffer to from_buffer
Kota Yamaguchi committed
-
- 12 Jul, 2020 2 commits
-
-
- `PyArray_NewFromDescr_` should have been using `Py_intptr_t const *` - https://github.com/numpy/numpy/blob/18a6e3e505ee416ddfc617f3e9afdff5a031c2c2/numpy/core/src/multiarray/ctors.h#L5-L8 - `PyArray_GetArrayParamsFromObject_` should be using `NPY_BOOL` - https://github.com/numpy/numpy/blob/18a6e3e505ee416ddfc617f3e9afdff5a031c2c2/numpy/core/src/multiarray/ctors.c#L1350-L1355 - https://docs.scipy.org/doc/numpy-1.13.0/reference/c-api.dtype.html#c.npy_bool - `PyArray_DescrNewFromType` is at offset 96 - https://github.com/numpy/numpy/blob/36e017194c32a53cf2965a513243cb3c348095df/numpy/core/code_generators/numpy_api.py#L141 - `array_t` constructor that takes a size and a pointer should take `ssize_t`. - Fixes #1599
Boris Staletic committed -
Florian Apolloner committed
-
- 11 Jul, 2020 1 commit
-
-
Boris Staletic committed
-
- 10 Jul, 2020 2 commits
-
-
This avoids a potential conflict with names in the same scope of the same name as the embedded module, like namespaces or other global variables. Fixes #2172
Boris Staletic committed -
Yannick Jadoul committed
-
- 08 Jul, 2020 1 commit
-
-
* Change NAMESPACE_BEGIN and NAMESPACE_END macros into PYBIND11_NAMESPACE_BEGIN and PYBIND11_NAMESPACE_END * Fix sudden HomeBrew 'python not installed' error * Sweep difference in 'Class.__init__() must be called when overriding __init__' error message between CPython and PyPy under the rug * Homebrew updated to 3.8 yesterday. Co-authored-by: Henry Schreiner <HenrySchreinerIII@gmail.com>
Yannick Jadoul committed
-
- 07 Jul, 2020 3 commits
-
-
* Error out eval_file * Enable dynamic attribute support for Pypy >= 6 * Add a test for dynamic attribute support * Skip test for eval_file on pypy * Workaround for __qualname__ on PyPy3 * Add a PyPy3.6 7.3.0 build * Only disable in PyPy3 * Fix travis testing * No numpy and scipy for pypy * Enable test on pypy2 * Fix logic in eval_file * Skip a few tests due to bugs in PyPy * scipy wheels are broken. make pypy2 a failrue Co-authored-by: Andreas Kloeckner <inform@tiker.net>
Isuru Fernando committed -
Robert Haschke committed
-
- Fixes #2103
Dustin Spicuzza committed
-
- 30 Jun, 2020 8 commits
-
-
* Adding pybind11::cast overload for rvalue references
Yannick Jadoul committed -
Wenzel Jakob committed
-
Nils Leif Fischer committed
-
pybind11_add_module fails because FindPythonLibsNew.cmake try to link PythonXX.lib, but the first letter "p" should be lowercase.
Takahiro Ishikawa committed -
Guilherme Dantas committed
-
Lin Hsu committed
-
B Krishna Chaitanya committed
-
The PyEval_InitThreads() and PyEval_ThreadsInitialized() functions are now deprecated and will be removed in Python 3.11. Calling PyEval_InitThreads() now does nothing. The GIL is initialized by Py_Initialize() since Python 3.7.
Boris Staletic committed
-
- 29 Jun, 2020 5 commits
-
-
fatvlady committed
-
fatvlady committed
-
fatvlady committed
-
fatvlady committed
-
Closes #2270
Ashley Whetter committed
-
- 18 Jun, 2020 1 commit
-
-
Wenzel Jakob committed
-
- 15 Jun, 2020 1 commit
-
-
methylDragon committed
-
- 10 Jun, 2020 9 commits
-
-
Isuru Fernando committed
-
Sergei Izmailov committed
-
Sergei Izmailov committed
-
Sergei Izmailov committed
-
Sergei Izmailov committed
-
Sergei Izmailov committed
-
* added overload for l-value ref-qualified methods * Added test. Before, the code would have failed to build.
Clemens Sielaff committed -
* (docs) convert note to real note * (docs) Add information about (deep)copy
Matthijs van der Burgh committed -
For rationale, see #2241, eeb10448; there is a second entry point function defined by the PYBIND11_MODULE macro that also needs to be annotated as unused.
Thomas Köppe committed
-
- 08 Jun, 2020 1 commit
-
-
Simeon Ehrig committed
-
- 04 Jun, 2020 2 commits
-
-
This change defines a new, portable macro PYBIND11_MAYBE_UNUSED to mark declarations as unused, and annotates the PYBIND11_MODULE entry point with this attribute. The purpose of this annotation is to facilitate dead code detection, which might otherwise consider the module entry point function dead, since it isn't otherwise used. (It is only used via FFI.)
Thomas Köppe committed -
Andrey Dorozhkin committed
-
- 31 May, 2020 2 commits
-
-
Add warnings about extending STL
Eric Cousineau committed -
Eric Cousineau committed
-