| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Make CodeWriter inherit from ExpressionWriter in order to support all kinds ↵full_code_writer | Stefan Behnel | 2020-04-18 | 3 | -88/+63 |
| | | | | | of expressions without duplicating code. | ||||
| * | Add some missing branch hints. | Stefan Behnel | 2020-04-18 | 1 | -6/+6 |
| | | |||||
| * | Merge branch '0.29.x' | Stefan Behnel | 2020-04-17 | 1 | -4/+5 |
| |\ | |||||
| | * | Update changelog. | Stefan Behnel | 2020-04-17 | 1 | -0/+4 |
| | | | |||||
| * | | Merge branch '0.29.x' | Stefan Behnel | 2020-04-17 | 1 | -0/+1 |
| |\ \ | |/ | |||||
| | * | Clear "self.index_temps" after cleanup to avoid keeping dangling temporary ↵ | Stefan Behnel | 2020-04-17 | 1 | -0/+1 |
| | | | | | | | | | state. | ||||
| | * | Cleanup more generator temps (GH-3522) | Stefan Behnel | 2020-04-17 | 1 | -11/+12 |
| | | | | | | | | | | | * Fixed indexing temps for non-python objects. * Moved cleanup into release_temps since the temps survived into the result_code. | ||||
| * | | Add comment and make sure the type's (empty) list of index temps cannot be ↵ | Stefan Behnel | 2020-04-17 | 1 | -1/+2 |
| | | | | | | | | | changed by accident. | ||||
| * | | Simplify some redundant code by calling the obvious helper function instead. | Stefan Behnel | 2020-04-17 | 1 | -6/+4 |
| | | | |||||
| * | | Cleanup more generator temps (GH-3522) | da-woods | 2020-04-17 | 1 | -11/+12 |
| | | | | | | | | | | | | | * Fixed indexing temps for non-python objects. * Release another temp in PyMethodCallNode. Was causing warnings in generators_py. * Moved cleanup into release_temps since the temps survived into the result_code. | ||||
| * | | Merge branch '0.29.x' | Stefan Behnel | 2020-04-17 | 0 | -0/+0 |
| |\ \ | |/ | |||||
| | * | Release temps used for buffer indexing after use (GH-3517) | da-woods | 2020-04-15 | 1 | -3/+10 |
| | | | | | | | Closes https://github.com/cython/cython/issues/3430 | ||||
| * | | Update changelog. | Stefan Behnel | 2020-04-17 | 1 | -0/+4 |
| | | | |||||
| * | | Convert Py2 str to unicode directly when building fused function signature. | Stefan Behnel | 2020-04-17 | 1 | -6/+6 |
| | | | |||||
| * | | Remove accidentally duplicated code line. | Stefan Behnel | 2020-04-17 | 1 | -1/+0 |
| | | | |||||
| * | | Avoid an unnecessary conditional branch. | Stefan Behnel | 2020-04-16 | 1 | -4/+4 |
| | | | |||||
| * | | Prevent fused dispatcher optional arguments being overwritten (GH-3519) | da-woods | 2020-04-15 | 3 | -17/+26 |
| | | | | | | | | | | | | | | | | | | | * Prevent fused dispatcher optional arguments being overwritten If the 5th argument of the regular functions was optional it'd overwrite the _fused_sigindex default of the dispatcher, causing type errors at runtime. closes https://github.com/cython/cython/issues/3511 | ||||
| * | | Release temps used for buffer indexing after use (GH-3517) | da-woods | 2020-04-15 | 1 | -3/+10 |
| | | | | | | | Closes https://github.com/cython/cython/issues/3430 | ||||
| * | | Mention "cython_freeze" in the embedding docs page. | Stefan Behnel | 2020-04-14 | 1 | -1/+3 |
| | | | |||||
| * | | Add a stub documentation page about embedding Cython modules in C/C++ ↵ | Stefan Behnel | 2020-04-14 | 2 | -1/+28 |
| | | | | | | | | | applications. | ||||
| * | | Update changelog. | Stefan Behnel | 2020-04-13 | 1 | -0/+5 |
| | | | |||||
| * | | Drop unused code-paths associated with "if cython.compiled" early (GH-3507) | da-woods | 2020-04-13 | 3 | -3/+54 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows things to work like: # in pxd file from libc.math cimport sin # in py file if not cython.compiled: from math import sin # previously failed with cython compile # error because it was assigning to a cdef name This seems worthwhile because it makes it easier to write code that re-assigns cdef names and so works in both modes. | ||||
| * | | Reduce some overhead in the fused function selection code. | Stefan Behnel | 2020-04-13 | 1 | -13/+12 |
| | | | |||||
| * | | Merge branch '0.29.x' | Stefan Behnel | 2020-04-13 | 2 | -11/+11 |
| |\ \ | |/ | |||||
| | * | Prevent calling PyObject_GC_Track() in __Pyx_CyFunction_New() when ↵ | Stefan Behnel | 2020-04-13 | 3 | -34/+60 |
| | | | | | | | | | | | | | | | | | instantiating a fused function before the object fields of the fused function subtype are fully initialised. See https://bugs.python.org/issue38392 Closes GH-3215. Supersedes GH-3216. | ||||
| | * | Fix a reference leak when PyList_Append() fails. | Stefan Behnel | 2020-04-13 | 1 | -6/+7 |
| | | | |||||
| | * | Fix error label name. | Stefan Behnel | 2020-04-13 | 1 | -1/+1 |
| | | | |||||
| | * | Update changelog. | Stefan Behnel | 2020-04-12 | 1 | -0/+1 |
| | | | |||||
| * | | Merge branch '0.29.x' | Stefan Behnel | 2020-04-12 | 2 | -3/+5 |
| |\ \ | |/ | |||||
| | * | Make travis install script fail on intermediate errors. | Stefan Behnel | 2020-04-12 | 1 | -6/+6 |
| | | | |||||
| | * | Debug conda issues on travis. | Stefan Behnel | 2020-04-12 | 1 | -3/+5 |
| | | | |||||
| | * | Add missing "@cython.binding" decorator for Python code. | Stefan Behnel | 2020-04-12 | 2 | -0/+4 |
| | | | |||||
| | * | Fix missing error handling in non-CPython code. | Stefan Behnel | 2020-04-12 | 1 | -1/+1 |
| | | | |||||
| * | | Sprinkle lots of branch prediction hints in places where exceptions are ↵ | Stefan Behnel | 2020-04-12 | 5 | -39/+40 |
| | | | | | | | | | being handled or otherwise exceptional cases occur. | ||||
| * | | Simplify some decref-set patterns using the __Pyx_Py_XDECREF_SET() macro. | Stefan Behnel | 2020-04-12 | 3 | -44/+15 |
| | | | |||||
| * | | Fix missing error handling in non-CPython code. | Stefan Behnel | 2020-04-12 | 1 | -1/+1 |
| | | | |||||
| * | | Fixed all assignments being added to the module in the limited API (GH-3501) | da-woods | 2020-04-12 | 1 | -9/+8 |
| | | | | | | | Mainly helps for adding attributes to classes, but undoubtedly fixes other things too. | ||||
| * | | Remove dead fallback code: inspect.getcallargs() was added in Py2.7. | Stefan Behnel | 2020-04-12 | 1 | -32/+1 |
| | | | |||||
| * | | Update changelog.3.0a1 | Stefan Behnel | 2020-04-11 | 1 | -1/+1 |
| | | | |||||
| * | | Add partitioning and sorting operations to libcpp.algorithm (GH-3202) | Matthew Edwards | 2020-04-11 | 5 | -72/+350 |
| | | | | | | | | | | | | | | | | | | | | | * Add is_partitioned and partition to libcpp.algorithm * Add is_sorted and is_sorted_until to libcpp.algorithm * Add partition_copy, stable_partition, and partition_point to libcpp.algorithm * Move tests for sort and partial_sort into cpp_stl_algo_sorting_ops, add greater to libcpp.functional * Add partial_sort_copy to libcpp.algorithm * Add stable_sort to libcpp.algorithm * Add nth_element to libcpp.algorithm * Add missing except specifiers in libcpp.algorithm | ||||
| * | | Update changelog. | Stefan Behnel | 2020-04-11 | 1 | -4/+3 |
| | | | |||||
| * | | Fix refleak in limited-api case for cross-module shared extension types and ↵ | Stefan Behnel | 2020-04-11 | 2 | -10/+10 |
| | | | | | | | | | store them correctly as PyTypeObject* instead of a generic (and unusable) PyObject*. | ||||
| * | | Remove incorrect error handling in limited-api case. | Stefan Behnel | 2020-04-11 | 1 | -1/+2 |
| | | | |||||
| * | | Reduce user expectations for the limited API support in the changelog (GH-3500) | da-woods | 2020-04-11 | 1 | -1/+4 |
| | | | | | | | | | The current wording implies that users can expect it to work, which isn't really the current state. It seems better not to claim too much until it's a bit more advanced. | ||||
| * | | Update changelog. | Stefan Behnel | 2020-04-11 | 1 | -0/+19 |
| | | | |||||
| * | | Require Py3.3 as the minimum stable ABI when using the limited C-API. | Stefan Behnel | 2020-04-11 | 1 | -1/+1 |
| | | | |||||
| * | | Prevent calling PyObject_GC_Track() in __Pyx_CyFunction_New() when ↵ | Stefan Behnel | 2020-04-11 | 2 | -31/+52 |
| | | | | | | | | | | | | | | | | | instantiating a fused function before the object fields of the fused function subtype are fully initialised. See https://bugs.python.org/issue38392 Closes GH-3215. Supersedes GH-3216. | ||||
| * | | Assume that code passed into cython.inline() is always NumPy 1.7+ clean, so ↵ | Stefan Behnel | 2020-04-11 | 1 | -4/+8 |
| | | | | | | | | | that we can get rid of the C compiler warning about deprecated NumPy API usage. | ||||
| * | | Add cython.inline() test that repeatedly uses the same code. | Stefan Behnel | 2020-04-11 | 1 | -0/+15 |
| | | | |||||
| * | | Skip numpy inline test rather than discarding it if numpy is not installed. | Stefan Behnel | 2020-04-11 | 1 | -9/+10 |
| | | | |||||
