- 24 Mar, 2020 9 commits
-
-
da-woods authored
Now they make their own tiny cache of the relevant exceptions at module initialization so they can still access these without the GIL. closes https://github.com/cython/cython/issues/3406
-
Yuan authored
-
Diego Elio Pettenò authored
While the directives in the source files are still called `distutils`, the [Python upstream documentation](https://docs.python.org/3/library/distutils.html) does not recommend using distutils anymore, and rather points at setuptools, so avoid confusing new users by providing confusing legacy usage examples. Also, this corrects one example in which Extension is imported too late, and would cause annoying errors when running `setup.py`.
-
da-woods authored
The idea being that struct-types like memoryviews can generate their own reference counting code using a common interface with Python objects.
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
- 23 Mar, 2020 5 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Zackery Spytz authored
The comments are taken from the C API documentation (https://docs.python.org/3.8/c-api/iterator.html).
-
Zackery Spytz authored
The comments are taken from the C API documentation (https://docs.python.org/3.8/c-api/iterator.html).
-
Stefan Behnel authored
-
- 22 Mar, 2020 2 commits
-
-
Stefan Behnel authored
- CyFunction seems to lead to deeper stacks on recursion. - Passing integers through call layers can end up creating new int objects instead of keeping the identical objects ('is' test fails)'.
-
Stefan Behnel authored
-
- 21 Mar, 2020 24 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
da-woods authored
-
will-ca authored
-
Zackery Spytz authored
Closes #2514.
-
Zackery Spytz authored
The comments are taken from the C API documentation (https://docs.python.org/3.8/c-api/gen.html).
-
Thomas A Caswell authored
-
da-woods authored
-
will-ca authored
-
Zackery Spytz authored
Closes #2514.
-
Zackery Spytz authored
The comments are taken from the C API documentation (https://docs.python.org/3.8/c-api/gen.html).
-
Thomas A Caswell authored
-
Zackery Spytz authored
PySlice_Unpack() and PySlice_AdjustIndices() were missing from slice.pxd. The comments are taken from the C API documentation (https://docs.python.org/3.8/c-api/slice.html).
-
Zackery Spytz authored
PySlice_Unpack() and PySlice_AdjustIndices() were missing from slice.pxd. The comments are taken from the C API documentation (https://docs.python.org/3.8/c-api/slice.html).
-
Stefan Behnel authored
-
Stefan Behnel authored
Closes GH-3418.
-
da-woods authored
Original change https://github.com/cython/cython/pull/1927
-
Stefan Behnel authored
Exclude failing "complex.h" test on Windows, where old MSVC versions lack "<complex.h>" entirely and more recent versions fail to compile the test.
-
Stefan Behnel authored
-
Stefan Behnel authored
-
serge-sans-paille authored
-
Stefan Behnel authored
-
-
serge-sans-paille authored
-