- 05 May, 2020 14 commits
-
-
Stefan Behnel authored
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
Tighten "numpy_attributes" test to assert that it's actually using a property call and not an attribute access. Also add a test for the newly added "ndarray.data" property.
-
Stefan Behnel authored
-
Stefan Behnel authored
Mark the embedded C main() function in the embedding test as "extern C" in C++ to see if that fixes the C++ builds in MSVC.
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
Fix a C compiler warning about unused cleanup code in buffer using functions that always raise (found by clang in the bufaccess.pyx test).
-
Matti Picus authored
-
- 04 May, 2020 4 commits
-
-
scoder authored
* Rewrite C property support (GH-2640) based on inline C methods. Supersedes GH-2640 and GH-3095. Closes GH-3521. * Test fix for `numpy_parallel.pyx`: avoid depending on whether "nd.shape" requires the GIL or not. * Turn NumPy's "ndarray.data" into a property to avoid direct struct access. * Make "ndarray.size" accessible without the GIL.
-
Stefan Behnel authored
-
Stefan Behnel authored
Prevent VerboseCodeWriter from inserting nul-bytes into the C file by switching to a more "standard" way of inserting code at a later time.
-
Stefan Behnel authored
-
- 03 May, 2020 7 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
- 02 May, 2020 14 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
Improve error handling in "cython.array" creation code to avoid calling Py_BuildValue() with an exception set if "__pyx_format_from_typeinfo()" failed.
-
Stefan Behnel authored
Avoid unnecessary int-object creation when formatting numbers as strings in format_from_typeinfo() utility function.
-
Stefan Behnel authored
Improve error handling in "cython.array" creation code to avoid calling Py_BuildValue() with an exception set if "__pyx_format_from_typeinfo()" failed.
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
Refactor step handling in slice_memviewslice() utility code to make it more obvious what is happening in which case. Closes GH-3568.
-
Stefan Behnel authored
Avoid useless resorting to char* in nogil code in MemoryView.pyx for raising exceptions, since constant Python strings are just fine there.
-
- 01 May, 2020 1 commit
-
-
Stefan Behnel authored
-