Merge with 012451a812f1abd21e7e30f887f8f2ba90f58b4b
"""Code used in a couple of places to work with the current thread's environment.Current users include i18n and request prefix handling."""try:importthreadingcurrentThread=threading.currentThreadexceptImportError:defcurrentThread():return"no threading"