- 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 4 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Victor Stinner authored
* Add __Pyx_SET_SIZE() function: use Py_SET_SIZE() on Python 3.9.0a4 and newer, or use Py_SIZE() as an l-value on older Python versions. Py_SIZE() must not be used as an l-value anymore in Python 3.9: Py_SET_SIZE() must be used instead: * https://bugs.python.org/issue39573 * https://docs.python.org/dev/c-api/structures.html#c.Py_SET_SIZE * Add __Pyx_SET_REFCNT() function: use Py_SET_REFCNT() on Python 3.9.0a4 and newer, or use Py_REFCNT() as an l-value on older Python versions. Py_REFCNT() must not be used as an l-value anymore in Python 3.9: Py_SET_REFCNT() must be used instead: * https://bugs.python.org/issue39573 * https://docs.python.org/dev/c-api/structures.html#c.Py_SET_REFCNT Use it in ModuleNode.generate_usr_dealloc_call(): * Replace ++Py_REFCNT(o) with __Pyx_SET_REFCNT(o, Py_REFCNT(o) + 1) * Replace --Py_REFCNT(o) with __Pyx_SET_REFCNT(o, Py_REFCNT(o) - 1)
-
- 26 May, 2020 7 commits
-
-
Robert Bradshaw authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Celelibi authored
-
serge-sans-paille authored
Fixes #1911
-
Stefan Behnel authored
Fix handling of "no-cpp" test tag for error tests, where "cpp" is already removed from the list of test backends.
-
Stefan Behnel authored
-