Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix unused variable warnings from C/C++ compilers in generated codedalcinl/fix-c-used-variable | Lisandro Dalcin | 2020-08-03 | 1 | -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 Behnel | 2020-08-02 | 1 | -2/+2 |
|\ | |||||
| * | Do not depend on the default type inference in "cpython/array.pxd". | Stefan Behnel | 2020-08-02 | 1 | -2/+2 |
| | | |||||
* | | Remove useless "extern" modifiers from cdef classes declared in "extern" ↵ | Stefan Behnel | 2020-08-02 | 1 | -3/+3 |
| | | | | | | | | sections. | ||||
* | | Use NumPy 1.18.x for testing on travis as long as 1.19.[01+] ships a ↵ | Stefan Behnel | 2020-08-01 | 1 | -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 Behnel | 2020-08-01 | 1 | -1/+1 |
| | | | | | | | | #define for NumPy 1.19.[01]. | ||||
* | | Add a comment that numpy.pxd is maintained by the NumPy project. | Stefan Behnel | 2020-08-01 | 1 | -0/+4 |
| | | |||||
* | | Readability improvements in "numpy.pxd". | Stefan Behnel | 2020-08-01 | 1 | -3/+8 |
| | | |||||
* | | Change "Py_intptr_t" declaration in numpy.pxd to what CPython uses as ↵ | Stefan Behnel | 2020-08-01 | 1 | -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 Behnel | 2020-08-01 | 1 | -14/+2 |
| | | |||||
* | | Clarify changelog entry. | Stefan Behnel | 2020-08-01 | 1 | -1/+1 |
| | | |||||
* | | Update changelog. | Stefan Behnel | 2020-08-01 | 1 | -0/+12 |
| | | |||||
* | | Add type "Py_hash_t" in pure Python mode. | Stefan Behnel | 2020-08-01 | 1 | -1/+1 |
| | | |||||
* | | Update issue templates | scoder | 2020-08-01 | 2 | -2/+38 |
| | | |||||
* | | Add CI builds for different CPU architectures on travis. | Stefan Behnel | 2020-08-01 | 1 | -0/+19 |
| | | |||||
* | | Print test dependency versions to help with test failure debugging. | Stefan Behnel | 2020-08-01 | 1 | -2/+24 |
| | | |||||
* | | Add test comments on how "memslice.pyx" and "memoryview.pyx" relate. | Stefan Behnel | 2020-08-01 | 2 | -0/+4 |
| | | |||||
* | | Prepare release of 3.0a6.3.0a6 | Stefan Behnel | 2020-07-31 | 2 | -2/+2 |
| | | |||||
* | | Update changelog. | Stefan Behnel | 2020-07-29 | 1 | -3/+21 |
| | | |||||
* | | Reorder test module to restore the "invalid - valid" order. | Stefan Behnel | 2020-07-29 | 1 | -13/+14 |
| | | |||||
* | | Fixed reference types being passed to getitemint (GH-3755) | da-woods | 2020-07-29 | 2 | -0/+14 |
| | | |||||
* | | Don't create CReference in C (only c++) (GH-3746) | da-woods | 2020-07-29 | 1 | -1/+4 |
| | | |||||
* | | Add handshake emoji to donations banner to make it more visible. | Stefan Behnel | 2020-07-26 | 1 | -1/+1 |
| | | |||||
* | | Delete unused custom ticket template | scoder | 2020-07-26 | 1 | -21/+0 |
| | | |||||
* | | Update issue templates | scoder | 2020-07-26 | 2 | -0/+22 |
| | | |||||
* | | Create bug template | scoder | 2020-07-26 | 1 | -0/+32 |
| | | |||||
* | | Add donation banner to documentation. | Stefan Behnel | 2020-07-22 | 2 | -0/+29 |
| | | |||||
* | | Remove Google Analytics script from documentation to avoid tracking our users. | Stefan Behnel | 2020-07-22 | 1 | -0/+2 |
| | | |||||
* | | Clarify changelog entry on ways to deal with the incompatible binop method ↵ | Stefan Behnel | 2020-07-22 | 1 | -2/+5 |
| | | | | | | | | change. | ||||
* | | Handle `for x in cpp_function_call()` (GH-3667) | da-woods | 2020-07-20 | 2 | -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 Behnel | 2020-07-10 | 3 | -1/+19 |
|\ \ | |/ | |||||
| * | Prevent compile error when the result of repr() is assigned to a "unicode" ↵ | Stefan Behnel | 2020-07-10 | 3 | -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 Behnel | 2020-07-09 | 1 | -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 Behnel | 2020-07-09 | 1 | -1/+1 |
| | | |||||
* | | Document C inline properties. | Stefan Behnel | 2020-07-09 | 2 | -0/+32 |
| | | |||||
* | | Reformat doc paragraph. | Stefan Behnel | 2020-07-09 | 1 | -2/+1 |
| | | |||||
* | | PyPy does not support PyType_GetSlot(). Use type slots instead. | Stefan Behnel | 2020-07-09 | 1 | -1/+1 |
| | | |||||
* | | Add the new "c_api_binop_methods" directive to the documentation. | Stefan Behnel | 2020-07-09 | 2 | -0/+10 |
| | | |||||
* | | Update the documentation on the arithmetic special methods and issue a ↵ | Stefan Behnel | 2020-07-09 | 2 | -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 Behnel | 2020-07-09 | 1 | -1/+1 |
| | | |||||
* | | Use the more appropriate CYTHON_USE_TYPE_SLOTS guard for accessing the binop ↵ | Stefan Behnel | 2020-07-09 | 1 | -1/+1 |
| | | | | | | | | number slot. | ||||
* | | Merge branch '0.29.x' | Stefan Behnel | 2020-07-08 | 3 | -11/+31 |
|\ \ | |/ | |||||
| * | Update changelog.0.29.21 | Stefan Behnel | 2020-07-08 | 1 | -1/+1 |
| | | |||||
| * | Disable test in Py2.6. | Stefan Behnel | 2020-07-08 | 1 | -0/+8 |
| | | |||||
| * | Using Py_UNICODE to store lone surrogates makes Py3 join surrogate pairs on ↵ | Stefan Behnel | 2020-07-08 | 1 | -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 Behnel | 2020-07-07 | 1 | -5/+5 |
| | | |||||
| * | Update changelog. | Stefan Behnel | 2020-07-07 | 1 | -0/+3 |
| | | |||||
| * | Add missing unordered_map template defaults (GH-3686) | will | 2020-07-07 | 3 | -1/+29 |
| | | |||||
| * | Update changelog. | Stefan Behnel | 2020-07-07 | 1 | -0/+3 |
| | | |||||
| * | Always consider 0-sized arrays as C- and F-contiguous (GH-3728) | Clemens | 2020-07-07 | 2 | -9/+35 |
| | | | | | | Fixes https://github.com/cython/cython/issues/2093 |