]> git.neil.brown.name Git - edlib.git/commit
lang-python: update initialisation.
authorNeilBrown <neil@brown.name>
Mon, 24 Apr 2023 23:44:59 +0000 (09:44 +1000)
committerNeilBrown <neil@brown.name>
Mon, 24 Apr 2023 23:44:59 +0000 (09:44 +1000)
commit53da419fb0b619ae63e568320367ee0bccff85f8
treec5e935afe0c60e492e99b232d3ebcc107733ca0d
parentc31c2241b7feb324f33d4a210e72d90536f655e5
lang-python: update initialisation.

Py_SetProgramName and PySys_SetArgv are deprecated, so use
PyConfig to avoid warnings.
Also enable "isolated" initialisation to see if it is a bad idea or not.

Signed-off-by: NeilBrown <neil@brown.name>
lang-python.c