Request to backport Fix for Swig when used with python 3.8+ https://github.com/swig/swig/pull/1587/files

Bug #1966617 reported by theofficialgman
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
swig (Ubuntu)
New
Undecided
Unassigned

Bug Description

https://github.com/swig/swig/pull/1587/files

this is a simple change to the swig source that fixed autogenerated files when used with python3.8.
Ubuntu bionic has python 3.8 (in addition to 3.6 and 3.8) and causes errors when swig with it installed.

The PyObject_GC_UnTrack macro got deprecated in 3.6 and finally removed in 3.8. Thus for all python versions >= 3.6 instead used PyObject_GC_UnTrack.

https://github.com/swig/swig/commit/db9822788e183b79457d6bedab8b9a5cabb4cd5e.patch

Revision history for this message
theofficialgman (theofficialgman) wrote :

can we get this backported to swig for bionic? should be as simple as adding the patchfile I linked above

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.