PythonFMU icon indicating copy to clipboard operation
PythonFMU copied to clipboard

Py_SetProgramName is deprecated

Open jschueller opened this issue 2 years ago • 0 comments

from pythonfmu-export/src/pythonfmu/PyState.hpp:

 warning: 'void Py_SetProgramName(const wchar_t*)' is deprecated [-Wdeprecated-declarations]

this can be set via PyConfig now (https://docs.python.org/3/c-api/init_config.html#init-config) but this is not available as pythonfmu uses the stable ABI

maybe it could be removed completely, or enabled only if the stable ABI is disabled

jschueller avatar Nov 04 '23 13:11 jschueller