You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the 3.13 Python/C API Reference Manual, page "Initialization, Finalization, and Threads", Py_GetProgramName() and several other C functions are declared deprecated. To replace them, it is suggested "Get sys.executable instead".
As maintainer of a C program, I find this not helpful. I would need a drop-in replacement in C, not a reference to a Python variable.