Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Py_SetProgramName is deprecated #186

Open
jschueller opened this issue Nov 4, 2023 · 0 comments
Open

Py_SetProgramName is deprecated #186

jschueller opened this issue Nov 4, 2023 · 0 comments

Comments

@jschueller
Copy link
Contributor

jschueller commented Nov 4, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant