Use new Python initialization method

Review Request #2084 — Created Nov. 24, 2022 and submitted

Information

gplugin/gplugin
default

Reviewers

This uses the initialization from Python 3.8
where available, which also fixes a deprecation warning on Python 3.11 for PySys_SetArgvEx.

Compiled against Python 3.11; didn't test older versions.

Summary ID
Use new Python initialization method
This uses the [initialization from Python 3.8](https://docs.python.org/3/c-api/init_config.html#c.PyConfig.isolated) where available, which also fixes a deprecation warning on Python 3.11.
0f691fe9b5e56afe3d296135f10a3a63251748c2
grim
  1. Ship It!
  2. Awesome work, thanks!!

  3. 
      
grim
Review request changed

Status: Closed (submitted)

Loading...