hi alex! you're right to be cautious, but happily, requests are not
handled by different threads. our python interpreters are single
threaded, and handle only a single request at a time. more:

http://code.google.com/appengine/docs/python/sandbox.html
http://groups.google.com/group/google-appengine/browse_thread/thread/3f8cfeaf7dc2eb72/7a5918d69158ae1b?#7a5918d69158ae1b

given that, you don't need to worry about concurrent accesses to the
query global variable, so this should be safe. even better, fetch() re-
runs the query from the beginning, so if the parameters are the same
across requests, you don't even need to bind() each time.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to