- 14 Mar, 2022 3 commits
-
-
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 8 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
-
-
-
Stefan Behnel authored
-
da-woods authored
This creates two copies of the function, one for the exception case and one for the non-exception case. It's probably inefficient but the simplest solution. Fixes https://github.com/cython/cython/issues/4651.
-
da-woods authored
This creates two copies of the function, one for the exception case and one for the non-exception case. It's probably inefficient but the simplest solution. Fixes https://github.com/cython/cython/issues/4651.
-
- 23 Feb, 2022 2 commits
-
-
Matus Valo authored
-
Stefan Behnel authored
Closes https://github.com/cython/cython/issues/4655
-
- 22 Feb, 2022 1 commit
-
-
Stefan Behnel authored
Add a "minimal compile" build mode that speeds up the compiler somewhat but keeps the number of compiled modules low.
-
- 19 Feb, 2022 4 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
- 16 Feb, 2022 6 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
runtests: Print shard number also for each command in the EndToEnd test error output to make it easy to find in the logs.
-
Stefan Behnel authored
-
Stefan Behnel authored
runtests: print the shard number in front of the test name to show which was the last test in case it hangs.
-
Stefan Behnel authored
-