STINNER Victor <vstin...@python.org> added the comment:

Clearing environment variables at exit has a drawback: it changes the behavior 
in code executed after Python finalization (Py_FinalizeEx() call). It may cause 
regression.

So I proposed PR 18135 to fix this issue differently: on non-Windows platforms, 
Python now requires setenv() to build. This PR has no backward compatibility 
issue: it doesn't unset environment variables at exit.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue39395>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to