--- Modules/posixmodule.c +++ Modules/posixmodule.c @@ -392,6 +392,8 @@ char *p = strchr(*e, '='); if (p == NULL) continue; + if (strncmp("GENTOO_PYTHON_WRAPPER_SCRIPT_PATH", *e, (int)(p-*e)) == 0) + continue; k = PyString_FromStringAndSize(*e, (int)(p-*e)); if (k == NULL) { PyErr_Clear();