diff options
author | Barry Warsaw <barry@python.org> | 2010-03-01 21:56:18 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 2010-03-01 21:56:18 (GMT) |
commit | 0712921ef993159a0e37cf986843a91833073ca5 (patch) | |
tree | e5ffa730f370fab3259fcafdd7a057a6e4551a2a /Lib | |
parent | 6fa06d42f3bc0f5a99be1b428652f8ddb7203f2d (diff) | |
download | cpython-0712921ef993159a0e37cf986843a91833073ca5.zip cpython-0712921ef993159a0e37cf986843a91833073ca5.tar.gz cpython-0712921ef993159a0e37cf986843a91833073ca5.tar.bz2 |
Manually copy patch for bug 7250 from the release26-maint branch. I suck
because I did this in the wrong order and couldn't smack svnmerge into
submission.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/wsgiref/handlers.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/wsgiref/handlers.py b/Lib/wsgiref/handlers.py index e082823..8a78eec 100644 --- a/Lib/wsgiref/handlers.py +++ b/Lib/wsgiref/handlers.py @@ -465,6 +465,10 @@ class CGIHandler(BaseCGIHandler): """ 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__( |