- 15 Sep, 2017 2 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
- 14 Sep, 2017 1 commit
-
-
Stefan Behnel authored
-
- 13 Sep, 2017 12 commits
-
-
scoder authored
PyPy 3 fixes
-
Ronan Lamy authored
Note that on pypy, SOABI tags start with '.pypy' which contains the string '.py'...
-
Ronan Lamy authored
It is used even when CYTHON_USE_TYPE_SLOTS is disabled.
-
Ronan Lamy authored
-
Ronan Lamy authored
-
Ronan Lamy authored
Disable it on pypy3, since it doesn't support PEP 442 yet.
-
Ronan Lamy authored
-
Stefan Behnel authored
Remove special case support for block name suffix after "XYZ.proto" utility code title. Replaced by existing "@proto_block" option.
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
Refactor coercion predicate function to make it clearer what happens for the template based conversions and for the non-template string conversions.
-
Stefan Behnel authored
-
- 12 Sep, 2017 23 commits
-
-
Stefan Behnel authored
Avoid deprecation warning for "Py_UNICODE_strlen()" by always using the version that we ship anyway.
-
Stefan Behnel authored
-
Stefan Behnel authored
Improve C macro guard: __Pyx_GetAttr() should be optimised exactly iff __Pyx_PyObject_GetAttrStr() is also optimised.
-
Stefan Behnel authored
Avoid inlining some generic fallback functions. However short they are, they are just fallbacks and shouldn't get in the way.
-
Stefan Behnel authored
-
Stefan Behnel authored
Refactor dependencies between buffer/memoryview utility code to avoid unused C code and remove explicit utility code dependency lists from Python code where possible since they are much better expressed right in the C code.
-
Stefan Behnel authored
Split 2-tuple unpacking helper function into a (still) inlineable fast-path and a slow fallback function that does not need inlining.
-
Stefan Behnel authored
-
Stefan Behnel authored
Also avoid double-check overhead for strigns and string subtypes in Py2: only needed in Py2.6 and not really worth it.
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
Supply a general macro for fast exception setting without value (e.g. StopIteration).
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
Mark intended fall-through steps in switch statement of int-pow() implementation with "CYTHON_FALLTHROUGH" to avoid compiler warnings.
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
Avoid excessive inlining of __Pyx_GetBufferAndValidate() helper and only inline the initial None check through a macro. Assumption is that explicit None assignments to buffer variables are somewhat common to clear data and NULL checks can be eliminated, but everything else takes substantial time anyway.
-
Stefan Behnel authored
-
- 11 Sep, 2017 2 commits
-
-
Stefan Behnel authored
Switch setup.py script to calling cythonize() through "new_build_ext" to get a clean split between the "translate" and "compile" steps. Previously, it would alternate between the two, which meant that Cython was already partially compiled while it was still being used.
-
scoder authored
Attempt to use a faster exception value for return type annotations that check for exceptions
-