When I\'m running Jinja2 in Google App Engine, I get useless debugging information. I gather this is because of this item in the FAQ:
My tracebacks l
A way to avoid monkey-patching (which depends on the changing internals of the SDK) is to use the imp module, which is at least currently not disabled in the local development environment. Then just load _ctypes like this to enable better Jinja2 debugging:
import imp
file, pathname, description = imp.find_module('_ctypes')
imp.load_module('_ctypes', file, pathname, description)