Apply the change suggested by PJE for issue 7250. Unfortunately, we couldn't
come up with a unit test. :(
diff --git a/Lib/wsgiref/handlers.py b/Lib/wsgiref/handlers.py
index 173e34c..5cfc28a 100644
--- a/Lib/wsgiref/handlers.py
+++ b/Lib/wsgiref/handlers.py
@@ -468,6 +468,10 @@
"""
wsgi_run_once = True
+ # Do not allow os.environ to leak between requests in Google App Engine
+ # and other multi-run CGI use cases. This is not easily testable.
+ # See http://bugs.python.org/issue7250
+ os_environ = {}
def __init__(self):
BaseCGIHandler.__init__(