- 07 Jul, 2020 8 commits
-
-
Stefan Behnel authored
-
will authored
-
Stefan Behnel authored
-
Clemens authored
Fixes https://github.com/cython/cython/issues/2093
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
Disable Py_UNICODE fallback for __Pyx_UnicodeContainsUCS4() in Py3.9 since Py_UNICODE is deprecated and PEP-393 unicode is practically required.
-
scoder authored
* Really only use PyUnicode_FromUnicode() for strings that contain lone surrogate, not for normal non-BMP strings and not for surrogate pairs on 16bit Unicode platforms. See https://github.com/cython/cython/issues/3678 * Extend buildenv test to debug a MacOS problem. * Add a test for surrogate pairs in Unicode strings. * Limit PyUnicode_FromUnicode() usage to strings containing lone surrogates. * Accept ambiguity of surrogate pairs in Unicode string literals when generated on 16bit Py2 systems.
-
- 06 Jul, 2020 3 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
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
-