Skip to content

Replace removed Python 2 C API macros for SWIG 4.5.0 compatibility - #2391

Open
Mab879 wants to merge 1 commit into
OpenSCAP:mainfrom
Mab879:backport_python2_patch
Open

Replace removed Python 2 C API macros for SWIG 4.5.0 compatibility#2391
Mab879 wants to merge 1 commit into
OpenSCAP:mainfrom
Mab879:backport_python2_patch

Conversation

@Mab879

@Mab879 Mab879 commented Jul 28, 2026

Copy link
Copy Markdown
Member

@Mab879 Mab879 added this to the 1.4.5 milestone Jul 28, 2026
@sonarqubecloud

Copy link
Copy Markdown

@jan-cerny jan-cerny self-assigned this Aug 10, 2026
Comment thread swig/openscap.i
Comment on lines +51 to +52
else if (PyLong_Check($input))
$1 = (time_t) PyLong_AsLong($input);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the same as the previous branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants