- 15 Apr, 2022 5 commits
-
-
Max Bachmann authored
-
Stefan Behnel authored
-
Stefan Behnel authored
Use "\x20" instead of a plain space at the end of a doctest output line to make it easier to edit. Some editors strip off trailing whitespace.
-
Stefan Behnel authored
-
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 5 commits
-
-
Stefan Behnel authored
-
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.
-
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
-
- 10 Apr, 2022 2 commits
-
-
da-woods authored
-
da-woods authored
Closes https://github.com/cython/cython/issues/4704
-
- 07 Apr, 2022 6 commits
-
-
Stefan Behnel authored
-
Jakub Kulík authored
Closes https://github.com/cython/cython/issues/4722
-
Jakub Kulík authored
Closes https://github.com/cython/cython/issues/4722
-
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 4 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).
-