Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
pybind11
/
41f8da4a95fae187cb74cc5dc4acc6d525bdeeda
/
tests
/
test_numpy_dtypes.cpp
b82c0f0
Allow std::complex field with PYBIND11_NUMPY_DTYPE (#831)
by Bruce Merry
· 7 years ago
8e0d832
Support arrays inside PYBIND11_NUMPY_DTYPE (#832)
by Bruce Merry
· 7 years ago
30d43c4
Now `shape`, `size`, `ndims` and `itemsize` are also signed integers.
by Cris Luengo
· 7 years ago
d400f60
Python buffer objects can have negative strides.
by Cris Luengo
· 7 years ago
0b6d08a
Add function for comparing buffer_info formats to types
by Patrick Stewart
· 8 years ago
f7f5bc8
Numpy: better compilation errors, long double support (#619)
by Jason Rhinelander
· 8 years ago
5271576
Use correct itemsize when constructing a numpy dtype from a buffer_info
by Patrick Stewart
· 8 years ago
e18bc02
Add default and converting constructors for all concrete Python types
by Dean Moldovan
· 8 years ago
abd3429
Add a test for numpy dtypes with custom names
by Ivan Smirnov
· 8 years ago
a6e6a8b
Require existing typeinfo for direct conversions
by Ivan Smirnov
· 8 years ago
7edd72d
Disallow registering dtypes multiple times
by Ivan Smirnov
· 8 years ago
cbbb783
Add a test for NumPy scalar conversion
by Ivan Smirnov
· 8 years ago
2f3f368
Add tests for numpy enum descriptors
by Ivan Smirnov
· 8 years ago
52f4be8
Make test initialization self-registering
by Jason Rhinelander
· 8 years ago
2391917
Fix test suite failure without numpy and improve module init diagnostics
by Dean Moldovan
· 8 years ago
665e880
Simplify tests by replacing output capture with asserts where possible
by Dean Moldovan
· 8 years ago
a0c1ccf
Port tests to pytest
by Dean Moldovan
· 8 years ago
[Renamed (97%) from example/example-numpy-dtypes.cpp]
245f77b
Use uint64_t instead of long in numpy tests (MSVC)
by Ivan Smirnov
· 8 years ago
f36ec97
Fix MSVC warnings in numpy example
by Ivan Smirnov
· 8 years ago
c6257f8
Allow nullptr in array ctors wherever possible
by Ivan Smirnov
· 8 years ago
10af58f
Add a few more dtype tests
by Ivan Smirnov
· 8 years ago
611e614
Add tests for py::dtype ctors
by Ivan Smirnov
· 8 years ago
e19980c
Add tests for new array/array_t ctors
by Ivan Smirnov
· 8 years ago
01f7409
Initial implementation of py::dtype
by Ivan Smirnov
· 8 years ago
5db8235
Rename example20 -> example-numpy-dtypes
by Ivan Smirnov
· 8 years ago
[Renamed (97%) from example/example20.cpp]
f9c0def
Add numpy wrappers for char[] and std::array<char>
by Ivan Smirnov
· 8 years ago
f5f75c6
Make struct packing in example20 MSVC-compliant
by Ivan Smirnov
· 8 years ago
b51fa02
Store array requests in local variables in tests
by Ivan Smirnov
· 8 years ago
8fa09cb
Strip padding fields in dtypes, update the tests
by Ivan Smirnov
· 8 years ago
5412a05
Rename PYBIND11_DTYPE to PYBIND11_NUMPY_DTYPE
by Ivan Smirnov
· 8 years ago
d0bafd9
Add a test for buffer format of unbound struct
by Ivan Smirnov
· 8 years ago
5e71e17
Make changes to format_descriptor backwards-compat
by Ivan Smirnov
· 8 years ago
4f16421
Add dtype_of<T>() function, update the tests
by Ivan Smirnov
· 8 years ago
669e142
Add test for a function accepting recarray (WIP)
by Ivan Smirnov
· 8 years ago
bdc9902
Add explicit test for recarray format descriptors
by Ivan Smirnov
· 8 years ago
7f913ae
Add tests for nested recarrays
by Ivan Smirnov
· 8 years ago
bb4015d
Add a basic test for recarrays and complex dtypes
by Ivan Smirnov
· 8 years ago