- 06 Jul, 2020 1 commit
-
-
Stefan Behnel authored
-
- 05 Jul, 2020 1 commit
-
-
Victor Stinner authored
See https://github.com/cython/cython/pull/3677
-
- 01 Jul, 2020 3 commits
-
-
scoder authored
* Validate and fix temp releasing (GH-3708) Backports 92147baf. * Fix a temp leak in the type init code. * Fix temp leaks in fused types initialisation code. * Correctly release the buffer index temps allocated for index calculations. * Make tests fails hard if a temp variable is not released at the end of a generated function. * Fix temp leak in switch statement code. * Make end-to-end tests fail on refnanny output. * Fix result temp leak in PyTypeTestNode. * Fix result temp leak in external type/function import code and enable the refnanny check for them. * Fix temp leak when try-return-finally is used in generators. * Make it explicit when an allocated temp is not meant to be reused. * Fix temp leak when assigning to the real/imag attributes of complex numbers. * Fix temp leak when assigning to a memoryview slice. * Clean up "num_threads" result temp in parallel section, not only in prange loop. * Fix temp leak in Pythran buffer setitem code. * Simplify NumPyMethodCallNode since it does not need the Python function anymore. Previously, it generated code that needlessly looked up the Python function without actually using it. * Fix temp leak when deleting C++ objects. * Add a test that actually reusing temps when deleting C++ objects works correctly.
-
Stefan Behnel authored
-
Stefan Behnel authored
-
- 30 Jun, 2020 3 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
- 29 Jun, 2020 1 commit
-
- 20 Jun, 2020 1 commit
-
-
Stefan Behnel authored
exec() did not allow recent Python syntax features in Py3.8+ due to https://bugs.python.org/issue35975 Closes https://github.com/cython/cython/issues/3695
-
- 19 Jun, 2020 3 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Thomas A Caswell authored
-
- 17 Jun, 2020 7 commits
-
-
Stefan Behnel authored
-
Michał Górny authored
Rebased 1bb26b96 for cython 0.29.x, and made conditional to Python 3. This does not solve the original staticmethod problem in Python 2 but it does resolve classmethod problems in Python 3.9. Therefore, it unbreaks other packages on Python 3.9, improves overall state for Python 3 and does not introduce regressions in Python 2.
-
Stefan Behnel authored
Re-add "c_api_binop_methods" directive for backwards compatibility after reverting https://github.com/cython/cython/pull/3633 and force it to "False". Closes #3688.
-
Stefan Behnel authored
This reverts commit e6a81240.
-
Stefan Behnel authored
This reverts commit d849fb23.
-
Stefan Behnel authored
This reverts commit bcb93877.
-
Stefan Behnel authored
This reverts commit 02bb311d.
-
- 14 Jun, 2020 5 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
This reverts commit 66773260.
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Jeroen Demeyer authored
-
- 11 Jun, 2020 2 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
Closes https://github.com/cython/cython/pull/3677
-
- 10 Jun, 2020 3 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
Allow selecting specific doctests in test modules with "-k pattern", instead of always running all tests.
-
Stefan Behnel authored
Closes https://github.com/cython/cython/issues/3674
-
- 05 Jun, 2020 2 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
Return statements inside of nested try-except statements lead to an incorrect control flow graph that did not take the outer 'finally' clauses into account. Closes https://github.com/cython/cython/issues/3666
-
- 04 Jun, 2020 6 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
da-woods authored
classmethod() should fall back to calling PyClassMethod_New() instead of deciding for itself that the type is invalid. (GH-3660)
-
da-woods authored
-
da-woods authored
Fixes https://github.com/cython/cython/issues/3642
-
- 29 May, 2020 1 commit
-
-
Stefan Behnel authored
Fix detection of reusable utility code: whenever we do string and/or unbound method replacements at all, it's not reusable.
-
- 27 May, 2020 1 commit
-
-
Stefan Behnel authored
-