[Bug 292105] lang/python313 as default python

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 18 Jul 2026 10:52:49 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292105

--- Comment #9 from Matthias Andree <mandree@FreeBSD.org> ---
Generally if the 3.13+ "regression" in users looks like _Py_IsFinalizing no
longer available, that's treated here:

https://github.com/python/cpython/issues/108014
https://github.com/python/pythoncapi-compat/blob/main/pythoncapi_compat.h#L864

The pythoncapi-compat library (just cut off the link before "blob") would allow
applications to use the new function and this library can be used for older
Python versions.

Specifically, all LLVM <= 17 builds that failed were tripped up by Python 3.13
renaming said symbol, and superficially seem to fail to build LLDB.  So if
disabling lldb in older LLVM builds suffices to fix things for newer Python,
that might be an alternative simpler fix.  (My asking to clean out old LLVM
notwithstanding.)

-- 
You are receiving this mail because:
You are the assignee for the bug.