Open
Description
Bug report
Bug description:
freeze, i.e., makefreeze.py uses a dreprecated syntax using Py_OptimizeFlag++;
instead of newer PyConfig
syntax. The C compiler throws a warning for that.
As a bold guess to fix this, the in Python embedded C code may, e.g., be updated to somthing like the following:
// Py_OptimizeFlag++;
PyConfig config;
PyConfig_InitPythonConfig(&config);
config.optimization_level++;
Py_InitializeFromConfig(&config);
PyConfig_Clear(&config);
Thanks,
Chris
CPython versions tested on:
3.12
Operating systems tested on:
Linux