- 24 May, 2021 2 commits
-
-
Søren Fuglede Jørgensen authored
-
da-woods authored
Also remove ErrorType type defaults for nodes in ExprNodes Closes https://github.com/cython/cython/issues/4155
-
- 23 May, 2021 4 commits
-
-
Max Bachmann authored
-
scoder authored
Uses a special package prefix "cython.cimports", followed by the actual .pxd module/package names. Also allows "import cython.cimports.libc.math as libc_math" etc., rather than only "from ... import ...". All we need to guard against is that the import does not overwrite the name "cython".
-
-
Stefan Behnel authored
-
- 22 May, 2021 4 commits
-
-
Stefan Behnel authored
Assume that any assignment to a variable that has a PEP-526 type annotation is the first assignment to that variable. This makes literal list assignments to declared pointers work.
-
Stefan Behnel authored
-
Stefan Behnel authored
Fix pure Python struct test in Py<3.6 where keyword dicts are unordered. This means that cython.struct(x=int, y=float) has a non-deterministic order.
-
Stefan Behnel authored
-
- 21 May, 2021 1 commit
-
-
Stefan Behnel authored
Closes https://github.com/cython/cython/pull/4183 Closes https://github.com/cython/cython/issues/4182
-
- 20 May, 2021 5 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
ALways mark the entry of generator expression functions as used. Because, why not, they probably are. And it avoids false warnings. Fixes https://github.com/cython/cython/issues/1699
-
Stefan Behnel authored
-
scoder authored
This is a common gotcha for new users who name their .pyx file after the C file that they want to wrap. Closes https://github.com/cython/cython/issues/4177
-
- 19 May, 2021 4 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
- 18 May, 2021 3 commits
-
-
Ralf Gommers authored
-
Stefan Behnel authored
Disable some plain Python (non Cython related) tests that fail in Py3.10 due to changed error messages.
-
Yu Feng authored
When compiling pyarrow with cython 3.0 we get an error about the copy constructor of an object has been deleted on the generated context switch code. Also make the "cpp_temp_assignment" test only run in C++11 since it is based on `std::move()`.
-
- 15 May, 2021 8 commits
-
-
da-woods authored
The condition wasn't triggering so code wasn't being tested (). This applies to: ``` def f(vector[double] x): pass ``` which should now generate: ``` __pyx_v_a = __pyx_convert_vector_from_py_double(values[0]); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 5, __pyx_L3_error) ... __pyx_r = __pyx_pf_4cnvt_f(__pyx_self, __PYX_STD_MOVE_IF_SUPPORTED(__pyx_v_a)); ``` I haven't included any specific tests because I think it should be covered by the existing test-suite (now that it works) and it's only a performance improvement - it doesn't allow any new behaviour. See https://github.com/cython/cython/issues/4163
-
matsjoyce authored
-
Stefan Behnel authored
(Tried the "pattern" argument to loadTestsFromModule() in the unittest module, but it's not always taken into account, so manual selection is what works.)
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Max Bachmann authored
-
- 14 May, 2021 9 commits
-
-
Max Bachmann authored
-
Max Bachmann authored
-
Stefan Behnel authored
Disable "cycoverage" test job since it currently fails, probably dude to issues with the "Cython.Coverage" plugin.
-
Stefan Behnel authored
Add a coverage test job with a compiled Cython package to compare plain Python and compiled Cython both for completeness and speed.
-
Stefan Behnel authored
-
Zhenbo Li authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-