- 24 Mar, 2020 8 commits
-
-
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
-
- 20 Mar, 2020 1 commit
-
-
da-woods authored
Reasoning being that this make it easier to catch pypy3 regressions as they happen. * Fixed some very simple pypy3 failures (largely to do with different exception strings) * Splits pypy3_bugs.txt into three files - one for bugs that cause hard crashes (which we don't want to run in Travis at all); - one for bugs that are probably unfixable because they're just due to implementation details (e.g. when destructors are called). - all other bugs remain in pypy3_bugs.txt (The categorization has been done fairly quickly, so some bugs may be in the wrong place) * Made sure (hopefully) all bugs are now categorized, so a basic runtests.py with pypy3 should hopefully pass * Changed pypy3 to be required in Travis * Added an extra (optional) test that runs through pypy3_bugs.txt. The majority of this is expected to fail. This requires an extra option to runtest.py "--listfile", which just runs through the tests listed in the file. I haven't made pypy2 a required test in this commit - since Python2 support is deprecated soon, there seemed limited value in putting much effort into pypy2. Added faulthandler to runtests in the hope of being able to pin-down segmentation faults better on Travis FileListExcluder matches regexes, not just name. Uses the same mechanism as is used for processing string passed on commandline
-