Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:wolfi323:branches:KDE:Frameworks5
python-qt4
python311_frame.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python311_frame.patch of Package python-qt4
diff --git a/qpy/QtCore/qpycore_classinfo.cpp b/qpy/QtCore/qpycore_classinfo.cpp --- a/qpy/QtCore/qpycore_classinfo.cpp +++ b/qpy/QtCore/qpycore_classinfo.cpp @@ -36,7 +36,11 @@ PyObject *qpycore_ClassInfo(const char *name, const char *value) // We need the frame we were called from, not the current one. if (frame) +#if PY_VERSION_HEX >= 0x03090000 + frame = PyFrame_GetBack(frame); +#else frame = frame->f_back; +#endif if (!frame) {
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