Skip to content

Merge from origin#4

Merged
KmolYuan merged 699 commits intoKmolYuan:masterfrom
cython:master
Aug 4, 2020
Merged

Merge from origin#4
KmolYuan merged 699 commits intoKmolYuan:masterfrom
cython:master

Conversation

@KmolYuan
Copy link
Owner

@KmolYuan KmolYuan commented Aug 4, 2020

No description provided.

gsnedders and others added 30 commits May 18, 2020 20:50
* Fix #3588: Make existing overflow code safe

Signed overflow is undefined behaviour in C and compilers can and do optimized on that basis.

* Speed up our overflow impls

Note this is primarily based on performance of compilers which do not
support __builtin_add_overflow (i.e., not Clang >= 3.4 & gcc >= 5),
mostly looking at several gcc 4 releases (used by older, supported,
RHEL releases and Debian 8 "Jessie") and MSVC.

* Use __builtin_XXX_overflow if available

This is much quicker in general, as these all just then read the overflow flag from the status register.
When test_assert_path_exists or test_fail_if_path_exists
was used on a function containing a CompilerDirectivesNode
it was inherited by that CompilerDirectivesNode. Therefore
you got misleading test failures if the path was in the
function but not within that CompilerDirectivesNode.
…, etc.) are now prefixed with the shared module name, instead of making them look like homeless builtins.

See https://bugs.python.org/issue20204
See python/cpython@490055a
…he same time since checking for PyCFunction became more costly in Py3.9.
scoder and others added 29 commits July 26, 2020 00:32
… fallback. "int" seems overly lazy if it tends to be larger on many systems.
…numpy.pxd that is incompatible with Cython 3.0.
@KmolYuan KmolYuan merged commit 7e98a16 into KmolYuan:master Aug 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.