Projects
home:Eustace:branches:Eulaceura:Factory
trace-cmd
_service:obs_scm:0001-python313.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:0001-python313.patch of Package trace-cmd
From 2ba15130fae66e19d4d75ab28ef448b0206235c4 Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz <yselkowi@redhat.com> Date: Sun, 23 Jun 2024 13:04:28 -0400 Subject: [PATCH] trace-cmd library: fix compatibility with Python 3.13 PyEval_CallObject was deprecated in Python 3.9 and removed from 3.13. Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com> --- python/ctracecmd.i | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/ctracecmd.i b/python/ctracecmd.i index 6d0179e3..8757cbe4 100644 --- a/python/ctracecmd.i +++ b/python/ctracecmd.i @@ -214,7 +214,7 @@ static int python_callback(struct trace_seq *s, SWIG_NewPointerObj(SWIG_as_voidptr(event), SWIGTYPE_p_tep_event, 0)); - result = PyEval_CallObject(context, arglist); + result = PyObject_CallObject(context, arglist); Py_XDECREF(arglist); if (result && result != Py_None) { if (!PyInt_Check(result)) { -- 2.45.2
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2