[PATCH v3] Handle Python 3.11 deprecation of PySys_SetPath and Py_SetProgramName

Tom Tromey tom@tromey.com
Mon Jul 18 15:28:36 GMT 2022


>>>>> "Kevin" == Kevin Buettner via Gdb-patches <gdb-patches@sourceware.org> writes:

Kevin> A beta version of Python 3.11 is available in Fedora Rawhide.  Both
Kevin> Fedora 35 and Fedora 36 use Python 3.10, while Fedora 34 still used
Kevin> Python 3.9.  I've tested these changes on Fedora 34, Fedora 36, and
Kevin> rawhide, though complete testing was not possible on rawhide due to
Kevin> a kernel bug.  That being the case, I decided to enable the newer
Kevin> PyConfig API by testing PY_VERSION_HEX against 0x030a0000.  This
Kevin> corresponds to Python 3.10.

This looks good to me.  Thank you.

Tom


More information about the Gdb-patches mailing list