Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:mcalabkova:branches:devel:languages:python
python-Cython0
profile.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File profile.patch of Package python-Cython0
From 07ca13a737b821caa3294a2a272483b821ef1239 Mon Sep 17 00:00:00 2001 From: tvalentyn <tvalentyn@users.noreply.github.com> Date: Wed, 3 Jul 2024 11:19:24 -0700 Subject: [PATCH] Ignore the profile directive on 3.12 and above. (#6125) --- Cython/Utility/Profile.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Cython/Utility/Profile.c b/Cython/Utility/Profile.c index a0ab1fa989b..b50b9182b8a 100644 --- a/Cython/Utility/Profile.c +++ b/Cython/Utility/Profile.c @@ -6,7 +6,8 @@ // but maybe some other profilers don't. #ifndef CYTHON_PROFILE -#if CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_PYSTON +#if CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_PYSTON || PY_VERSION_HEX >= 0x030c0000 + // Note: profiling doesn't work on CPython 3.12 and above: https://github.com/cython/cython/issues/5470 #define CYTHON_PROFILE 0 #else #define CYTHON_PROFILE 1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor