- 14 Apr, 2021 7 commits
-
-
Stefan Behnel authored
-
da-woods authored
* Handle constant folding for LanguageLevel 2 on Python 3. Ensure that when StrNode is a BytesLiteral, that we don't coerce it to unicode. * Add test for string multiplication bug. Needed to change the TreePath slightly to allow bytes-to-str comparison. Fixes https://github.com/cython/cython/issues/3951
-
Stefan Behnel authored
-
peng weikang authored
Remove incorrect dict unpacking optimisation that leaked external dict changes into the result (GH-4091) Closes https://github.com/cython/cython/issues/3227
-
vorfol authored
Creating global CDEFS for holding compiler definitions. Then pass it to the distutils. Also add .vscode folder to .gitignore Fixes https://github.com/cython/cython/issues/4096
-
Stefan Behnel authored
-
- 12 Apr, 2021 1 commit
-
-
Victor Stinner authored
Fix optimised_pow2_inplace() doctest on Python 3.10 because the error message changed. Python 3.9 error message: unsupported operand type(s) for ** or pow(): 'int' and 'str' Python 3.10 error message: unsupported operand type(s) for **=: 'int' and 'str'
-
- 11 Apr, 2021 4 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
Re-disable third-party integration testing in Py2.6 entirely since most packages aren't compatible anymore (and I don't want to dig up the versions that are).
-
Stefan Behnel authored
Freeze the test dependency packages for Python 2.x to prevent further deprecations. More and more packages drop Py2 support these days.
-
- 30 Mar, 2021 4 commits
-
-
Stefan Behnel authored
-
da-woods authored
See https://github.com/cython/cython/issues/3919
-
Victor Stinner authored
The loop parameter of asyncio.sleep(), deprecated in Python 3.8, has been removed in Python 3.10. asyncio.sleep() gets implicitly the loop in Python 3.10 and it is safe to do the same on Python 3.6: https://docs.python.org/dev/whatsnew/3.10.html#changes-in-the-python-api
-
Victor Stinner authored
Backport code from the master branch: * commit 4e785d42 * commit a9fb7768
-
- 21 Mar, 2021 2 commits
-
-
da-woods authored
Backported from 3dc2b9df Partial fix for https://github.com/cython/cython/issues/3919
-
Stefan Behnel authored
-
- 18 Mar, 2021 2 commits
-
-
Stefan Behnel authored
-
Victor Stinner authored
The `test.support` has been split into sub-modules. Adapt `test_exceptions` (originally coped from CPython) for these changes.
-
- 19 Feb, 2021 2 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
- 18 Feb, 2021 3 commits
-
-
Stefan Behnel authored
-
Warren Weckesser authored
Eliminate C compiler warnings by making the constness of the char* pointers in the declarations in pycapsule.pxd match the actual types of the PyCapsule_* functions.
-
Stefan Behnel authored
-
- 09 Feb, 2021 2 commits
-
-
Stefan Behnel authored
-
da-woods authored
Closes https://github.com/cython/cython/issues/4000
-
- 23 Jan, 2021 1 commit
-
-
Robert Bradshaw authored
Warning message on cpdef variables (0.29.x)
-
- 08 Jan, 2021 1 commit
-
-
da-woods authored
Allowing these gives people the false impression that they do something meaningful. "Fixes" https://github.com/cython/cython/issues/3959
-
- 09 Dec, 2020 1 commit
-
-
Robert Bradshaw authored
Use __Pyx_SET_SIZE() and __Pyx_SET_REFCNT()
-
- 04 Dec, 2020 1 commit
-
-
Victor Stinner authored
Don't access directly PyObject.ob_refcnt and PyVarObject.ob_size.
-
- 28 Nov, 2020 1 commit
-
-
neonene authored
The C-API function applied in previous commit (https://github.com/cython/cython/commit/b37607f46b165e81f7af2b4eec2ae7f76f7717df) is now also obsolete. This patch works for cython 0.29 and cpython after (https://github.com/python/cpython/commit/1e996c3a3b51e9c6f1f4cea8a6dbcf3bcb865060#diff-d2c90d06d281ca8dd7ac8b90109fc26755f7319dd209b5f9416efdecfa56e289).
-
- 27 Nov, 2020 1 commit
-
-
Stefan Behnel authored
-
- 26 Nov, 2020 4 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
- 18 Nov, 2020 2 commits
-
-
Stefan Behnel authored
Add flags and missing exception declaration for PyOS_*() string conversion functions in cpython/conversion.pxd.
-
Stefan Behnel authored
-
- 08 Nov, 2020 1 commit
-
-
Stefan Behnel authored
Closes https://github.com/cython/cython/pull/3902
-