Benjamin Peterson <> added the comment:

I don't think -E is a security feature. Even if the stdlib was fixed, there's 
tons of 3rdparty Python code that consumes os.environ.

It seems like if you really cared about not letting the environment influence a 
Python application, you'd just wrap python in a script that cleans out the 
environment before execing.


Python tracker <>
Python-bugs-list mailing list

Reply via email to