- 01 Apr, 2022 1 commit
-
-
Julien Jerphanion authored
-
- 31 Mar, 2022 2 commits
-
-
da-woods authored
Since cimporting directly from "cpython" has long been deprecated. e.g. https://github.com/cython/cython/issues/4707
-
Stefan Behnel authored
The license follows that of the official Python logo, which it is derived from.
-
- 27 Mar, 2022 2 commits
-
-
Matti Picus authored
-
Stefan Behnel authored
-
- 21 Mar, 2022 3 commits
-
-
Stefan Behnel authored
-
Yuriy Chernyshov authored
Unconditionally adding `/D_USE_MATH_DEFINES` via cmdline triggers `-Wmacro-redefined` in cython-generated code.
-
Yuriy Chernyshov authored
Unconditionally adding `/D_USE_MATH_DEFINES` via cmdline triggers `-Wmacro-redefined` in cython-generated code.
-
- 17 Mar, 2022 1 commit
-
-
da-woods authored
It appears to have been be used for Python < 2.6 (which didn't have the new buffer protocol). Most of the mechanism had already been removed, but the capsule attributes that it relied on were still generated. Also removed some utility code that was only used for this feature.
-
- 15 Mar, 2022 2 commits
-
-
da-woods authored
For fused functions it makes sense that the return type is ignored (a function can't be specialized based on return type alone) but for function pointers the return type should be included (since such a pointer might be an argument to a fused function) Fixes https://github.com/cython/cython/issues/4644
-
da-woods authored
-
- 14 Mar, 2022 8 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
Make the pickle test actually test that auto-pickling uses the right checksum (and not a user implemented reduce method that uses no checksums at all).
-
Stefan Behnel authored
Make error message more readable by using hex integer values for all presented checksums, not just the compile time ones.
-
Stefan Behnel authored
-
Stefan Behnel authored
For the auto-pickle checksum, allow SHA-1 and SHA-256 which are used by Cython 3.x pickles now. Otherwise stick to MD5 since that was used before. Closes https://github.com/cython/cython/issues/4680
-
Stefan Behnel authored
For the auto-pickle checksum, allow MD5 again since it was used by Cython 0.x pickles. Otherwise switch to SHA-256 since that should be safe enough to stay available in Python's hashlib module for another while. Closes https://github.com/cython/cython/issues/4680
-
- 13 Mar, 2022 1 commit
-
-
Stefan Behnel authored
-
- 12 Mar, 2022 4 commits
-
-
Thomas A Caswell authored
In https://github.com/python/cpython/pull/31530 https://bugs.python.org/issue46836 the `_frame` struct was moved to an internal header, however the public API is primarily read-only, and Cython needs to build PyFrameObjects so still import the internal headers. Also sets the Py_BUILD_CORE define for py311a6, trying to restrict it to the frame header.
-
Stefan Behnel authored
-
Thomas A Caswell authored
In https://github.com/python/cpython/pull/31530 https://bugs.python.org/issue46836 the `_frame` struct was moved to an internal header, however the public API is primarily read-only, and Cython needs to build PyFrameObjects so still import the internal headers. Also sets the Py_BUILD_CORE define for py311a6, trying to restrict it to the frame header.
-
da-woods authored
-
- 08 Mar, 2022 1 commit
-
-
Stefan Behnel authored
-
- 04 Mar, 2022 1 commit
-
-
0dminnimda authored
Closes https://github.com/cython/cython/issues/3066
-
- 28 Feb, 2022 1 commit
-
-
Stefan Behnel authored
Fix minimal compile mode. FlowControl.py also needs to be compiled since it depends on the C level interface of Visitor.py.
-
- 26 Feb, 2022 2 commits
-
-
0dminnimda authored
-
da-woods authored
Memoryview temps weren't being properly incremented (at the start of the loop) or decremented (at the end of the loop). They were, however, decremented in the exception handling case. Long-term I think we really should unify reference counting for memoryviews further. It's *slightly* different from PyObjects (mainly that it happens in wrapper functions rather than the main function) and that leads to a large chance that it just gets missed. Fixes https://github.com/cython/cython/issues/4662
-
- 25 Feb, 2022 6 commits
-
-
Stefan Behnel authored
Improve the bug/feature templates to provide a clearer hint why cython-users is a better place to get help than the bug tracker.
-
Stefan Behnel authored
Fix test by adding "expected" warnings. These should rather be avoided, but this is the easiest fix for now (and it's not the only ones).
-
-
Stefan Behnel authored
-
0dminnimda authored
Turn the redeclaration of attributes as C methods into an error since it currently leads to difficult to predict behaviour. (#4661)
-
Stefan Behnel authored
-
- 24 Feb, 2022 5 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
Remove Stackless hack for looking up "PyFrameObject.f_localsplus" from Stackless 3.8 on. CPython never needed this. Closes https://github.com/cython/cython/issues/4329
-
-
-