- 13 May, 2022 1 commit
-
-
Stefan Behnel authored
-
- 03 May, 2022 4 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Oleksandr Pavlyk authored
Closes https://github.com/cython/cython/issues/4637 See See https://github.com/cython/cython/issues/3556 * 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. See https://github.com/cython/cython/issues/3554 * Make the GIL-avoidance in 7d99b0f0 actually work in nogil functions and not just nogil sections. See https://github.com/cython/cython/issues/3558
-
da-woods authored
This means that reverse operators (e.g. `__radd__`) won't be hidden by the automatic wrapper that `PyType_Ready()` produces if the forward method exists. Although they won't work as in Python, they will be possible to look up and call explicitly. This should make it easier to write code that's compatible with Cython 0.29.x and Cython 3 (where reverse operators will be full supported). Closes https://github.com/cython/cython/issues/4750
-
- 21 Apr, 2022 1 commit
-
-
Stefan Behnel authored
-
- 18 Apr, 2022 1 commit
-
-
da-woods authored
Fixes a bug introduced by https://github.com/cython/cython/commit/ae4ade8daeae206db68583f2f4b9c1cbce9cba75 for PyPy.
-
- 16 Apr, 2022 1 commit
-
-
scoder authored
PR 4703 was an incomplete backport of the changes needed for #3554 and generates incorrect C code. See https://github.com/cython/cython/issues/3554 Reverts https://github.com/cython/cython/pull/4703 This reverts commit d395a56f.
-
- 15 Apr, 2022 1 commit
-
-
da-woods authored
It causes issues while profiling or debugging where global variables can end up inadvertently changed. Fixes https://github.com/cython/cython/issues/4609
-
- 12 Apr, 2022 3 commits
-
-
da-woods authored
-
Jordan Brière authored
The condition should only evaluate to True when assigning __dict__, but it currently does for _, d, i, etc. as well as resulting in the following potential issues: * Non-member are being assigned to the object instead of raising. * The one-field rule can be bypassed. * Valid members that pass the condition are being assigned raw and are never cast to the specified type.
-
da-woods authored
The presence of this generic special method should not prevent Cython from making a class pickleable. Fixes https://github.com/cython/cython/issues/4730
-
- 07 Apr, 2022 3 commits
-
-
Jakub Kulík authored
Closes https://github.com/cython/cython/issues/4722
-
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
-
- 01 Apr, 2022 1 commit
-
-
Matti Picus authored
-
- 31 Mar, 2022 1 commit
-
-
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
-
- 21 Mar, 2022 1 commit
-
-
Yuriy Chernyshov authored
Unconditionally adding `/D_USE_MATH_DEFINES` via cmdline triggers `-Wmacro-redefined` in cython-generated code.
-
- 14 Mar, 2022 4 commits
-
-
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
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
-
- 12 Mar, 2022 2 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
-
- 24 Feb, 2022 2 commits
-
-
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.
-
- 19 Feb, 2022 1 commit
-
-
Stefan Behnel authored
-
- 16 Feb, 2022 9 commits
-
-
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
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
- 04 Feb, 2022 1 commit
-
-
Matti Picus authored
Partially reverts https://github.com/cython/cython/commit/1027db04fb7c5bbfea2b9bcdfce0b1f384e26a93
-
- 02 Feb, 2022 1 commit
-
-
da-woods authored
By disabling "CYTHON_FAST_THREAD_STATE" and "CYTHON_USE_EXC_INFO_STACK" I think this still leaves some breakage in Coroutines.c but it's enough of a fix that Cython succeeds in building itself. Therefore I think it's worth doing now even if it doesn't fix everything. Related to https://github.com/cython/cython/issues/4500
-
- 28 Jan, 2022 2 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-