- 12 Sep, 2017 3 commits
-
-
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 9 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
-
Stefan Behnel authored
Prevent character escape sequences from being resolved in raw f-strings (fr"..."). Also fix some error reporting issues along the way. Update test_fstring.py test file from Py3.7.
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
Disable Pythran integration testing in travis as it currently fails to compile with the latest release version of Pythran (changes pending on their side).
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
- 10 Sep, 2017 7 commits
-
-
Stefan Behnel authored
Avoid using PySequence_ITEM() on METH_O calls as it involves much more overhead than PyTuple_GET_ITEM(). Also assume that we do not need to keep an extra reference to an item that we took from a call args tuple because someone else should at least hold a reference to that tuple.
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
- 09 Sep, 2017 6 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
Clean up Pythran setup in cythonize() and make it a little more robust by also looking at the extension, in case it already has the "np_pythran" option set.
-
Stefan Behnel authored
Inside of a module, it is safe to convert a function declared cdef int func() except *: ... into cdef int func() except? -1 because a) we need an exception return value anyway and b) there will always be an explicit exception check afterwards. Thus, changing the function implementation itself is safe. We must exclude functions that are only declared but not implemented since we do not control their signature and it is not safe to assume a specific exception return value if it is not declared.
-
Stefan Behnel authored
-
Stefan Behnel authored
-
- 08 Sep, 2017 2 commits
-
-
Stefan Behnel authored
Implement a "--pgo" option for the Jupyter magic that applies profile guided optimisation during C compilation.
-
Stefan Behnel authored
-
- 07 Sep, 2017 6 commits
-
-
Robert Bradshaw authored
-
Stefan Behnel authored
-
scoder authored
Update README on pyximport
-
Stefan Behnel authored
Closes #1859.
-
Stefan Behnel authored
Closes #1860.
-
Guilherme Caminha authored
-
- 06 Sep, 2017 3 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
Release buffer on validation errors. My guess is that we previously just leaked the buffer owner in that case.
-
Stefan Behnel authored
-
- 05 Sep, 2017 4 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-