- 07 May, 2020 5 commits
-
-
Stefan Behnel authored
-
scoder authored
* Support for versioned pxd files like "lib.cython-30.pxd" for a Cython 3.0+ version. See https://github.com/cython/cython/issues/3573 * Fix test in Py2 by avoiding namespace packages in favour of a normal package.
-
Stefan Behnel authored
Remove "PYTHONHOME" setting from embed-test since it seems to break the I/O encoding setup in (at least) Py3.8+ venvs.
-
Stefan Behnel authored
-
Stefan Behnel authored
-
- 06 May, 2020 6 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
See https://github.com/numpy/numpy/pull/16170
-
Stefan Behnel authored
Add more 'nogil' declarations to NumPy functions that do not require the GIL (according to the declarations shipped by NumPy itself). See https://github.com/numpy/numpy/pull/16170
-
Stefan Behnel authored
-
Stefan Behnel authored
Remove the outdated getbuffer/releasebuffer implementations for the NumPy 'ndarray' since there are probably no NumPy installations out there anymore that do not support the buffer protocol themselves and are still worth supporting. See https://github.com/numpy/numpy/pull/12284#discussion_r420378155 See GH-3573
-
- 05 May, 2020 15 commits
-
-
Stefan Behnel authored
Reverse the tuple item order in the utility code caching key to move the most selective item first (just in case if we ever get dict collisions).
-
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 3 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-