summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorda-woods <dw-git@d-woods.co.uk>2022-10-09 22:16:01 +0100
committerda-woods <dw-git@d-woods.co.uk>2022-10-09 22:16:01 +0100
commitbcafbfb19093da9068dc854c2df3897f72902770 (patch)
treeb0c48706c0023261e0bc9dad27941c25687af4c4
parent3a063cb43a94786261032266fb02c7234a7c2c07 (diff)
downloadcython-bcafbfb19093da9068dc854c2df3897f72902770.tar.gz
Revert "Fix PYPY_VERSION_HEX/PYPY_VERSION_NUM typo (#5074)"
This reverts commit 3a063cb43a94786261032266fb02c7234a7c2c07. At least on master it was causing segmentation faults on PyPy3
-rw-r--r--Cython/Utility/ModuleSetupCode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Cython/Utility/ModuleSetupCode.c b/Cython/Utility/ModuleSetupCode.c
index 8471bf692..f8bf885bc 100644
--- a/Cython/Utility/ModuleSetupCode.c
+++ b/Cython/Utility/ModuleSetupCode.c
@@ -85,7 +85,7 @@
#undef CYTHON_USE_EXC_INFO_STACK
#define CYTHON_USE_EXC_INFO_STACK 0
#ifndef CYTHON_UPDATE_DESCRIPTOR_DOC
- #define CYTHON_UPDATE_DESCRIPTOR_DOC (PYPY_VERSION_NUM >= 0x07030900)
+ #define CYTHON_UPDATE_DESCRIPTOR_DOC (PYPY_VERSION_HEX >= 0x07030900)
#endif
#elif defined(PYSTON_VERSION)