- 18 May, 2020 1 commit
-
-
Stefan Behnel authored
Disable GC during hacked calls to PyType_Ready() that simulate a heap type for an actual non-heap type, because it can lead to crashes if GC visits such a hacked type. Closes https://github.com/cython/cython/issues/3603
-
- 16 May, 2020 9 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
Also mark the case of an uninitialised memory view slice as "unlikely()" when refcounting it since it's most probably not a performance critical case.
-
Stefan Behnel authored
Mark the last deletion of a memory view slice as "unlikely()" to ask the C compiler to optimise for the repeated re-use case (usually in loops).
-
Stefan Behnel authored
-
Stefan Behnel authored
Mark the first creation of a memory view slice as "unlikely()" to ask the C compiler to optimise for the repeated re-use case (usually in loops).
-
Stefan Behnel authored
-
Stefan Behnel authored
Fix up the NumPy warnings hack by using the actual "import_array()" function declaration instead of a wrong one.
-
jbrockmendel authored
-
- 15 May, 2020 8 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
da-woods authored
Closes https://github.com/cython/cython/issues/3594
-
Stefan Behnel authored
Closes https://github.com/cython/cython/issues/1462
-
Stefan Behnel authored
-
Stefan Behnel authored
Move the work directory of the examples tests into an 'examples/' subdirectory to get it out of the way of the other test types.
-
Stefan Behnel authored
-
Stefan Behnel authored
-
- 13 May, 2020 1 commit
-
-
Stefan Behnel authored
Make sure the module init function is declared as 'extern "C"' in C++ also when the CYTHON_NO_PYINIT_EXPORT option is used. Closes #3414.
-
- 12 May, 2020 2 commits
-
-
Stefan Behnel authored
-
MegaIng authored
Closes #3038.
-
- 10 May, 2020 1 commit
-
-
Stefan Behnel authored
-
- 09 May, 2020 3 commits
-
-
Stefan Behnel authored
Fix optimisation of aligned '%' formats ('%05s', '%-5s') into the correct f-string alignment format. Closes https://github.com/cython/cython/issues/3476
-
Stefan Behnel authored
-
scoder authored
Floats do not support '{x:d}' formatting and need conversion to 'int' first. Closes https://github.com/cython/cython/issues/3092
-
- 02 May, 2020 2 commits
-
-
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.
-
- 01 May, 2020 10 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
See https://github.com/cython/cython/pull/3562
-
Stefan Behnel authored
-
Stefan Behnel authored
-
smutch authored
See #1407.
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Kamekameha authored
These are mutable and therefore affect the stdlib build_ext options. Fixes #2209
-
Stefan Behnel authored
-
- 29 Apr, 2020 3 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-