summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix unused variable warnings from C/C++ compilers in generated codedalcinl/fix-c-used-variableLisandro Dalcin2020-08-031-4/+6
| | | | | * If both __setitem__ and __delitem__ special methods are defined, then there is no need to get the type name to report an unsupported operation.
* Merge branch '0.29.x'Stefan Behnel2020-08-021-2/+2
|\
| * Do not depend on the default type inference in "cpython/array.pxd".Stefan Behnel2020-08-021-2/+2
| |
* | Remove useless "extern" modifiers from cdef classes declared in "extern" ↵Stefan Behnel2020-08-021-3/+3
| | | | | | | | sections.
* | Use NumPy 1.18.x for testing on travis as long as 1.19.[01+] ships a ↵Stefan Behnel2020-08-011-1/+1
| | | | | | | | numpy.pxd that is incompatible with Cython 3.0.
* | Try to fix NumPy test failures by not setting the "NPY_NO_DEPRECATED_API" ↵Stefan Behnel2020-08-011-1/+1
| | | | | | | | #define for NumPy 1.19.[01].
* | Add a comment that numpy.pxd is maintained by the NumPy project.Stefan Behnel2020-08-011-0/+4
| |
* | Readability improvements in "numpy.pxd".Stefan Behnel2020-08-011-3/+8
| |
* | Change "Py_intptr_t" declaration in numpy.pxd to what CPython uses as ↵Stefan Behnel2020-08-011-1/+1
| | | | | | | | fallback. "int" seems overly lazy if it tends to be larger on many systems.
* | Remove dead code and dead comments from "numpy/__init__.pxd".Stefan Behnel2020-08-011-14/+2
| |
* | Clarify changelog entry.Stefan Behnel2020-08-011-1/+1
| |
* | Update changelog.Stefan Behnel2020-08-011-0/+12
| |
* | Add type "Py_hash_t" in pure Python mode.Stefan Behnel2020-08-011-1/+1
| |
* | Update issue templatesscoder2020-08-012-2/+38
| |
* | Add CI builds for different CPU architectures on travis.Stefan Behnel2020-08-011-0/+19
| |
* | Print test dependency versions to help with test failure debugging.Stefan Behnel2020-08-011-2/+24
| |
* | Add test comments on how "memslice.pyx" and "memoryview.pyx" relate.Stefan Behnel2020-08-012-0/+4
| |
* | Prepare release of 3.0a6.3.0a6Stefan Behnel2020-07-312-2/+2
| |
* | Update changelog.Stefan Behnel2020-07-291-3/+21
| |
* | Reorder test module to restore the "invalid - valid" order.Stefan Behnel2020-07-291-13/+14
| |
* | Fixed reference types being passed to getitemint (GH-3755)da-woods2020-07-292-0/+14
| |
* | Don't create CReference in C (only c++) (GH-3746)da-woods2020-07-291-1/+4
| |
* | Add handshake emoji to donations banner to make it more visible.Stefan Behnel2020-07-261-1/+1
| |
* | Delete unused custom ticket templatescoder2020-07-261-21/+0
| |
* | Update issue templatesscoder2020-07-262-0/+22
| |
* | Create bug templatescoder2020-07-261-0/+32
| |
* | Add donation banner to documentation.Stefan Behnel2020-07-222-0/+29
| |
* | Remove Google Analytics script from documentation to avoid tracking our users.Stefan Behnel2020-07-221-0/+2
| |
* | Clarify changelog entry on ways to deal with the incompatible binop method ↵Stefan Behnel2020-07-221-2/+5
| | | | | | | | change.
* | Handle `for x in cpp_function_call()` (GH-3667)da-woods2020-07-202-76/+146
| | | | | | | | | | | | | | | | | | | | | | | | | | Fixes https://github.com/cython/cython/issues/3663 This ensures that rvalues here are saved as temps, while keeping the existing behaviour for `for x in deref(vec)`, where the pointer for vec is copied, meaning it doesn't crash if vec is reassigned. The bit of this change liable to have the biggest effect is that I've changed the result type of dereference(x) and x[0] (where x is a c++ type) to a reference rather than value type. I think this is OK because it matches what C++ does. If that isn't a sensible change then I can probably inspect the loop sequence more closely to try to detect this.
* | Merge branch '0.29.x'Stefan Behnel2020-07-103-1/+19
|\ \ | |/
| * Prevent compile error when the result of repr() is assigned to a "unicode" ↵Stefan Behnel2020-07-103-1/+19
| | | | | | | | | | | | LHS with language_level=3. Closes https://github.com/cython/cython/issues/3736
* | Use inline properties on the "PyComplex" builtin type declared in ↵Stefan Behnel2020-07-091-3/+8
| | | | | | | | "cpython.complex" to provide C level access to the "real" and "imag" attributes (which Cython provides anyway for the 'undeclared' builtin type).
* | Beautify example output.Stefan Behnel2020-07-091-1/+1
| |
* | Document C inline properties.Stefan Behnel2020-07-092-0/+32
| |
* | Reformat doc paragraph.Stefan Behnel2020-07-091-2/+1
| |
* | PyPy does not support PyType_GetSlot(). Use type slots instead.Stefan Behnel2020-07-091-1/+1
| |
* | Add the new "c_api_binop_methods" directive to the documentation.Stefan Behnel2020-07-092-0/+10
| |
* | Update the documentation on the arithmetic special methods and issue a ↵Stefan Behnel2020-07-092-20/+43
| | | | | | | | | | | | "backwards compatibility" warning when the reversed method is not implemented. See https://github.com/cython/cython/issues/2056
* | Fix typo in error message.Stefan Behnel2020-07-091-1/+1
| |
* | Use the more appropriate CYTHON_USE_TYPE_SLOTS guard for accessing the binop ↵Stefan Behnel2020-07-091-1/+1
| | | | | | | | number slot.
* | Merge branch '0.29.x'Stefan Behnel2020-07-083-11/+31
|\ \ | |/
| * Update changelog.0.29.21Stefan Behnel2020-07-081-1/+1
| |
| * Disable test in Py2.6.Stefan Behnel2020-07-081-0/+8
| |
| * Using Py_UNICODE to store lone surrogates makes Py3 join surrogate pairs on ↵Stefan Behnel2020-07-081-2/+3
| | | | | | | | | | | | 16-bit Unicode platforms (Windows) when reading them back in, although we correctly processed them before. Instead, we now use the "unicode_escape" codec to store byte strings, because it can return surrogate characters (which the other codecs cannot).
| * Improve test output in case of failures.Stefan Behnel2020-07-071-5/+5
| |
| * Update changelog.Stefan Behnel2020-07-071-0/+3
| |
| * Add missing unordered_map template defaults (GH-3686)will2020-07-073-1/+29
| |
| * Update changelog.Stefan Behnel2020-07-071-0/+3
| |
| * Always consider 0-sized arrays as C- and F-contiguous (GH-3728)Clemens2020-07-072-9/+35
| | | | | | Fixes https://github.com/cython/cython/issues/2093