mirror of
https://github.com/python/cpython.git
synced 2025-07-30 06:34:15 +00:00
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.
This commit is contained in:
parent
e7901c5ebb
commit
08a8fb30b6
2 changed files with 7 additions and 0 deletions
|
@ -434,6 +434,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__(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue