diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2020-01-03 12:10:57 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2020-01-04 00:25:07 -0500 |
commit | a54a0c6ec7aae89003cbb47c79a1850248f57a29 (patch) | |
tree | 19bcbea915d628ad22ba76f1e1b9d3d703f5c079 /lib/sqlalchemy/sql/functions.py | |
parent | 5881fd274015af3de37f2ff0f91ff6a7c61c1540 (diff) | |
download | sqlalchemy-a54a0c6ec7aae89003cbb47c79a1850248f57a29.tar.gz |
Fix cext for Python 2; ensure C extensions build successfully
The C extensions have been broken since cc718cccc0bf8a01abdf4068c
however CI did not find this, because the build degraded to
non-C extensions without failing. Ensure that if cext is set,
there is no fallback to non-cext build if the C extension build
fails.
Repair C related issues introduced in cc718cccc0bf8a01abdf4068c.
As C extensions have been silently failing on 2.7 for some commits,
the callcounts also needed to be adjusted for recent performance-related
changes. That in turn required a fix to the profiling decorator
to use signature rewriting in order to support py.test's
fixture mechanism under Python 2, usage introduced under profiling
in 89bf6d80a9.
Fixes: #5076
Change-Id: Id968f10c85d6bf489298b1c318a1f869ad3e7d80
Diffstat (limited to 'lib/sqlalchemy/sql/functions.py')
0 files changed, 0 insertions, 0 deletions