The top answer in this SO thread suggests that os.environ should be 
generally avoided because it's not threadsafe in the threadsafe: truePython 2.7 
environment.

  
http://stackoverflow.com/questions/5901653/name-of-current-app-in-google-app-engine-python
  

I'm dubious because the WSGI spec explicitly uses os.environ to construct 
its request objects, etc.

Can anyone confirm/deny the safety of using os.environ in a threadsafe: 
truedeployment?

Thanks,
j

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/7e93orXT8mcJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to