- 07 Apr, 2022 3 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
Disable "CYTHON_UPDATE_DESCRIPTOR_DOC" for Pyston. It was previously only enabled for CPython and should only have been enabled additionally for recent PyPy versions.
-
Stefan Behnel authored
Stop using "PyBytesObject.ob_shash" in Py3.11, where it is deprecated. It was just an optimisation that isn't very important for byte strings any more. Closes https://github.com/cython/cython/issues/4721
-
- 06 Apr, 2022 1 commit
-
-
Matus Valo authored
-
- 05 Apr, 2022 1 commit
-
-
Robert Bradshaw authored
Add exception handling for `libcpp::stack::push`
-
- 01 Apr, 2022 5 commits
-
-
Matti Picus authored
-
Matti Picus authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Julien Jerphanion authored
-
- 31 Mar, 2022 3 commits
-
-
da-woods authored
Since cimporting directly from "cpython" has long been deprecated. e.g. https://github.com/cython/cython/issues/4707
-
Oleksandr Pavlyk authored
Acquire the GIL in nogil functions only when strictly needed on function exit, e.g. for cleaning up temp variables from with-gil blocks or adding tracebacks. Closes GH-3554 Closes GH-4637
-
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 1 commit
-
-
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.
-