- 16 Dec, 2021 7 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
Add "tp_pypy_flags" field to PyTypeObject struct when compiling in PyPy 6.0+ in order to avoid C compiler warnings about an uninitialised struct field.
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
This reverts commit 751532a5.
-
Stefan Behnel authored
This reverts commit f5aa00bb.
-
- 15 Dec, 2021 3 commits
-
-
Matus Valo authored
See https://github.com/cython/cython/issues/2529
-
Stefan Behnel authored
Exclude a C++17 test (currently in PR #3294) on macOS since it suffers from the same incompatibility issues as the other C++17 tests.
-
Stefan Behnel authored
-
- 14 Dec, 2021 6 commits
-
-
Arvind Natarajan authored
Closes https://github.com/cython/cython/issues/3938
-
Arvind Natarajan authored
Closes https://github.com/cython/cython/issues/3938
-
Matus Valo authored
With Cython syntax, we ignore the exception_check when a Python object is returned. In pure Python mode, with a Python object type as return type, we reject it. Instead of raising an error, we now just reset exception_check to False. Found in https://github.com/cython/cython/issues/2529
-
Matus Valo authored
Closes https://github.com/cython/cython/issues/2304
-
da-woods authored
* Warn when cyfunction.__[kw]defaults__ is changed Cython can't make use of these new defaults so it seems sensible to alert the user (even if we're choosing to allow the assignment for compatibility reasons). I know the warning mechanism is somewhat heavy. I think this is OK because it's unlikely that users will be repeatedly assigning to these attributes in a time-critical loop. Doesn't fix https://github.com/cython/cython/issues/2650, but hopefully alerts users to it.
-
Matus Valo authored
-
- 06 Dec, 2021 12 commits
-
-
da-woods authored
CPython added PyMem_RawCalloc and PyMem_Calloc in version 3.5. The #defines of PyMem_RawMalloc, PyMem_RawRealloc, and PyMem_RawFree are removed from Cython/Utility/ModuleSetupCode.c since the Raw versions allow use without the GIL but the non-Raw versions do not. Co-authored-by: William Schwartz <wkschwartz@gmail.com> Closes https://github.com/cython/cython/pull/3050 Closes https://github.com/cython/cython/pull/3047
-
Nicolas Hug authored
Closes https://github.com/cython/cython/issues/2760
-
da-woods authored
It requires Py_DecodeLocale which appears in 3.5. This is causing it to fail on Windows. It's somehow passing on Linux for reasons that I don't understand (but it really shouldn't be)
-
da-woods authored
Specifically this disallows memoryviews, but it extends to any future type that Cython has to generate manual reference counting code for. Closes https://github.com/cython/cython/issues/3085
-
da-woods authored
Fixes https://github.com/cython/cython/issues/4354
-
da-woods authored
As suggested in https://github.com/cython/cython/pull/4471#issuecomment-979489947 I don't think that we're getting any benefit from running the pypy known bugs test as part of the CI (and it's causing minor problems).
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
- 05 Dec, 2021 12 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Marius Wachtler authored
Fixes an issue which Pyston triggers. See https://github.com/cython/cython/issues/4200
-
da-woods authored
Exception messages had changed a little
-
Stefan Behnel authored
-
Stefan Behnel authored
Let a tracing test run slower to prevent div-by-zero crashes in line_profiler due to measured zero runtime.
-
da-woods authored
Python 3.11 hid _PyLong_FormatAdvancedWriter and _PyFloat_FormatAdvancedWriter. I've disabled USE_UNICODE_WRITER for the moment but I suspect we want to find replacements in the longer term.
-
Stefan Behnel authored
-
da-woods authored
To remove a compiler warning since this slot was added in 3.11a2.
-
Marius Wachtler authored
Fixes an issue which Pyston triggers. See https://github.com/cython/cython/issues/4200
-
da-woods authored
To silence a compiler warning since it was added in Python 3.11a2. For 0.29.x branch only.
-
Stefan Behnel authored
-