gplugin/gplugin

Remove checks for older Python.
develop
2020-02-29, Elliott Sales de Andrade
85bc6daff3e0
Parents cf1a96d3af76
Children 3a65d183e19f
Remove checks for older Python.

The minimum is 3.5 now.
--- a/python/gplugin-python3-test-pygobject.c Sat Feb 29 03:15:40 2020 -0500
+++ b/python/gplugin-python3-test-pygobject.c Sat Feb 29 03:26:37 2020 -0500
@@ -45,12 +45,7 @@
}
/* setup sys.path */
-#if PY_VERSION_HEX < 0x03010300
- PySys_SetArgv(1, wargv);
- PyRun_SimpleString("import sys; sys.path.pop(0)\n");
-#else
PySys_SetArgvEx(1, wargv, 0);
-#endif
g_free(wargv[0]);